summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2001-08-18 23:33:12 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2001-08-18 23:33:12 +0000
commit5c8c63b6d0bb388bebc82f63c049e70da6f37fc3 (patch)
treeb21656d2fcefac11fa8162c2213a7099ce13d08f /audio
parentupgrade to 1.0.1 (diff)
Add shared library support
PR: 29737 Submitted by: MAINTAINER
Notes
Notes: svn path=/head/; revision=46456
Diffstat (limited to 'audio')
-rw-r--r--audio/mad/Makefile9
-rw-r--r--audio/mad/pkg-plist2
2 files changed, 10 insertions, 1 deletions
diff --git a/audio/mad/Makefile b/audio/mad/Makefile
index d97b517edeeb..9a137005a05d 100644
--- a/audio/mad/Makefile
+++ b/audio/mad/Makefile
@@ -7,6 +7,7 @@
PORTNAME= mad
PORTVERSION= 0.13.0b
+PORTREVISION= 1
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
ftp://ftp.mars.org/pub/mpeg/
@@ -16,10 +17,16 @@ MAINTAINER= jason@mastaler.com
LIB_DEPENDS= intl.1:${PORTSDIR}/devel/gettext
+PLIST_SUB+= PORTVERSION="${PORTVERSION}"
+
USE_GMAKE= yes
USE_LIBTOOL= yes
+INSTALLS_SHLIB= yes
LIBTOOLFILES= configure libmad/configure
-CONFIGURE_ARGS= --disable-debugging --enable-sso --enable-accuracy
+CONFIGURE_ARGS= --enable-shared \
+ --disable-debugging \
+ --enable-sso \
+ --enable-accuracy
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
diff --git a/audio/mad/pkg-plist b/audio/mad/pkg-plist
index 1ee0509a8bd2..c170fbe7d18b 100644
--- a/audio/mad/pkg-plist
+++ b/audio/mad/pkg-plist
@@ -2,6 +2,8 @@ bin/abxtest
bin/madplay
include/mad.h
lib/libmad.a
+lib/libmad.so
+lib/libmad-%%PORTVERSION%%.so
share/locale/en/LC_MESSAGES/mad.mo
share/locale/es/LC_MESSAGES/mad.mo
share/locale/fr/LC_MESSAGES/mad.mo