- Update to 0.2.1

- Remove pkg-plist
- Port does not need USE_GMAKE
- Use libtool13 to respect CC
- Respect CFLAGS
- Major cleanup

PR:		90409
Submitted by:	Frank Laszlo <laszlof@vonostingroup.com> (maintainer)
Reworked by:	ehaupt
This commit is contained in:
Emanuel Haupt 2005-12-15 19:22:41 +00:00
parent accee4c1d3
commit 446d8dc169
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=151259
3 changed files with 22 additions and 24 deletions

View file

@ -1,12 +1,12 @@
# New ports collection makefile for: ezstream # New ports collection makefile for: ezstream
# Date created: 27 Nov 2004 # Date created: 27 Nov 2004
# Whom: Frank Laszlo <laszlof@vonostingroup.com> # Whom: Frank Laszlo <laszlof@vonostingroup.com>
# #
# $FreeBSD$ # $FreeBSD$
# #
PORTNAME= ezstream PORTNAME= ezstream
PORTVERSION= 0.2.0 PORTVERSION= 0.2.1
CATEGORIES= audio CATEGORIES= audio
MASTER_SITES= http://svn.xiph.org/releases/ezstream/ MASTER_SITES= http://svn.xiph.org/releases/ezstream/
@ -17,19 +17,24 @@ LIB_DEPENDS= shout.4:${PORTSDIR}/audio/libshout2 \
vorbis.3:${PORTSDIR}/audio/libvorbis \ vorbis.3:${PORTSDIR}/audio/libvorbis \
xml2.5:${PORTSDIR}/textproc/libxml2 xml2.5:${PORTSDIR}/textproc/libxml2
CONFIGURE_ENV= CFLAGS="${PTHREAD_CFLAGS} -I${LOCALBASE}/include" \ USE_AUTOTOOLS= libtool:13
LDFLAGS="${PTHREAD_LIBS} -L${LOCALBASE}/lib"
USE_GMAKE= yes
USE_AUTOTOOLS= libtool:15
post-install: CFLAGS+= ${PTHREAD_CFLAGS} -I${LOCALBASE}/include
.if !defined(NOPORTDOCS) LDFLAGS+= ${PTHREAD_LIBS} -L${LOCALBASE}/lib
${MKDIR} ${DOCSDIR}
. for DOC in ezstream_mp3.xml ezstream_reencoding_example_vorbis.xml \ CONFIGURE_ENV+= CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
PLIST_FILES= bin/ezstream
PORTDOCS= ezstream_mp3.xml ezstream_reencoding_example_vorbis.xml \
ezstream_reencoding_example_mp3.xml ezstream_vorbis.xml \ ezstream_reencoding_example_mp3.xml ezstream_vorbis.xml \
ezstream_reencoding_example_theora.xml ezstream_reencoding_example_theora.xml
${INSTALL_DATA} ${WRKSRC}/conf/${DOC} ${DOCSDIR}
. endfor .if !defined(NOPORTDOCS)
post-install:
${MKDIR} ${DOCSDIR}
.for f in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/conf/${f} ${DOCSDIR}
.endfor
.endif .endif
.include <bsd.port.mk> .include <bsd.port.mk>

View file

@ -1,3 +1,3 @@
MD5 (ezstream-0.2.0.tar.gz) = 2949f2e0fd1c645dc426583da2f02ba3 MD5 (ezstream-0.2.1.tar.gz) = 5c0b6fc2abeef572a2acc1f8e32ec3e2
SHA256 (ezstream-0.2.0.tar.gz) = 62932434d21e0292a16ffcf53ec251adaf23a4ed1172d48c0155964e1beb26d7 SHA256 (ezstream-0.2.1.tar.gz) = 53ffec4e618e5862354d3ab4e94a7cc515412cfd060bdc179ba935e08243a5e1
SIZE (ezstream-0.2.0.tar.gz) = 307409 SIZE (ezstream-0.2.1.tar.gz) = 320260

View file

@ -1,7 +0,0 @@
bin/ezstream
%%PORTDOCS%%share/doc/ezstream/ezstream_mp3.xml
%%PORTDOCS%%share/doc/ezstream/ezstream_reencoding_example_vorbis.xml
%%PORTDOCS%%share/doc/ezstream/ezstream_reencoding_example_mp3.xml
%%PORTDOCS%%share/doc/ezstream/ezstream_vorbis.xml
%%PORTDOCS%%share/doc/ezstream/ezstream_reencoding_example_theora.xml
%%PORTDOCS%%@dirrm share/doc/ezstream