svn commit: r334833 - head/audio/libshout2
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Mon Nov 25 11:33:35 UTC 2013
Author: sunpoet
Date: Mon Nov 25 11:33:34 2013
New Revision: 334833
URL: http://svnweb.freebsd.org/changeset/ports/334833
Log:
- Add LICENSE
- Use PKGNAMESUFFIX
- Remove unnecessary DISTNAME and DOCSDIR
- Convert to new LIB_DEPENDS format
- Remove deprecated PTHREAD_*
- Respect PORTDOCS
- Support STAGEDIR
Modified:
head/audio/libshout2/Makefile
head/audio/libshout2/pkg-plist (contents, props changed)
Modified: head/audio/libshout2/Makefile
==============================================================================
--- head/audio/libshout2/Makefile Mon Nov 25 11:33:30 2013 (r334832)
+++ head/audio/libshout2/Makefile Mon Nov 25 11:33:34 2013 (r334833)
@@ -1,33 +1,33 @@
# Created by: Zach Zurflu <zach at pabst.bendnet.com>
# $FreeBSD$
-PORTNAME= libshout2
+PORTNAME= libshout
PORTVERSION= 2.3.1
PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= audio net
-MASTER_SITES= http://downloads.xiph.org/releases/libshout/ \
+MASTER_SITES= http://downloads.xiph.org/releases/${PORTNAME}/ \
LOCAL/sunpoet
-DISTNAME= libshout-${PORTVERSION}
+PKGNAMESUFFIX= 2
MAINTAINER= sunpoet at FreeBSD.org
COMMENT= Connect and transmit data to an Icecast media streaming server
-LIB_DEPENDS= speex:${PORTSDIR}/audio/speex \
- theora:${PORTSDIR}/multimedia/libtheora \
- vorbis:${PORTSDIR}/audio/libvorbis
+LICENSE= LGPL20
+
+LIB_DEPENDS= libspeex.so:${PORTSDIR}/audio/speex \
+ libtheora.so:${PORTSDIR}/multimedia/libtheora \
+ libvorbis.so:${PORTSDIR}/audio/libvorbis
CONFLICTS= libshout-[0-9]*
-CFLAGS+= ${PTHREAD_CFLAGS} -I${LOCALBASE}/include
+CFLAGS+= -I${LOCALBASE}/include
GNU_CONFIGURE= yes
-LDFLAGS+= ${PTHREAD_LIBS} -L${LOCALBASE}/lib
+LDFLAGS+= -L${LOCALBASE}/lib -pthread
USE_LDCONFIG= yes
-NO_STAGE= yes
+#NO_STAGE= yes
USES= gmake pathfix pkgconfig
-DOCSDIR= ${PREFIX}/share/doc/libshout
-
post-patch:
@${REINPLACE_CMD} -e 's|-ffast-math||g' ${WRKSRC}/configure
@${REINPLACE_CMD} -e 's|^Requires: |Requires.private: |' ${WRKSRC}/shout.pc.in
Modified: head/audio/libshout2/pkg-plist
==============================================================================
--- head/audio/libshout2/pkg-plist Mon Nov 25 11:33:30 2013 (r334832)
+++ head/audio/libshout2/pkg-plist Mon Nov 25 11:33:34 2013 (r334833)
@@ -5,10 +5,10 @@ lib/libshout.so
lib/libshout.so.5
libdata/pkgconfig/shout.pc
share/aclocal/shout.m4
-%%DOCSDIR%%/COPYING
-%%DOCSDIR%%/NEWS
-%%DOCSDIR%%/README
-%%DOCSDIR%%/example.c
-%%DOCSDIR%%/nonblocking.c
- at dirrm %%DOCSDIR%%
+%%PORTDOCS%%%%DOCSDIR%%/COPYING
+%%PORTDOCS%%%%DOCSDIR%%/NEWS
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/example.c
+%%PORTDOCS%%%%DOCSDIR%%/nonblocking.c
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
@dirrm include/shout
More information about the svn-ports-all
mailing list