1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-21 08:42:23 +00:00
freebsd-ports/audio/aumix/Makefile
Dmitry Marakasov 6f6fbe4bdf - Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead

PR:		157936
Submitted by:	myself
Exp-runs by:	pav
Approved by:	pav
2011-09-23 22:26:39 +00:00

62 lines
1.3 KiB
Makefile

# New ports collection makefile for: aumix
# Date created: 21 May 1999
# Whom: Chris Piazza <cpiazza@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= aumix
PORTVERSION= 2.9.1
CATEGORIES= audio
MASTER_SITES= SF \
http://jpj.net/~trevor/aumix/ \
http://jpj.net/~trevor/aumix/old/
MAINTAINER= unix4all@gulic.org
COMMENT= Audio mixer for X11, terminal, or command line
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
USE_BZIP2= yes
WANT_GNOME= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --includedir="${LOCALBASE}/include" \
--enable-own-labels \
--libdir="${LOCALBASE}/lib"
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
MAN1= aumix.1 xaumix.1 mute.1
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
OPTIONS= NLS "Enable NLS support" on \
GTK2 "Enable GTK2 gui" off
.include <bsd.port.pre.mk>
.if defined(WITHOUT_NLS)
CONFIGURE_ARGS+=--disable-nls
.else
USE_GETTEXT= yes
.for ii in ca de el es fr gl it ja nl pl pt_BR ru sv uk zh_CN
PLIST_FILES+= share/locale/${ii}/LC_MESSAGES/aumix.mo
.endfor
.endif
pre-patch:
@${REINPLACE_CMD} -e "s:/etc:${PREFIX}/etc:" ${WRKSRC}/src/common.[ch]
.if defined(WITH_GTK2)
PKGNAMESUFFIX= -gtk
USE_GNOME= gtk20
.else
CONFIGURE_ARGS+=--without-gtk
.endif
.include <bsd.port.post.mk>