mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-07 02:06:57 +00:00
6527ef2070
The affected ports are the ones with gettext as a run-dependency according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT in Makefile (29 of them). PR: ports/124340 Submitted by: edwin@ Approved by: portmgr (pav)
73 lines
1.8 KiB
Makefile
73 lines
1.8 KiB
Makefile
# New ports collection makefile for: aumix
|
|
# Date created: 21 May 1999
|
|
# Whom: Chris Piazza <cpiazza@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= aumix
|
|
PORTVERSION= 2.8
|
|
PORTREVISION= 5
|
|
CATEGORIES= audio
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
|
|
http://jpj.net/~trevor/aumix/ \
|
|
http://jpj.net/~trevor/aumix/old/
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
MAINTAINER= unix4all@gulic.org
|
|
COMMENT= Audio mixer for X11, terminal, or command line
|
|
|
|
USE_BZIP2= yes
|
|
WANT_GNOME= yes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --includedir="${LOCALBASE}/include" \
|
|
--enable-own-labels \
|
|
--libdir="${LOCALBASE}/lib"
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
MAN1= aumix.1 xaumix.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
|
|
|
|
.if defined(WITHOUT_NLS) || defined(WITHOUT_ALL)
|
|
CONFIGURE_ARGS+=--disable-nls
|
|
.else
|
|
USE_GETTEXT= yes
|
|
.for ii in de el es fr gl ja nl pl pt_BR ru sv uk zh_CN
|
|
PLIST_FILES+= share/locale/${ii}/LC_MESSAGES/aumix.mo
|
|
.endfor
|
|
.endif
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
pre-extract:
|
|
.if !defined(WITH_GTK2) && !defined(WITHOUT_ALL)
|
|
@${ECHO_CMD}
|
|
@${ECHO_CMD} "****** To enable use of GTK+ 2.0, interrupt the ******"
|
|
@${ECHO_CMD} "****** build now, set WITH_GTK2, and start again. ******"
|
|
@${ECHO_CMD}
|
|
@sleep 3
|
|
.endif
|
|
|
|
do-patch:
|
|
@${REINPLACE_CMD} -e "s:/etc:${PREFIX}/etc:" ${WRKSRC}/src/common.[c,h]
|
|
|
|
.if (${HAVE_GNOME:Mgtk12}!="") && !defined(WITHOUT_ALL) && \
|
|
!defined(WITHOUT_GTK)&& !defined(WITH_GTK2)
|
|
USE_GNOME= gtk12
|
|
PKGNAMESUFFIX= -gtk
|
|
CONFIGURE_ARGS+=--without-gtk
|
|
.elif defined(WITH_GTK2)
|
|
PKGNAMESUFFIX= -gtk
|
|
USE_GNOME= gtk20
|
|
CONFIGURE_ARGS+=--without-gtk1
|
|
.else
|
|
CONFIGURE_ARGS+=--without-gtk --without-gtk1
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|