summaryrefslogtreecommitdiffstats
path: root/deskutils/gaddr
diff options
context:
space:
mode:
authorreg <reg@FreeBSD.org>2000-10-05 07:22:56 +0000
committerreg <reg@FreeBSD.org>2000-10-05 07:22:56 +0000
commit05b7017f031a0b7ec77897d1ff4479959829076e (patch)
tree26ae85d09c84baa372a2949e4ad9d1546c408c7e /deskutils/gaddr
parent68dad4980b984b6c03859651af5eefb37c1c9d90 (diff)
downloadFreeBSD-ports-05b7017f031a0b7ec77897d1ff4479959829076e.zip
FreeBSD-ports-05b7017f031a0b7ec77897d1ff4479959829076e.tar.gz
Implement WANT_GNOME.
Diffstat (limited to 'deskutils/gaddr')
-rw-r--r--deskutils/gaddr/Makefile21
-rw-r--r--deskutils/gaddr/files/patch-ab2
2 files changed, 8 insertions, 15 deletions
diff --git a/deskutils/gaddr/Makefile b/deskutils/gaddr/Makefile
index 2c09365..de9ff23 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 8b93f7a..2bc163d 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
OpenPOWER on IntegriCloud