summaryrefslogtreecommitdiffstats
path: root/audio/aumix
diff options
context:
space:
mode:
authorreg <reg@FreeBSD.org>2000-10-05 06:47:41 +0000
committerreg <reg@FreeBSD.org>2000-10-05 06:47:41 +0000
commit4495def283d3b8c777e1eb5b958cedb25b1aa16b (patch)
treed7741a9f974e1e8c5428027e641c709984c997cf /audio/aumix
parent72ce7050d03c812e37966786e11996a90713afea (diff)
downloadFreeBSD-ports-4495def283d3b8c777e1eb5b958cedb25b1aa16b.zip
FreeBSD-ports-4495def283d3b8c777e1eb5b958cedb25b1aa16b.tar.gz
Implment WANT_GTK.
Diffstat (limited to 'audio/aumix')
-rw-r--r--audio/aumix/Makefile20
1 files changed, 7 insertions, 13 deletions
diff --git a/audio/aumix/Makefile b/audio/aumix/Makefile
index bba2065c..9a2df4d 100644
--- a/audio/aumix/Makefile
+++ b/audio/aumix/Makefile
@@ -16,29 +16,23 @@ MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= cpiazza@FreeBSD.org
LIB_DEPENDS= intl.1:${PORTSDIR}/devel/gettext
-.if !defined(WITHOUT_X11)
-LIB_DEPENDS+= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12
-
-USE_X_PREFIX= yes
-GTK_CONFIG= ${X11BASE}/bin/gtk12-config
-.endif
+WANT_GTK= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --includedir="${LOCALBASE}/include" \
--enable-own-labels \
--libdir="${LOCALBASE}/lib"
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
- GTK_CONFIG="${GTK_CONFIG}" \
LDFLAGS="-L${LOCALBASE}/lib"
MAN1= aumix.1 xaumix.1
-.if defined(WITHOUT_X11)
-CONFIGURE_ARGS+= --without-gtk
+.include <bsd.port.pre.mk>
+
+.if defined(HAVE_GTK)
+USE_GTK= yes
.else
-pre-fetch:
- @${ECHO_MSG} -n "To build this port without X11 (and without the GUI),"
- @${ECHO_MSG} " define \"WITHOUT_X11\"."
+CONFIGURE_ARGS+=--without-gtk
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud