1994-10-23 01:16:15 +00:00
|
|
|
# New ports collection makefile for: sox - Sound Exchange
|
|
|
|
# Date created: 17 Oct 1994
|
|
|
|
# Whom: torstenb
|
|
|
|
#
|
1999-08-25 04:36:31 +00:00
|
|
|
# $FreeBSD$
|
1994-10-23 01:16:15 +00:00
|
|
|
#
|
|
|
|
|
2000-04-08 21:25:03 +00:00
|
|
|
PORTNAME= sox
|
2001-10-11 11:16:32 +00:00
|
|
|
PORTVERSION= 12.17.2
|
2001-10-22 18:44:30 +00:00
|
|
|
PORTREVISION= 1
|
1996-11-15 23:14:56 +00:00
|
|
|
CATEGORIES= audio
|
2001-01-01 19:18:53 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= sox
|
1994-10-23 01:16:15 +00:00
|
|
|
|
2001-10-22 18:44:30 +00:00
|
|
|
MAINTAINER= dnelson@emsphone.com
|
1994-10-23 01:16:15 +00:00
|
|
|
|
2001-10-22 18:44:30 +00:00
|
|
|
MAN1= sox.1 play.1 soxexam.1
|
|
|
|
MLINKS= play.1 rec.1
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS= --enable-fast-ulaw --enable-fast-alaw
|
1997-02-04 10:32:42 +00:00
|
|
|
|
2000-04-17 00:18:05 +00:00
|
|
|
.if defined(WITH_GSM)
|
2001-10-22 18:44:30 +00:00
|
|
|
CONFIGURE_ARGS+= --with-gsmlib=${LOCALBASE}/lib \
|
|
|
|
--with-gsminc=${LOCALBASE}/include
|
|
|
|
LIB_DEPENDS+= gsm.1:${PORTSDIR}/audio/gsm
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --with-gsminc=no
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if defined(WITH_VORBIS)
|
|
|
|
CONFIGURE_ARGS+= --with-ogg-vorbisinc=${LOCALBASE}/include \
|
|
|
|
--with-ogg-vorbislib=${LOCALBASE}/lib
|
|
|
|
LIB_DEPENDS+= vorbis.0:${PORTSDIR}/audio/libvorbis
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --with-ogg-vorbisinc=no
|
1999-12-24 19:28:04 +00:00
|
|
|
.endif
|
|
|
|
|
1994-10-23 01:16:15 +00:00
|
|
|
.include <bsd.port.mk>
|