aboutsummaryrefslogtreecommitdiffstats
path: root/audio/sox
diff options
context:
space:
mode:
authorjhale <jhale@FreeBSD.org>2012-09-24 05:19:18 +0800
committerjhale <jhale@FreeBSD.org>2012-09-24 05:19:18 +0800
commit160cbea666abc623a9f234c10ef03281a11eae33 (patch)
tree8faf1adba9fdd9410e2f49c06403fb2c77898d8d /audio/sox
parente0a3f7f74d77d67f2dac2db310da4fe8a8406e5d (diff)
downloadfreebsd-ports-gnome-160cbea666abc623a9f234c10ef03281a11eae33.tar.gz
freebsd-ports-gnome-160cbea666abc623a9f234c10ef03281a11eae33.tar.zst
freebsd-ports-gnome-160cbea666abc623a9f234c10ef03281a11eae33.zip
- Fix FFMPEG option when ffmpeg-devel is installed
While here: - Move LICENSE to proper location - Convert to USE_PKGCONFIG PR: ports/171813 Submitted by: Dan Nelson <dnelson at allantgroup.com> (maintainer) Approved by: makc (mentor)
Diffstat (limited to 'audio/sox')
-rw-r--r--audio/sox/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/audio/sox/Makefile b/audio/sox/Makefile
index 0e7b986b8ef3..13009c9c3ece 100644
--- a/audio/sox/Makefile
+++ b/audio/sox/Makefile
@@ -14,6 +14,9 @@ MASTER_SITES= SF
MAINTAINER= dnelson@allantgroup.com
COMMENT= SOund eXchange - universal sound sample translator
+LICENSE= LGPL21 GPLv2
+LICENSE_COMB= dual
+
CONFLICTS= play-[0-9]*
MAN1= sox.1 soxi.1
@@ -23,9 +26,7 @@ MLINKS= sox.1 play.1 sox.1 rec.1 sox.1 soxeffect.7
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
USE_AUTOTOOLS= libltdl
-USE_GNOME= pkgconfig
-LICENSE_COMB= dual
-LICENSE= LGPL21 GPLv2
+USE_PKGCONFIG= build
# Default LAME to off for packages so we don't end up RESTRICTED
.if defined(PACKAGE_BUILDING)
@@ -88,7 +89,7 @@ CONFIGURE_ARGS+= --without-amrwb
.if defined(WITH_FFMPEG)
CONFIGURE_ARGS+= --with-ffmpeg
-LIB_DEPENDS+= avformat:${PORTSDIR}/multimedia/ffmpeg
+LIB_DEPENDS+= avcodec.1:${PORTSDIR}/multimedia/ffmpeg
.else
CONFIGURE_ARGS+= --without-ffmpeg
.endif