aboutsummaryrefslogtreecommitdiff
path: root/audio/osalp
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-06-08 18:24:16 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-06-08 18:24:16 +0000
commitdf79ce91d283234409e9dd7b0bb51d80db03ab80 (patch)
treeaa3e40ca0de35d506418a8e1a87eab1c7bbe3f2e /audio/osalp
parenta33413de46cbcedb05b3ecb19d27e0697d896e74 (diff)
downloadports-df79ce91d283234409e9dd7b0bb51d80db03ab80.tar.gz
ports-df79ce91d283234409e9dd7b0bb51d80db03ab80.zip
Notes
Diffstat (limited to 'audio/osalp')
-rw-r--r--audio/osalp/Makefile15
-rw-r--r--audio/osalp/pkg-plist19
2 files changed, 18 insertions, 16 deletions
diff --git a/audio/osalp/Makefile b/audio/osalp/Makefile
index 82c89960d0d1..0da6954726ab 100644
--- a/audio/osalp/Makefile
+++ b/audio/osalp/Makefile
@@ -8,19 +8,26 @@
PORTNAME= osalp
PORTVERSION= 0.7.2
+PORTREVISION= 1
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
-MAINTAINER= ports@FreeBSD.ORG
+MAINTAINER= ports@FreeBSD.org
BUILD_DEPENDS= mpg123:${PORTSDIR}/audio/mpg123
-LIB_DEPENDS= gnugetopt:${PORTSDIR}/devel/libgnugetopt
+LIB_DEPENDS= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
-GNU_CONFIGURE= yes
-CONFIGURE_ENV= CPPFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \
+USE_LIBTOOL= yes
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib -lgnugetopt"
CONFIGURE_ARGS= --enable-blade --enable-mpg123 --enable-sox
INSTALLS_SHLIB= yes
+PLIST_SUB= VERSION=${PORTVERSION}
+
+post-patch:
+ @${PERL} -pi -e 's|/usr/local/lib/aflib|${PREFIX}/lib/aflib|g' \
+ ${WRKSRC}/configure
+
.include <bsd.port.mk>
diff --git a/audio/osalp/pkg-plist b/audio/osalp/pkg-plist
index bab0899a41e2..8f6e06a93553 100644
--- a/audio/osalp/pkg-plist
+++ b/audio/osalp/pkg-plist
@@ -29,20 +29,15 @@ include/aflib/aflibMemNode.h
include/aflib/aflibMixerItem.h
include/aflib/aflibRecorderItem.h
include/aflib/aflibSampleData.h
-@dirrm include/aflib
-lib/aflib/libaflibBladeFile-0.7.2.so
+lib/aflib/libaflibBladeFile-%%VERSION%%.so
lib/aflib/libaflibBladeFile.so
-lib/aflib/libaflibBladeFile.la
-lib/aflib/libaflibLameFile-0.7.2.so
+lib/aflib/libaflibLameFile-%%VERSION%%.so
lib/aflib/libaflibLameFile.so
-lib/aflib/libaflibLameFile.la
-lib/aflib/libaflibMpgFile-0.7.2.so
+lib/aflib/libaflibMpgFile-%%VERSION%%.so
lib/aflib/libaflibMpgFile.so
-lib/aflib/libaflibMpgFile.la
-lib/aflib/libaflibSoxFile-0.7.2.so
+lib/aflib/libaflibSoxFile-%%VERSION%%.so
lib/aflib/libaflibSoxFile.so
-lib/aflib/libaflibSoxFile.la
-@dirrm lib/aflib
-lib/libaflib-0.7.2.so
+lib/libaflib-%%VERSION%%.so
lib/libaflib.so
-lib/libaflib.la
+@dirrm lib/aflib
+@dirrm include/aflib