Lines 7-12
Link Here
|
7 |
|
7 |
|
8 |
PORTNAME= sox |
8 |
PORTNAME= sox |
9 |
PORTVERSION= 12.17.2 |
9 |
PORTVERSION= 12.17.2 |
|
|
10 |
PORTREVISION= 1 |
10 |
CATEGORIES= audio |
11 |
CATEGORIES= audio |
11 |
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} |
12 |
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} |
12 |
MASTER_SITE_SUBDIR= sox |
13 |
MASTER_SITE_SUBDIR= sox |
Lines 19-26
Link Here
|
19 |
CONFIGURE_ARGS= --enable-fast-ulaw --enable-fast-alaw |
20 |
CONFIGURE_ARGS= --enable-fast-ulaw --enable-fast-alaw |
20 |
|
21 |
|
21 |
.if defined(WITH_GSM) |
22 |
.if defined(WITH_GSM) |
22 |
CONFIGURE_ARGS+= --with-gsmlib=${PREFIX}/lib --with-gsminc=${PREFIX}/include |
23 |
CONFIGURE_ARGS+= --with-gsmlib=${LOCALBASE}/lib \ |
|
|
24 |
--with-gsminc=${LOCALBASE}/include |
23 |
LIB_DEPENDS+= gsm.1:${PORTSDIR}/audio/gsm |
25 |
LIB_DEPENDS+= gsm.1:${PORTSDIR}/audio/gsm |
|
|
26 |
.else |
27 |
CONFIGURE_ARGS+= --with-gsminc=no |
28 |
.endif |
29 |
|
30 |
.if defined(WITH_VORBIS) |
31 |
CONFIGURE_ARGS+= --with-ogg-vorbisinc=${LOCALBASE}/include \ |
32 |
--with-ogg-vorbislib=${LOCALBASE}/lib |
33 |
LIB_DEPENDS+= vorbis.0:${PORTSDIR}/audio/libvorbis |
34 |
.else |
35 |
CONFIGURE_ARGS+= --with-ogg-vorbisinc=no |
24 |
.endif |
36 |
.endif |
25 |
|
37 |
|
26 |
.include <bsd.port.mk> |
38 |
.include <bsd.port.mk> |