1999-05-29 06:47:14 +02:00
|
|
|
# New ports collection makefile for: aumix
|
|
|
|
# Date created: 21 May 1999
|
1999-06-19 10:26:18 +02:00
|
|
|
# Whom: Chris Piazza <cpiazza@FreeBSD.org>
|
1999-05-29 06:47:14 +02:00
|
|
|
#
|
1999-08-25 06:36:31 +02:00
|
|
|
# $FreeBSD$
|
1999-05-29 06:47:14 +02:00
|
|
|
#
|
|
|
|
|
2000-04-08 23:25:03 +02:00
|
|
|
PORTNAME= aumix
|
2010-07-12 16:12:24 +02:00
|
|
|
PORTVERSION= 2.9.1
|
1999-05-29 06:47:14 +02:00
|
|
|
CATEGORIES= audio
|
2009-08-22 02:13:26 +02:00
|
|
|
MASTER_SITES= SF \
|
2000-06-14 15:21:38 +02:00
|
|
|
http://jpj.net/~trevor/aumix/ \
|
|
|
|
http://jpj.net/~trevor/aumix/old/
|
2010-07-12 16:12:24 +02:00
|
|
|
|
2006-05-31 00:31:07 +02:00
|
|
|
MAINTAINER= unix4all@gulic.org
|
2003-03-01 15:34:33 +01:00
|
|
|
COMMENT= Audio mixer for X11, terminal, or command line
|
1999-05-29 06:47:14 +02:00
|
|
|
|
2010-07-12 16:12:24 +02:00
|
|
|
LICENSE= GPLv2
|
|
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
|
2002-11-25 02:56:46 +01:00
|
|
|
USE_BZIP2= yes
|
2002-08-31 02:13:25 +02:00
|
|
|
WANT_GNOME= yes
|
1999-05-29 06:47:14 +02:00
|
|
|
GNU_CONFIGURE= yes
|
1999-06-02 07:26:38 +02:00
|
|
|
CONFIGURE_ARGS= --includedir="${LOCALBASE}/include" \
|
2000-03-26 03:06:37 +02:00
|
|
|
--enable-own-labels \
|
1999-06-02 07:26:38 +02:00
|
|
|
--libdir="${LOCALBASE}/lib"
|
2011-09-24 00:26:39 +02:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
2000-06-30 12:08:39 +02:00
|
|
|
|
2010-07-12 16:12:24 +02:00
|
|
|
MAN1= aumix.1 xaumix.1 mute.1
|
2004-01-22 14:34:58 +01:00
|
|
|
PLIST_DIRS= share/aumix
|
|
|
|
PLIST_FILES= bin/aumix bin/mute bin/xaumix
|
|
|
|
.for ii in ansi aumix.xpm fadein.set fadeout.set vt100 xterm
|
|
|
|
PLIST_FILES+= share/aumix/${ii}
|
|
|
|
.endfor
|
2006-05-16 19:13:36 +02:00
|
|
|
|
2010-07-12 16:12:24 +02:00
|
|
|
OPTIONS= NLS "Enable NLS support" on \
|
|
|
|
GTK2 "Enable GTK2 gui" off
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if defined(WITHOUT_NLS)
|
2006-05-16 19:13:36 +02:00
|
|
|
CONFIGURE_ARGS+=--disable-nls
|
|
|
|
.else
|
|
|
|
USE_GETTEXT= yes
|
2010-07-12 16:12:24 +02:00
|
|
|
|
|
|
|
.for ii in ca de el es fr gl it ja nl pl pt_BR ru sv uk zh_CN
|
2004-01-22 14:34:58 +01:00
|
|
|
PLIST_FILES+= share/locale/${ii}/LC_MESSAGES/aumix.mo
|
|
|
|
.endfor
|
2006-05-16 19:13:36 +02:00
|
|
|
.endif
|
|
|
|
|
2009-11-02 19:23:57 +01:00
|
|
|
pre-patch:
|
|
|
|
@${REINPLACE_CMD} -e "s:/etc:${PREFIX}/etc:" ${WRKSRC}/src/common.[ch]
|
2003-08-24 18:39:04 +02:00
|
|
|
|
2010-07-12 16:12:24 +02:00
|
|
|
.if defined(WITH_GTK2)
|
2002-12-08 23:48:37 +01:00
|
|
|
PKGNAMESUFFIX= -gtk
|
2004-04-13 17:04:46 +02:00
|
|
|
USE_GNOME= gtk20
|
2002-12-08 23:48:37 +01:00
|
|
|
.else
|
2010-07-12 16:12:24 +02:00
|
|
|
CONFIGURE_ARGS+=--without-gtk
|
2000-02-03 04:49:23 +01:00
|
|
|
.endif
|
1999-05-29 06:47:14 +02:00
|
|
|
|
2000-10-05 08:47:41 +02:00
|
|
|
.include <bsd.port.post.mk>
|