Date: Mon, 25 Nov 2013 11:33:34 +0000 (UTC) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r334833 - head/audio/libshout2 Message-ID: <201311251133.rAPBXYQJ013840@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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@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@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 -@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311251133.rAPBXYQJ013840>