summaryrefslogtreecommitdiffstats
path: root/audio/libshout2
diff options
context:
space:
mode:
authorlofi <lofi@FreeBSD.org>2003-08-18 14:00:16 +0000
committerlofi <lofi@FreeBSD.org>2003-08-18 14:00:16 +0000
commit9db9ce0b7a93f720574fe82a284252ab61690508 (patch)
tree5799646058e328cbfd89a72e997e631a78751306 /audio/libshout2
parent4618d889f74ad17660b70b3114c96b47c72d8da2 (diff)
downloadFreeBSD-ports-9db9ce0b7a93f720574fe82a284252ab61690508.zip
FreeBSD-ports-9db9ce0b7a93f720574fe82a284252ab61690508.tar.gz
Bento fixes.
Notified by: kris (bento) Approved by: arved (Mentor)
Diffstat (limited to 'audio/libshout2')
-rw-r--r--audio/libshout2/Makefile15
-rw-r--r--audio/libshout2/pkg-plist4
2 files changed, 5 insertions, 14 deletions
diff --git a/audio/libshout2/Makefile b/audio/libshout2/Makefile
index 0773f8d..5f22db9 100644
--- a/audio/libshout2/Makefile
+++ b/audio/libshout2/Makefile
@@ -7,6 +7,7 @@
PORTNAME= libshout2
PORTVERSION= 2.0
+PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= audio net
MASTER_SITES= http://www.icecast.org/files/libshout/
@@ -22,23 +23,13 @@ CONFIGURE_ENV= CFLAGS="${PTHREAD_CFLAGS} -I${LOCALBASE}/include" \
LDFLAGS="${PTHREAD_LIBS} -L${LOCALBASE}/lib"
INSTALLS_SHLIB= yes
USE_GMAKE= yes
-WANT_GNOME= yes
+USE_GNOME+= pkgconfig
USE_LIBTOOL_VER=13
CONFLICTS= libshout-1.0.7
USE_REINPLACE= yes
-.include <bsd.port.pre.mk>
-
-.if ${HAVE_GNOME:Mpkgconfig}!=""
-USE_GNOME+= pkgconfig
-PLIST_SUB+= WITH_PKGCONFIG=""
-.else
-CONFIGURE_ARGS+=--disable-pkgconfig
-PLIST_SUB+= WITH_PKGCONFIG="@comment "
-.endif
-
post-configure:
@ ${REINPLACE_CMD} -e "s|pkgconfigdir =.*|pkgconfigdir = ${PREFIX}/libdata/pkgconfig|g" \
${WRKSRC}/Makefile
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/audio/libshout2/pkg-plist b/audio/libshout2/pkg-plist
index 808328c..8b06a1d 100644
--- a/audio/libshout2/pkg-plist
+++ b/audio/libshout2/pkg-plist
@@ -3,11 +3,11 @@ lib/libshout.a
lib/libshout.la
lib/libshout.so
lib/libshout.so.3
-%%WITH_PKGCONFIG%%libdata/pkgconfig/shout.pc
+libdata/pkgconfig/shout.pc
share/aclocal/shout.m4
share/doc/libshout/COPYING
share/doc/libshout/README
share/doc/libshout/example.c
@dirrm share/doc/libshout
-%%WITH_PKGCONFIG%%@dirrm libdata/pkgconfig
+@dirrm libdata/pkgconfig
@dirrm include/shout
OpenPOWER on IntegriCloud