ports/68052: [NEW PORT] graphics/jumpgis: A GUI based application for viewing and processing spatial data

Sam Lawrance boris at brooknet.com.au
Fri Jun 18 02:56:44 UTC 2004


After a question to ports@ I am told that this is the preferred way of
altering the plist conditionally (also adds USE_REINPLACE):

--- Makefile.old	Fri Jun 18 12:50:43 2004
+++ Makefile	Fri Jun 18 12:45:04 2004
@@ -21,6 +21,7 @@
 TARGET_DIR=	${PREFIX}/${PORTNAME}
 USE_JAVA=	1.4+
 USE_ZIP=	yes
+USE_REINPLACE=	yes
 NO_BUILD=	yes
 WANT_GNOME=	yes
 PORTDOCS=	*
@@ -28,11 +29,9 @@
 .include <bsd.port.pre.mk>
 
 .if ${HAVE_GNOME:Mgnomelibs}!=""
-PLIST_SUB+=	PREFIX=${PREFIX}
-PLIST_FILES+=	"@cwd %%X11BASE%%" \
-		share/gnome/applications/jump.desktop \
-		share/gnome/pixmaps/jump.png \
-		"@cwd %%PREFIX%%"
+PLIST_SUB+=	GNOMELINKS=""
+.else
+PLIST_SUB+=	GNOMELINKS="@comment "
 .endif
 
 do-extract:
--- pkg-plist.old	Fri Jun 18 12:50:43 2004
+++ pkg-plist	Fri Jun 18 12:37:24 2004
@@ -9,3 +9,6 @@
 @dirrm jumpgis/lib/ext
 @dirrm jumpgis/lib
 @dirrm jumpgis
+ at cwd %%X11BASE%%
+%%GNOMELINKS%%share/gnome/applications/jump.desktop
+%%GNOMELINKS%%share/gnome/pixmaps/jump.png




More information about the freebsd-ports-bugs mailing list