# New ports collection makefile for: sox - Sound Exchange # Date created: 17 Oct 1994 # Whom: torstenb # # $FreeBSD$ # PORTNAME= sox PORTVERSION= 14.0.1 PORTREVISION= 1 CATEGORIES= audio MASTER_SITES= SF MAINTAINER= dnelson@allantgroup.com COMMENT= SOund eXchange - universal sound sample translator CONFLICTS= play-[0-9]* MAN1= sox.1 MAN3= libsox.3 MAN7= soxexam.7 soxformat.7 soxeffect.7 MLINKS= sox.1 play.1 sox.1 rec.1 GNU_CONFIGURE= yes USE_LDCONFIG= yes USE_AUTOTOOLS= libltdl # src/Makefile uses ${RM} but never sets it MAKE_ENV+= RM="rm -f" OPTIONS= AO "Enable libao output" on \ AMRNB "AMR Speech Codec (Narrowband)" off \ AMRWB "AMR Speech Codec (Wideband)" off \ FFMPEG "Enable ffmpeg en/decoding" on \ FLAC "Enable flac en/decoding with libflac" on \ GSM "Use libgsm from ports (else use bundled lib)" on \ LADSPA "Audio plugin support" off \ LAME "Enable mp3 encoding with LAME" on \ MAD "Enable mp3 decoding with MAD" on \ SAMPLERATE "Enable libsamplerate" on \ SNDFILE "Enable libsndfile" on \ VORBIS "Enable Ogg Vorbis support" on .include CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS} CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" .if !defined(WITH_LAME) && !defined(WITH_MAD) PLIST_SUB+= PLIST_MP3="@comment " .else PLIST_SUB+= PLIST_MP3="" .endif .if defined(WITH_AO) CONFIGURE_ARGS+= --enable-libao LIB_DEPENDS+= ao.3:${PORTSDIR}/audio/libao PLIST_SUB+= PLIST_AO="" .else CONFIGURE_ARGS+= --disable-libao PLIST_SUB+= PLIST_AO="@comment " .endif .if defined(WITH_AMRNB) CONFIGURE_ARGS+= --with-amr-nb LIB_DEPENDS+= amrnb.3:${PORTSDIR}/audio/libamrnb PLIST_SUB+= PLIST_AMRNB="" .else CONFIGURE_ARGS+= --without-amr-nb PLIST_SUB+= PLIST_AMRNB="@comment " .endif .if defined(WITH_AMRWB) CONFIGURE_ARGS+= --with-amr-wb LIB_DEPENDS+= amrwb.3:${PORTSDIR}/audio/libamrwb PLIST_SUB+= PLIST_AMRWB="" .else CONFIGURE_ARGS+= --without-amr-wb PLIST_SUB+= PLIST_AMRWB="@comment " .endif .if defined(WITH_FFMPEG) CONFIGURE_ARGS+= --with-ffmpeg LIB_DEPENDS+= avformat:${PORTSDIR}/multimedia/ffmpeg PLIST_SUB+= PLIST_FFMPEG="" .else CONFIGURE_ARGS+= --without-ffmpeg PLIST_SUB+= PLIST_FFMPEG="@comment " .endif .if defined(WITH_VORBIS) CONFIGURE_ARGS+= --with-ogg LIB_DEPENDS+= vorbis.4:${PORTSDIR}/audio/libvorbis PLIST_SUB+= PLIST_VORBIS="" .else CONFIGURE_ARGS+= --without-ogg PLIST_SUB+= PLIST_VORBIS="@comment " .endif .if defined(WITH_SNDFILE) CONFIGURE_ARGS+= --with-sndfile LIB_DEPENDS+= sndfile.1:${PORTSDIR}/audio/libsndfile PLIST_SUB+= PLIST_SNDFILE="" .else CONFIGURE_ARGS+= --without-sndfile PLIST_SUB+= PLIST_SNDFILE="@comment " .endif .if defined(WITH_LADSPA) CONFIGURE_ARGS+= --with-ladspa RUN_DEPENDS+= ${LOCALBASE}/lib/ladspa/filter.so:${PORTSDIR}/audio/ladspa BUILD_DEPENDS+= ${LOCALBASE}/lib/ladspa/filter.so:${PORTSDIR}/audio/ladspa .else CONFIGURE_ARGS+= --without-ladspa .endif .if defined(WITH_LAME) CONFIGURE_ARGS+= --with-lame LIB_DEPENDS+= mp3lame.0:${PORTSDIR}/audio/lame .else CONFIGURE_ARGS+= --without-lame .endif .if defined(WITH_FLAC) CONFIGURE_ARGS+= --with-flac LIB_DEPENDS+= FLAC.10:${PORTSDIR}/audio/flac PLIST_SUB+= PLIST_FLAC="" .else CONFIGURE_ARGS+= --without-flac PLIST_SUB+= PLIST_FLAC="@comment " .endif .if defined(WITH_MAD) CONFIGURE_ARGS+= --with-mad LIB_DEPENDS+= mad.2:${PORTSDIR}/audio/libmad .else CONFIGURE_ARGS+= --without-mad .endif .if defined(WITH_GSM) CONFIGURE_ARGS+= --with-external-gsm LIB_DEPENDS+= gsm.1:${PORTSDIR}/audio/gsm PLIST_SUB+= PLIST_GSM="" .else CONFIGURE_ARGS+= --without-external-gsm # Above configure flag does not exist, so workaround with the below line CONFIGURE_ENV+= ac_cv_header_gsm_h=no PLIST_SUB+= PLIST_GSM="@comment " .endif .if defined(WITH_SAMPLERATE) CONFIGURE_ARGS+= --with-samplerate LIB_DEPENDS+= samplerate.1:${PORTSDIR}/audio/libsamplerate .else CONFIGURE_ARGS+= --without-samplerate .endif # Tell configure that libgsm's headers are in $LOCALDIR/include post-patch: @${REINPLACE_CMD} -Ee 's![[:<:]]gsm/gsm.h!gsm.h!' ${WRKSRC}/configure \ ${WRKSRC}/src/gsm.c ${WRKSRC}/src/wav.c .include /option> FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)
aboutsummaryrefslogtreecommitdiffstats
Commit message (Expand)AuthorAgeFilesLines
* Update to KDE 3.5.8lofi2007-10-301-3/+3
* Update to KDE 3.5.7 / KOffice 1.6.3lofi2007-07-043-5/+18
* - Welcome X.org 7.2 \o/.flz2007-05-201-0/+1
* Update to KDE 3.5.6 / KOffice 1.6.2lofi2007-03-143-7/+8
* Update to KDE 3.5.5 / KOffice 1.6.1lofi2006-12-205-3/+82
* KDE 3.5.4 / KOffice 1.5.2lofi2006-09-131-3/+3
* Update to KDE 3.5.3lofi2006-06-061-3/+3
* Update to KDE 3.5.2lofi2006-03-312-5/+4
* Conversion to a single libtool environment.ade2006-02-232-1/+10
* Update to KDE 3.5.1.lofi2006-02-012-3/+18
* Update to KDE 3.5.0lofi2006-01-092-126/+256
* Update to KDE 3.4.3 / KOffice 1.4.2lofi2005-11-053-4/+2
* Don't install kdegames executables setgid root.lofi2005-08-031-0/+3
* Update to KDE 3.4.2 / KOffice 1.4.1lofi2005-08-011-2/+2
* Update to KDE 3.4.1lofi2005-06-261-2/+2
* Update to KDE 3.4lofi2005-03-213-6/+33
* Bump PORTREVISION to chase the glib20 shared lib version change.marcus2005-03-121-1/+1
* Fix ownership of kgoldrunner gamedata files.lofi2005-01-171-3/+6
* Update to KDE 3.3.2lofi2004-12-143-25/+2
* Update to KDE 3.3.1lofi2004-11-081-2/+2
* Update to KDE 3.3lofi2004-08-313-69/+91
* Update to version 3.2.3lofi2004-06-103-3/+13
* Update to KDE 3.2.2lofi2004-04-202-3/+2
* Chase the glib20 update, and bump all affected ports' PORTREVISIONs.marcus2004-04-051-0/+1
* Update to KDE 3.2.1 / QT 3.3.1lofi2004-03-102-2/+3
* Update to KDE 3.2.0lofi2004-02-053-84/+309
* Bump PORTREVISION on all ports that depend on gettext to aid with upgrading.marcus2004-02-041-0/+1
* USE_REINPLACE need be defined only when REINPLACE_CMD is used.trevor2003-11-171-2/+0
* Fix the -pthread problem in case the option gets removed again. Thiswill2003-10-042-3/+2
* Upgrade to Qt 3.2.1 / KDE 3.1.4. See x11/kde3/Makefile rev 1.64 for details.will2003-09-181-1/+1
* Update KDE to the latest official release, KDE 3.1.3lofi2003-07-292-2/+7
* Update to KDE 3.1.2lioux2003-05-202-20/+1
* Rejoice, for the long awaited upgrade to kde 3.1.1 is here!alane2003-04-062-2/+1
* Clear moonlight beckons.ade2003-03-072-1/+1
* update to 3.1 official releasealane2003-01-293-126/+290
* 1. Removed comments from pkg-plist files per will's request.alane2002-10-112-12/+1
* Update to 3.0.3. Not much changed here: [1] i18n PKGNAMEs converted towill2002-08-252-16/+1
* Update to 3.0.2 -- full log available in ports/x11/kde3/Makefile,v 1.51.will2002-07-052-2/+2
* Upgrade to KDE 3.0.1. The delay in this upgrade is mainly due to thewill2002-06-165-18/+23
* Fix a horribly messed up pkg-plist.petef2002-05-071-95/+179
* This patch is not needed because of rev 1.65 of the port's makefile.alfred2002-04-291-11/+0
* FreeBSD needs IPPORT_USERRESERVED defined as IPPORT_RESERVED as well.alfred2002-04-291-0/+11
* Fix typo: use $$ to mean $ inside Makefilelioux2002-04-291-1/+1
* IPPORT_USERRESERVED exists in neither -STABLE nor -CURRENT anymorelioux2002-04-281-0/+4
* Please welcome Qt3/KDE3 to our ports tree. This includes work since thewill2002-04-222-26/+14
* Fix the KDE ports to not use objprelink, if OSVERSION >= 500029. This iswill2002-03-301-1/+7
* Bring in a few changes to the KDE ports infrastructure, and some fixes.will2002-01-111-16/+2
* If !WANT_KDE_NDEBUG and !PARALLEL_PACKAGE_BUILDING, also addwill2002-01-081-0/+3
* Conditionalize use of objprelink based on whether we're running onwill2002-01-051-3/+8
* Fix a problem with auto{conf,make}: some build magic was introduced topetef2001-12-071-1/+1
* Upgrade KDE to 2.2.2:will2001-12-043-4/+26
* Upgrade to 2.2.1.demon2001-10-273-2/+10
* Set DIST_SUBDIR=KDEdemon2001-09-112-1/+2
* Reassign MAINTAINER to kde@FreeBSD.org, a group formed specifically towill2001-08-251-1/+1
* *sigh* They changed the path to the tarballs again. This was verifiedwill2001-08-161-1/+1
* Update to KDE 2.2:will2001-08-153-377/+287
* Overhaul QT/KDE support:will2001-04-032-13/+3
* Bring in my fixes for KDE2 for users of XFree86 4.0.x. Basically, whatwill2001-03-251-1/+1
* Attempt to fix conflicts with a local getopt.h (specifically, the fix iswill2001-03-051-1/+1
* Lo and behold, welcome KDE 2.1 to our ports tree. As a direct result ofwill2001-02-273-182/+745
* Upgrade to 2.0.1kevlo2000-12-123-22/+62
* Resign as maintainer of KDE2 ports, having brought them up from inceptionwill2000-11-181-1/+1
* Oops, forgot to remove -lqt2 along with -L${X11BASE}/lib, to allow peoplewill2000-10-291-1/+1
* Implement fix for configure scripts in regards to finding X libs onwill2000-10-291-2/+2
* Update to QT 2.2.1 / KDE 2.0 final release. At last! What a long road...will2000-10-253-40/+51
* Update to KDE 1.94, the fifth and final beta release of KDE 2.0. If youwill2000-09-163-23/+216
* Update to 20000829A snapshot. Disable kdenetwork2 for the time being sowill2000-08-303-44/+69
* Update to 20000724A (custom-rolled snapshot). Rejoice, because nowwill2000-07-293-395/+161
* Mark these BROKEN, they don't compile/run properly.asami2000-07-201-0/+2
* Update to KDEGAMES 1.90 (aka KDE2 beta). This commit was delayed when Iwill2000-05-173-640/+1023
* update g-k ports with PORTNAME/PORTVERSION and fix error in fkiss's Makefilemharo2000-04-141-2/+2
* Bump shlib versions of kdelibs11 and kdesupport11.asami2000-02-241-2/+2
* Remove giflib dependence.imura2000-02-151-2/+1
* Update to KDE-1.1.2se1999-09-183-5/+69
* The version number of libgif.so has changed to 5.steve1999-09-181-1/+1
* Change Id->FreeBSD.obrien1999-08-251-1/+1
* Forget about ${PREFIX}/include/giflib.tg1999-05-271-3/+2
* Upgrade KDE to Release 1.1.1.se1999-05-043-25/+51
* Portlint.asami1999-03-011-3/+2
* MASTER_SITE_SUBDIR was broken. My choices in fixing were either go withobrien1999-02-282-3/+5
* Remove extra argument to "configure" that had been committed by accident.se1999-02-091-3/+1
* Upgrade to KDE 1.1 RELEASE.se1999-02-093-6/+33
* Upgrade to KDE-1.1pre2 ...se1999-02-073-19/+39
* Adjust port Makefiles to new EXTRACT_* variable defaults. See log ofasami1999-02-031-6/+2
* Add bzip2 dependency. They were missing in some kde*11 Makefiles.asami1999-01-111-1/+2
* Make dependency lines point to right directories -- they were stillasami1999-01-081-3/+3
* Upgrade to the first pre-release of KDE 1.1.se1999-01-073-15/+504
* Mark these broken while Stefan works on an upgrade.asami1999-01-061-1/+3
* Elfifybrian1998-10-021-10/+8
* Mark all KDE ports BROKEN for ELF.jseger1998-09-301-1/+3
* giflib is now converted to ELF so remove regexp support.steve1998-09-191-2/+2
* jpeg is now converted to ELF so change LIB_DEPENDS lines accordingly.asami1998-09-151-2/+2
* Replace qt dependencies with USE_QT.asami1998-08-121-4/+3
* Fix up dependencies for ports that moved into the x11-toolkits category.asami1998-08-081-3/+3
* Change dependencies to accept Qt-1.33 if present,se1998-07-241-3/+3
* Upgrade to KDE Release 1.0se1998-07-203-361/+67
* Mark as broken, will be upgraded to 1.0 within a few days.se1998-07-141-1/+3
* kdesupport is in ports/converters, not ports/x11.dburr1998-05-24