2006-09-03 02:26:20 +02:00
|
|
|
# $NetBSD: Makefile,v 1.39 2006/09/03 00:26:20 ben Exp $
|
1997-10-29 00:18:20 +01:00
|
|
|
|
2006-08-08 01:39:56 +02:00
|
|
|
DISTNAME= sox-12.18.1
|
1997-10-29 00:18:20 +01:00
|
|
|
CATEGORIES= audio
|
2003-03-25 11:57:44 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=sox/} \
|
2003-03-25 10:14:06 +01:00
|
|
|
http://www.cnpbagwell.com/
|
1997-10-29 00:18:20 +01:00
|
|
|
|
2006-03-04 22:28:51 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2003-03-25 10:14:06 +01:00
|
|
|
HOMEPAGE= http://sox.sourceforge.net/
|
2001-02-16 14:30:32 +01:00
|
|
|
COMMENT= SOund eXchange - universal sound sample translator
|
1997-10-29 00:18:20 +01:00
|
|
|
|
2005-02-23 04:28:49 +01:00
|
|
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
|
|
|
|
2005-11-11 22:19:11 +01:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
2001-07-01 23:47:12 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2005-03-07 13:19:16 +01:00
|
|
|
CONFIGURE_ARGS+= --enable-fast-ulaw
|
|
|
|
CONFIGURE_ARGS+= --enable-fast-alaw
|
2005-11-11 22:19:11 +01:00
|
|
|
.if ${OPSYS} != "DragonFly" && ${OPSYS} != "FreeBSD"
|
2005-03-07 13:19:16 +01:00
|
|
|
CONFIGURE_ARGS+= --disable-oss-dsp
|
2005-11-11 22:19:11 +01:00
|
|
|
.endif
|
2005-03-07 13:19:16 +01:00
|
|
|
CONFIGURE_ARGS+= --with-ogg-vorbislib=${BUILDLINK_PREFIX.libvorbis}/lib
|
|
|
|
CONFIGURE_ARGS+= --with-ogg-vorbisinc=${BUILDLINK_PREFIX.libvorbis}/include
|
|
|
|
|
|
|
|
PLIST_SRC= ${PKGDIR}/PLIST.common
|
|
|
|
|
2006-09-03 02:26:20 +02:00
|
|
|
.if ${OPSYS} != "Interix" && ${OPSYS} != "Darwin"
|
2005-03-07 13:19:16 +01:00
|
|
|
CONFIGURE_ARGS+= --with-sun-audio
|
|
|
|
PLIST_SRC+= ${PKGDIR}/PLIST.play
|
|
|
|
.endif
|
1999-10-26 03:31:01 +02:00
|
|
|
|
2004-03-12 03:23:15 +01:00
|
|
|
.include "../../audio/libvorbis/buildlink3.mk"
|
|
|
|
.include "../../audio/libmad/buildlink3.mk"
|
1998-04-15 12:38:06 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|