2012-12-17 21:02:10 +01:00
|
|
|
# Created by: Chris Piazza <cpiazza@FreeBSD.org>
|
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
|
2016-12-08 20:52:19 +01:00
|
|
|
PORTREVISION= 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
|
|
|
|
|
2016-01-31 02:55:38 +01:00
|
|
|
USES= ncurses tar:bzip2
|
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
|
2020-08-27 21:42:55 +02:00
|
|
|
# Fix build with clang11
|
|
|
|
CFLAGS+= -fcommon
|
2000-06-30 12:08:39 +02:00
|
|
|
|
2013-12-26 18:49:14 +01:00
|
|
|
PLIST_FILES= bin/aumix bin/mute bin/xaumix \
|
|
|
|
man/man1/aumix.1.gz \
|
|
|
|
man/man1/xaumix.1.gz \
|
|
|
|
man/man1/mute.1.gz
|
2004-01-22 14:34:58 +01:00
|
|
|
.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
|
|
|
|
2012-12-17 21:02:10 +01:00
|
|
|
OPTIONS_DEFINE= NLS GTK2
|
2012-12-17 21:09:06 +01:00
|
|
|
|
2015-02-08 14:02:13 +01:00
|
|
|
NLS_USES= gettext
|
|
|
|
NLS_CONFIGURE_OFF= --disable-nls
|
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
|
2015-02-08 14:02:13 +01:00
|
|
|
NLS_PLIST_FILES+= share/locale/${ii}/LC_MESSAGES/aumix.mo
|
2004-01-22 14:34:58 +01:00
|
|
|
.endfor
|
2015-02-08 14:02:13 +01:00
|
|
|
|
2019-11-14 13:39:42 +01:00
|
|
|
GTK2_USES= gnome
|
2015-02-08 14:02:13 +01:00
|
|
|
GTK2_USE= GNOME=gtk20
|
|
|
|
GTK2_CONFIGURE_OFF=--without-gtk
|
1999-05-29 06:47:14 +02:00
|
|
|
|
2012-12-17 21:02:10 +01:00
|
|
|
pre-patch:
|
|
|
|
@${REINPLACE_CMD} -e "s:/etc:${PREFIX}/etc:" ${WRKSRC}/src/common.[ch]
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|