diff options
author | Chris Piazza <cpiazza@FreeBSD.org> | 2000-02-03 03:49:23 +0000 |
---|---|---|
committer | Chris Piazza <cpiazza@FreeBSD.org> | 2000-02-03 03:49:23 +0000 |
commit | 892320eb9594b509684dd2f1115f484c58f14dea (patch) | |
tree | 883f98087483a5df7e0bec7ddcda4476b07932b8 /audio/aumix/Makefile | |
parent | This port only contains crypto if "USE_SSL" is defined. (diff) |
Update to version 2.1. It is now built with GTK+ unless
NO_X11 is defined. If more people are interested in the
console version than the GTK version I'll make X11 optional.
Submitted by: Trevor Johnson <trevor@jpj.net> and
Christian Weisgerber <naddy@mips.rhein-neckar.de>
Notes
Notes:
svn path=/head/; revision=25438
Diffstat (limited to 'audio/aumix/Makefile')
-rw-r--r-- | audio/aumix/Makefile | 28 |
1 files changed, 22 insertions, 6 deletions
diff --git a/audio/aumix/Makefile b/audio/aumix/Makefile index a7613bdfba86..ac9f80f043b2 100644 --- a/audio/aumix/Makefile +++ b/audio/aumix/Makefile @@ -1,12 +1,12 @@ # New ports collection makefile for: aumix -# Version required: 1.30.1 +# Version required: 2 # Date created: 21 May 1999 # Whom: Chris Piazza <cpiazza@FreeBSD.org> # # $FreeBSD$ # -DISTNAME= aumix-1.30.1 +DISTNAME= aumix-2.1 CATEGORIES= audio MASTER_SITES= http://jpj.net/~trevor/aumix/ \ http://jpj.net/~trevor/aumix/old/ \ @@ -16,13 +16,29 @@ MASTER_SITE_SUBDIR= apps/sound/mixers MAINTAINER= cpiazza@FreeBSD.org -LIB_DEPENDS= intl.1:${PORTSDIR}/devel/gettext +LIB_DEPENDS= intl.1:${PORTSDIR}/devel/gettext +.if !defined(NO_X11) +LIB_DEPENDS+= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12 + +GLIB_CONFIG= ${LOCALBASE}/bin/glib12-config +GTK_CONFIG= ${X11BASE}/bin/gtk12-config +.endif + +MAN1= aumix.1 xaumix.1 GNU_CONFIGURE= yes CONFIGURE_ARGS= --includedir="${LOCALBASE}/include" \ --libdir="${LOCALBASE}/lib" -CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib" CPPFLAGS="-I${LOCALBASE}/include" - -MAN1= aumix.1 xaumix.1 +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + GLIB_CONFIG="${GLIB_CONFIG}" \ + GTK_CONFIG="${GTK_CONFIG}" \ + LDFLAGS="-L${LOCALBASE}/lib" +.if defined(NO_X11) +CONFIGURE_ARGS+= --without-gtk +.else +pre-fetch: + @${ECHO_MSG} -n "To build this port without X11 (and without the GUI)," + @${ECHO_MSG} " define \"NO_X11\"." +.endif .include <bsd.port.mk> |