Date: Fri, 18 Jun 2004 03:00:47 GMT From: Sam Lawrance <boris@brooknet.com.au> To: freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/68052: [NEW PORT] graphics/jumpgis: A GUI based application for viewing and processing spatial data Message-ID: <200406180300.i5I30lNN032398@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/68052; it has been noted by GNATS. From: Sam Lawrance <boris@brooknet.com.au> To: FreeBSD-gnats-submit@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org Cc: Subject: Re: ports/68052: [NEW PORT] graphics/jumpgis: A GUI based application for viewing and processing spatial data Date: Fri, 18 Jun 2004 12:56:52 +1000 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 +@cwd %%X11BASE%% +%%GNOMELINKS%%share/gnome/applications/jump.desktop +%%GNOMELINKS%%share/gnome/pixmaps/jump.png
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200406180300.i5I30lNN032398>