aboutsummaryrefslogtreecommitdiff
path: root/audio/aumix
diff options
context:
space:
mode:
authorJeremy Lea <reg@FreeBSD.org>2000-10-05 06:47:41 +0000
committerJeremy Lea <reg@FreeBSD.org>2000-10-05 06:47:41 +0000
commit3707e5b7408ecadb0bda141dd82ec9bbca5d0267 (patch)
treef1d64a9e396a97d08c7dc5b7eed24efc11a3fa10 /audio/aumix
parent99290b0d61db9bcb3c960f5507a8ccb0126a0cf9 (diff)
downloadports-3707e5b7408ecadb0bda141dd82ec9bbca5d0267.tar.gz
ports-3707e5b7408ecadb0bda141dd82ec9bbca5d0267.zip
Notes
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 bba2065cf6f7..9a2df4de4299 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>