aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authorreg <reg@FreeBSD.org>2000-10-05 14:42:57 +0800
committerreg <reg@FreeBSD.org>2000-10-05 14:42:57 +0800
commit72ce7050d03c812e37966786e11996a90713afea (patch)
tree9ec01d647da1c4e80223e31fc766740c2a43ebff /math
parent97830337b8c0333a12d15a49ea1f9c9cdc3dfddf (diff)
downloadfreebsd-ports-gnome-72ce7050d03c812e37966786e11996a90713afea.tar.gz
freebsd-ports-gnome-72ce7050d03c812e37966786e11996a90713afea.tar.zst
freebsd-ports-gnome-72ce7050d03c812e37966786e11996a90713afea.zip
Implement USE_GTK, part 2.
Diffstat (limited to 'math')
-rw-r--r--math/geg/Makefile7
-rw-r--r--math/grpn/Makefile9
2 files changed, 5 insertions, 11 deletions
diff --git a/math/geg/Makefile b/math/geg/Makefile
index 717e1276952d..d5a301c190cb 100644
--- a/math/geg/Makefile
+++ b/math/geg/Makefile
@@ -14,16 +14,13 @@ MASTER_SITE_SUBDIR= science/visualization/plotting
MAINTAINER= domi@saargate.de
-LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12
-
-GTK_CONFIG?= ${X11BASE}/bin/gtk12-config
-
USE_X_PREFIX= yes
+USE_GTK= yes
USE_AUTOMAKE= yes
AUTOMAKE= automake -a -i
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
- GTK_CONFIG="${GTK_CONFIG}" \
LIBS="-L${LOCALBASE}/lib"
+
MAN1= geg.1
pre-configure:
diff --git a/math/grpn/Makefile b/math/grpn/Makefile
index fa17130f10a6..98e701b562ec 100644
--- a/math/grpn/Makefile
+++ b/math/grpn/Makefile
@@ -12,15 +12,12 @@ MASTER_SITES= http://wilkins.ne.mediaone.net/grpn/
MAINTAINER= jedgar@fxp.org
-LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12
+USE_X_PREFIX= yes
+USE_GTK= yes
ALL_TARGET=
-USE_X_PREFIX= yes
-GTK_CONFIG?= ${X11BASE}/bin/gtk12-config
-MAKE_ENV+= GTK_CONFIG=${GTK_CONFIG} \
- X11BASE=${X11BASE}
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/grpn ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/grpn ${PREFIX}/bin
.include <bsd.port.mk>