diff options
author | Jeremy Lea <reg@FreeBSD.org> | 2000-10-05 07:22:56 +0000 |
---|---|---|
committer | Jeremy Lea <reg@FreeBSD.org> | 2000-10-05 07:22:56 +0000 |
commit | 7b4c77811e89d7fc1131ca6e63df3e719bc86b1d (patch) | |
tree | 9695733a1620c4c290c86f161a4f1b73160ed39a /deskutils/gaddr | |
parent | c76cf46929051f9dd322487d888c82f104026e6d (diff) | |
download | ports-7b4c77811e89d7fc1131ca6e63df3e719bc86b1d.tar.gz ports-7b4c77811e89d7fc1131ca6e63df3e719bc86b1d.zip |
Implement WANT_GNOME.
Notes
Notes:
svn path=/head/; revision=33430
Diffstat (limited to 'deskutils/gaddr')
-rw-r--r-- | deskutils/gaddr/Makefile | 21 | ||||
-rw-r--r-- | deskutils/gaddr/files/patch-ab | 2 |
2 files changed, 8 insertions, 15 deletions
diff --git a/deskutils/gaddr/Makefile b/deskutils/gaddr/Makefile index 2c0936558c3a..de9ff23b536d 100644 --- a/deskutils/gaddr/Makefile +++ b/deskutils/gaddr/Makefile @@ -12,23 +12,16 @@ MASTER_SITES= http://www.cse.unl.edu/~cluening/gaddr/ MAINTAINER= jim@FreeBSD.org -LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12 -.if defined(WITH_GNOME) -LIB_DEPENDS+= gnome.4:${PORTSDIR}/x11/gnomelibs -.endif - -GTK_CONFIG?= ${X11BASE}/bin/gtk12-config - USE_X_PREFIX= yes +USE_GTK= yes +WANT_GNOME= yes GNU_CONFIGURE= yes -.if defined(WITH_GNOME) +.include <bsd.port.pre.mk> + +.if defined(HAVE_GNOME) +USE_GNOME= yes CONFIGURE_ARGS+= --enable-gnome .endif -CONFIGURE_ENV= GTK_CONFIG="${GTK_CONFIG}" - -post-install: - @strip ${PREFIX}/bin/gaddr - -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/deskutils/gaddr/files/patch-ab b/deskutils/gaddr/files/patch-ab index 8b93f7a6682a..2bc163d926bf 100644 --- a/deskutils/gaddr/files/patch-ab +++ b/deskutils/gaddr/files/patch-ab @@ -14,4 +14,4 @@ install: gaddr - cp gaddr /usr/X11R6/bin/gaddr -+ @/usr/bin/install -c -o 0 -g 0 -s -m 755 gaddr ${PREFIX}/bin ++ ${BSD_INSTALL_PROGRAM} gaddr ${PREFIX}/bin |