2005-11-11 22:19:11 +01:00
|
|
|
# $NetBSD: Makefile,v 1.35 2005/11/11 21:19:11 joerg Exp $
|
1997-10-29 00:18:20 +01:00
|
|
|
|
2005-06-24 22:50:31 +02:00
|
|
|
DISTNAME= sox-12.17.7
|
2005-08-07 16:57:15 +02:00
|
|
|
PKGREVISION= 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
|
|
|
|
2003-07-17 23:21:03 +02:00
|
|
|
MAINTAINER= tech-pkg@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
|
|
|
|
|
|
|
|
.if ${OPSYS} != "Interix"
|
|
|
|
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"
|