aboutsummaryrefslogtreecommitdiffstats
path: root/audio/mad
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2001-08-19 07:33:12 +0800
committerijliao <ijliao@FreeBSD.org>2001-08-19 07:33:12 +0800
commitc50e150923c16c80a9e83e251d7ba6f931e4ff16 (patch)
tree821ef2f39894f211856ee2b401644aad189904d6 /audio/mad
parent9d2a4cb89de82a36af91f4142da6ce4319104362 (diff)
downloadfreebsd-ports-graphics-c50e150923c16c80a9e83e251d7ba6f931e4ff16.tar.gz
freebsd-ports-graphics-c50e150923c16c80a9e83e251d7ba6f931e4ff16.tar.zst
freebsd-ports-graphics-c50e150923c16c80a9e83e251d7ba6f931e4ff16.zip
Add shared library support
PR: 29737 Submitted by: MAINTAINER
Diffstat (limited to 'audio/mad')
-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 d97b517edee..9a137005a05 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 1ee0509a8bd..c170fbe7d18 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