aboutsummaryrefslogtreecommitdiffstats
path: root/audio/aumix
diff options
context:
space:
mode:
authorcpiazza <cpiazza@FreeBSD.org>2000-02-03 11:49:23 +0800
committercpiazza <cpiazza@FreeBSD.org>2000-02-03 11:49:23 +0800
commit942e92ec2d993d593078243fc3f40ca3c4282f29 (patch)
tree7b2b2985c10f1cf8236004d104508e0d29ed62f7 /audio/aumix
parentf6eb46093bc245b322e817c66b9a478e0ddce39c (diff)
downloadfreebsd-ports-gnome-942e92ec2d993d593078243fc3f40ca3c4282f29.tar.gz
freebsd-ports-gnome-942e92ec2d993d593078243fc3f40ca3c4282f29.tar.zst
freebsd-ports-gnome-942e92ec2d993d593078243fc3f40ca3c4282f29.zip
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>
Diffstat (limited to 'audio/aumix')
-rw-r--r--audio/aumix/Makefile28
-rw-r--r--audio/aumix/distinfo2
-rw-r--r--audio/aumix/pkg-comment2
-rw-r--r--audio/aumix/pkg-descr2
4 files changed, 26 insertions, 8 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>
diff --git a/audio/aumix/distinfo b/audio/aumix/distinfo
index aad9dfceaf7b..280e70f85f1c 100644
--- a/audio/aumix/distinfo
+++ b/audio/aumix/distinfo
@@ -1 +1 @@
-MD5 (aumix-1.30.1.tar.gz) = c3cbf32e1a5ccacd1d5af2e41835fc5a
+MD5 (aumix-2.1.tar.gz) = fe4b493c8e87c2c8523f9fcc72391c08
diff --git a/audio/aumix/pkg-comment b/audio/aumix/pkg-comment
index c9ef574df10d..5217780d0bcb 100644
--- a/audio/aumix/pkg-comment
+++ b/audio/aumix/pkg-comment
@@ -1 +1 @@
-A full-screen ncurses-based audio mixer for the console
+A full-screen ncurses- or GTK-based audio mixer for the console
diff --git a/audio/aumix/pkg-descr b/audio/aumix/pkg-descr
index fa3b66c60bf4..3df0233b8b64 100644
--- a/audio/aumix/pkg-descr
+++ b/audio/aumix/pkg-descr
@@ -2,4 +2,6 @@ A program for adjusting audio mixers from the command line or
scripts, or interactively at the console or a terminal with a full-screen,
ncurses-based interface and sysmouse(4) support.
+Can optionally be built with a GTK+-based interface.
+
WWW: http://jpj.net/~trevor/aumix.html