mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
- Add LICENSE
- Use PKGNAMESUFFIX - Remove unnecessary DISTNAME and DOCSDIR - Convert to new LIB_DEPENDS format - Remove deprecated PTHREAD_* - Respect PORTDOCS - Support STAGEDIR
This commit is contained in:
parent
19d965192e
commit
25250f0850
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=334833
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user