diff options
author | Rong-En Fan <rafan@FreeBSD.org> | 2008-12-15 14:56:34 +0000 |
---|---|---|
committer | Rong-En Fan <rafan@FreeBSD.org> | 2008-12-15 14:56:34 +0000 |
commit | c650a95a89d6f00a3f33b56099638032f2999efb (patch) | |
tree | 5ba0d7a3dcc7b12e10702141ed652f8c00ef7011 /audio/sox | |
parent | 2e0a2fac8856eafb658563c71a4b7071f2c88877 (diff) | |
download | ports-c650a95a89d6f00a3f33b56099638032f2999efb.tar.gz ports-c650a95a89d6f00a3f33b56099638032f2999efb.zip |
Notes
Diffstat (limited to 'audio/sox')
-rw-r--r-- | audio/sox/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/audio/sox/Makefile b/audio/sox/Makefile index 0efc4a8d0e69..2d0ed9ff3517 100644 --- a/audio/sox/Makefile +++ b/audio/sox/Makefile @@ -39,6 +39,7 @@ OPTIONS= AO "Enable libao output" on \ LADSPA "Audio plugin support" off \ LAME "Enable mp3 encoding with LAME" ${_LAME} \ MAD "Enable mp3 decoding with MAD" on \ + PNG "Enable PNG spectrogram creation" on \ SAMPLERATE "Enable libsamplerate" on \ SNDFILE "Enable libsndfile" on \ VORBIS "Enable Ogg Vorbis support" on \ @@ -50,7 +51,6 @@ CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS} CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" CONFIGURE_ARGS+= --with-pkgconfigdir="${PREFIX}/libdata/pkgconfig" -LIB_DEPENDS+= png.5:${PORTSDIR}/graphics/png .if !defined(WITH_LAME) && !defined(WITH_MAD) PLIST_SUB+= PLIST_MP3="@comment " @@ -143,6 +143,13 @@ LIB_DEPENDS+= mad.2:${PORTSDIR}/audio/libmad CONFIGURE_ARGS+= --without-mad .endif +.if defined(WITH_PNG) +CONFIGURE_ARGS+= --with-png +LIB_DEPENDS+= png.5:${PORTSDIR}/graphics/png +.else +CONFIGURE_ARGS+= --without-png +.endif + .if defined(WITH_GSM) CONFIGURE_ARGS+= --with-external-gsm LIB_DEPENDS+= gsm.1:${PORTSDIR}/audio/gsm |