diff --git a/en/gnome/docs/example-Makefile.sgml b/en/gnome/docs/example-Makefile.sgml index 6588c51fe1..fdb2068e26 100644 --- a/en/gnome/docs/example-Makefile.sgml +++ b/en/gnome/docs/example-Makefile.sgml @@ -1,68 +1,68 @@ - + %gnomeincludes; %includes; ]> &header;

The following is an example Makefile for a FreeBSD GNOME port.

 # New ports collection makefile for:	gnomeapp
 # Date created:						27 December 2003
 # Whom:								Some GNOME User <&email;@FreeBSD.org>
 #
-# $FreeBSD$
+# $FreeBSD: www/en/gnome/docs/example-Makefile.sgml,v 1.1 2003/12/28 03:06:00 adamw Exp $
 #
 
-# For this example assume there was already a gnomeapp in the tree, and this
+# For this example, assume there was already a gnomeapp in the tree, and that this
 # is the GTK+-2 version (i.e. gnomeapp2 versus gnomeapp).
 PORTNAME=		gnomeapp2
 PORTVERSION=	&gnomever;.2
 MASTER_SITES=	${MASTER_SITE_GNOME}
 MASTER_SITE_SUBDIR=	sources/${PORTNAME:S/2//}/&gnomever;
 DISTNAME=		${PORTNAME:S/2//}-${PORTVERSION}
 DIST_SUBDIR=	gnome2
 
-MAINTAINER=		&email;@FreeBSD.org
+MAINTAINER=		gnome@FreeBSD.org
 COMMENT=		A GNOME app that does some stuff
 
 USE_BZIP2=		yes
 USE_X_PREFIX=	yes
 GNU_CONFIGURE=	yes	# most GNOME apps need GNU configure
 USE_GMAKE=		yes # same with GNU make
 # This is for i18n:
 CONFIGURE_ENV+=	CPPFLAGS="-I${LOCALBASE}/include" \
-				LIBS="-L${LOCALBASE}/lib"
-USE_GNOME=		gnomehack gnomeprefix gnometarget lthack gtk20
+				LDFLAGS="-L${LOCALBASE}/lib"
+USE_GNOME=		gnomehack gnometarget lthack 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
 # libraries are not installed, so only build GNOME panel support
 # if the gnomepanel port is already installed.
 WANT_GNOME=		yes
 
 .include <bsd.port.pre.mk>
 
 .if ${HAVE_GNOME:Mgnomepanel}!=""
-	USE_GNOME+= 		gnomepanel
-	CONFIGURE_ARGS+=    --with-gnome
-	PKGNAMESUFFIX=  	-gnome
+USE_GNOME+= 		gnomepanel
+CONFIGURE_ARGS+=    --with-gnome
+PKGNAMESUFFIX=  	-gnome
 .else
-	CONFIGURE_ARGS+=    --without-gnome
+CONFIGURE_ARGS+=    --without-gnome
 .endif
 
-.include <bsd.port.post.mk>
-
 # Given all the above code, the package name is either "gnomeapp2-&gnomever;.2-gnome" or
 # "gnomeapp2-&gnomever;.2", depending upon whether you want gnomepanel support. The downloaded
 # distfile will be "gnomeapp-&gnomever;.2.tar.bz2."
+
+.include <bsd.port.post.mk>
 	
&footer;