summaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2002-06-08 18:24:16 +0000
committerijliao <ijliao@FreeBSD.org>2002-06-08 18:24:16 +0000
commitf0ee2b75c525519b5285c6b91a0906684fd94783 (patch)
treec5102f1acef1baae933a4eed37134d4114299952 /audio
parent944160e12845b60fc7e00bbe6502bbf8082aae86 (diff)
downloadFreeBSD-ports-f0ee2b75c525519b5285c6b91a0906684fd94783.zip
FreeBSD-ports-f0ee2b75c525519b5285c6b91a0906684fd94783.tar.gz
- GNU_CONFIGURE -> USE_LIBTOOL
- Support PREFIX properly bump portrevision PR: 38992 Submitted by: Ports Fury
Diffstat (limited to 'audio')
-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 82c8996..0da6954 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 bab0899..8f6e06a 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
OpenPOWER on IntegriCloud