2004-07-31 10:18:14 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.26 2004/07/31 14:18:14 naddy Exp $
|
1998-05-16 21:05:56 -04:00
|
|
|
|
2001-04-12 23:23:59 -04:00
|
|
|
COMMENT= "SOund eXchange - universal sound sample translator"
|
2001-10-27 10:02:22 -04:00
|
|
|
|
2003-07-17 16:29:13 -04:00
|
|
|
DISTNAME= sox-12.17.4
|
2004-07-31 10:18:14 -04:00
|
|
|
PKGNAME= ${DISTNAME}p1
|
1998-05-16 21:05:56 -04:00
|
|
|
CATEGORIES= audio
|
2001-10-27 10:02:22 -04:00
|
|
|
HOMEPAGE= http://sox.sourceforge.net/
|
2000-09-10 12:05:01 -04:00
|
|
|
|
2001-10-27 10:02:22 -04:00
|
|
|
MAINTAINER= Christian Weisgerber <naddy@openbsd.org>
|
1999-06-03 16:42:39 -04:00
|
|
|
|
2003-09-22 18:53:36 -04:00
|
|
|
# gsm library has bad license
|
|
|
|
PERMIT_PACKAGE_CDROM= "no redistribution"
|
|
|
|
PERMIT_PACKAGE_FTP= "no redistribution"
|
|
|
|
PERMIT_DISTFILES_CDROM= "no redistribution"
|
|
|
|
PERMIT_DISTFILES_FTP= "no redistribution"
|
2000-03-07 00:00:49 -05:00
|
|
|
|
2003-07-17 16:29:13 -04:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=sox/}
|
2001-10-27 10:02:22 -04:00
|
|
|
|
2003-07-17 16:29:13 -04:00
|
|
|
CONFIGURE_STYLE=autoconf
|
|
|
|
AUTOCONF_VERSION=2.54
|
|
|
|
CONFIGURE_ARGS= --disable-sun-audio
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
2000-09-10 12:05:01 -04:00
|
|
|
|
2003-07-17 16:29:13 -04:00
|
|
|
FLAVORS= mp3 vorbis
|
2000-09-10 12:05:01 -04:00
|
|
|
FLAVOR?=
|
1998-05-16 21:05:56 -04:00
|
|
|
|
2001-10-27 10:02:22 -04:00
|
|
|
.if ${FLAVOR:L:Mvorbis}
|
2002-01-16 19:25:51 -05:00
|
|
|
LIB_DEPENDS+= vorbis.1,vorbisenc.1,vorbisfile.2::audio/libvorbis
|
2001-10-27 10:02:22 -04:00
|
|
|
.else
|
2003-07-17 16:29:13 -04:00
|
|
|
CONFIGURE_ARGS+= --disable-ogg-vorbis
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if ${FLAVOR:L:Mmp3}
|
2003-12-10 16:28:58 -05:00
|
|
|
LIB_DEPENDS+= mad.2::audio/libmad mp3lame.0::audio/lame
|
2003-07-17 16:29:13 -04:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-mad --disable-lame
|
2001-10-27 10:02:22 -04:00
|
|
|
.endif
|
|
|
|
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
1998-05-16 21:05:56 -04:00
|
|
|
.include <bsd.port.mk>
|