Update with slightly more current code examples. The way things are going

right now, a sample pkg-plist might be just as informative.
This commit is contained in:
Adam Weinberger 2004-08-25 03:34:54 +00:00
parent 165b71a65c
commit df1fbfa626
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/www/; revision=22094

View file

@ -1,6 +1,6 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" [
<!ENTITY base CDATA "../..">
<!ENTITY date "$FreeBSD: www/en/gnome/docs/example-Makefile.sgml,v 1.3 2003/12/28 05:18:45 adamw Exp $">
<!ENTITY date "$FreeBSD: www/en/gnome/docs/example-Makefile.sgml,v 1.4 2004/05/22 21:46:14 pav Exp $">
<!ENTITY title "FreeBSD GNOME Project: Example GNOME Makefile">
<!ENTITY % gnomeincludes SYSTEM "../includes.sgml"> %gnomeincludes;
<!ENTITY % includes SYSTEM "../../includes.sgml"> %includes;
@ -16,7 +16,7 @@
# Date created: 27 December 2003
# Whom: Some GNOME User &lt;&email;@FreeBSD.org&gt;
#
# $FreeBSD: www/en/gnome/docs/example-Makefile.sgml,v 1.3 2003/12/28 05:18:45 adamw Exp $
# $FreeBSD: www/en/gnome/docs/example-Makefile.sgml,v 1.4 2004/05/22 21:46:14 pav Exp $
#
# For this example, assume there was already a gnomeapp in the tree, and that this
@ -25,20 +25,20 @@ PORTNAME= gnomeapp2
PORTVERSION= &gnomever;.2
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/${PORTNAME:S/2//}/&gnomever;
DISTNAME= ${PORTNAME:S/2//}-${PORTVERSION}
DISTNAME= ${PORTNAME:S/2//}-${PORTVERSION}
DIST_SUBDIR= gnome2
MAINTAINER= gnome@FreeBSD.org
COMMENT= A GNOME app that does some stuff
MAINTAINER= gnome@FreeBSD.org
COMMENT= A GNOME app that does some stuff
USE_BZIP2= yes
USE_BZIP2= yes
USE_X_PREFIX= yes
USE_LIBTOOL_VER= 13 # many GNOME apps need libtool, and most need GNU configure
USE_LIBTOOL_VER=15 # many GNOME apps need libtool, and most need GNU configure
USE_GMAKE= yes # same with GNU make
# This is for i18n:
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
USE_GNOME= gnomehack gnometarget lthack gtk20
USE_GNOME= gnomehack gnometarget gtk20
# This application can dock in the GNOME panel, or it can not.
# But there's no need to build support for it if the GNOME panel