Date: Fri, 18 Jun 2004 12:56:52 +1000 From: Sam Lawrance <boris@brooknet.com.au> To: FreeBSD-gnats-submit@FreeBSD.org, 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: <1087527412.905.14.camel@dirk> In-Reply-To: <200406171630.i5HGUZp2019419@freefall.freebsd.org> References: <200406171630.i5HGUZp2019419@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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?1087527412.905.14.camel>