View | Details | Raw Unified | Return to bug 129643
Collapse All | Expand All

(-)Makefile (-1 / +9 lines)
Lines 7-12 Link Here
7
7
8
PORTNAME=	sox
8
PORTNAME=	sox
9
PORTVERSION=	14.2.0
9
PORTVERSION=	14.2.0
10
PORTREVISION=	1
10
CATEGORIES=	audio
11
CATEGORIES=	audio
11
MASTER_SITES=	SF
12
MASTER_SITES=	SF
12
13
Lines 39-44 Link Here
39
		LADSPA "Audio plugin support" off \
40
		LADSPA "Audio plugin support" off \
40
		LAME "Enable mp3 encoding with LAME" ${_LAME} \
41
		LAME "Enable mp3 encoding with LAME" ${_LAME} \
41
		MAD "Enable mp3 decoding with MAD" on \
42
		MAD "Enable mp3 decoding with MAD" on \
43
		PNG "Enable PNG spectrogram creation" on \
42
		SAMPLERATE "Enable libsamplerate" on \
44
		SAMPLERATE "Enable libsamplerate" on \
43
		SNDFILE "Enable libsndfile" on \
45
		SNDFILE "Enable libsndfile" on \
44
		VORBIS "Enable Ogg Vorbis support" on \
46
		VORBIS "Enable Ogg Vorbis support" on \
Lines 50-56 Link Here
50
LDFLAGS+=	-L${LOCALBASE}/lib ${PTHREAD_LIBS}
52
LDFLAGS+=	-L${LOCALBASE}/lib ${PTHREAD_LIBS}
51
CONFIGURE_ENV+=	CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
53
CONFIGURE_ENV+=	CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
52
CONFIGURE_ARGS+=	--with-pkgconfigdir="${PREFIX}/libdata/pkgconfig"
54
CONFIGURE_ARGS+=	--with-pkgconfigdir="${PREFIX}/libdata/pkgconfig"
53
LIB_DEPENDS+=	png.5:${PORTSDIR}/graphics/png
54
55
55
.if !defined(WITH_LAME) && !defined(WITH_MAD)
56
.if !defined(WITH_LAME) && !defined(WITH_MAD)
56
PLIST_SUB+=	PLIST_MP3="@comment "
57
PLIST_SUB+=	PLIST_MP3="@comment "
Lines 143-148 Link Here
143
CONFIGURE_ARGS+=	--without-mad
144
CONFIGURE_ARGS+=	--without-mad
144
.endif
145
.endif
145
146
147
.if defined(WITH_PNG)
148
CONFIGURE_ARGS+=       --with-png
149
LIB_DEPENDS+=          png.5:${PORTSDIR}/graphics/png
150
.else
151
CONFIGURE_ARGS+=       --without-png
152
.endif
153
146
.if defined(WITH_GSM)
154
.if defined(WITH_GSM)
147
CONFIGURE_ARGS+=	--with-external-gsm
155
CONFIGURE_ARGS+=	--with-external-gsm
148
LIB_DEPENDS+=		gsm.1:${PORTSDIR}/audio/gsm
156
LIB_DEPENDS+=		gsm.1:${PORTSDIR}/audio/gsm

Return to bug 129643