From 446d8dc169a32ac6e2397ab681f84480c37365ae Mon Sep 17 00:00:00 2001
From: Emanuel Haupt <ehaupt@FreeBSD.org>
Date: Thu, 15 Dec 2005 19:22:41 +0000
Subject: - 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
---
 audio/ezstream/Makefile  | 33 +++++++++++++++++++--------------
 audio/ezstream/distinfo  |  6 +++---
 audio/ezstream/pkg-plist |  7 -------
 3 files changed, 22 insertions(+), 24 deletions(-)
 delete mode 100644 audio/ezstream/pkg-plist

diff --git a/audio/ezstream/Makefile b/audio/ezstream/Makefile
index a7dffcd299d2..9c11d943ef79 100644
--- a/audio/ezstream/Makefile
+++ b/audio/ezstream/Makefile
@@ -1,12 +1,12 @@
-# New ports collection makefile for: ezstream
-# Date created:         27 Nov 2004
-# Whom:                 Frank Laszlo <laszlof@vonostingroup.com>
+# New ports collection makefile for:	ezstream
+# Date created:				27 Nov 2004
+# Whom:					Frank Laszlo <laszlof@vonostingroup.com>
 #
 # $FreeBSD$
 #
 
 PORTNAME=	ezstream
-PORTVERSION=	0.2.0
+PORTVERSION=	0.2.1
 CATEGORIES=	audio
 MASTER_SITES=	http://svn.xiph.org/releases/ezstream/
 
@@ -17,19 +17,24 @@ LIB_DEPENDS=	shout.4:${PORTSDIR}/audio/libshout2 \
 		vorbis.3:${PORTSDIR}/audio/libvorbis \
 		xml2.5:${PORTSDIR}/textproc/libxml2
 
-CONFIGURE_ENV=	CFLAGS="${PTHREAD_CFLAGS} -I${LOCALBASE}/include" \
-		LDFLAGS="${PTHREAD_LIBS} -L${LOCALBASE}/lib"
-USE_GMAKE=	yes
-USE_AUTOTOOLS=	libtool:15
+USE_AUTOTOOLS=	libtool:13
 
-post-install:
-.if !defined(NOPORTDOCS)
-	${MKDIR} ${DOCSDIR}
-.	for DOC in ezstream_mp3.xml ezstream_reencoding_example_vorbis.xml \
+CFLAGS+=	${PTHREAD_CFLAGS} -I${LOCALBASE}/include
+LDFLAGS+=	${PTHREAD_LIBS} -L${LOCALBASE}/lib
+
+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_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
 
 .include <bsd.port.mk>
diff --git a/audio/ezstream/distinfo b/audio/ezstream/distinfo
index 7e571ff3e716..30010f059e8f 100644
--- a/audio/ezstream/distinfo
+++ b/audio/ezstream/distinfo
@@ -1,3 +1,3 @@
-MD5 (ezstream-0.2.0.tar.gz) = 2949f2e0fd1c645dc426583da2f02ba3
-SHA256 (ezstream-0.2.0.tar.gz) = 62932434d21e0292a16ffcf53ec251adaf23a4ed1172d48c0155964e1beb26d7
-SIZE (ezstream-0.2.0.tar.gz) = 307409
+MD5 (ezstream-0.2.1.tar.gz) = 5c0b6fc2abeef572a2acc1f8e32ec3e2
+SHA256 (ezstream-0.2.1.tar.gz) = 53ffec4e618e5862354d3ab4e94a7cc515412cfd060bdc179ba935e08243a5e1
+SIZE (ezstream-0.2.1.tar.gz) = 320260
diff --git a/audio/ezstream/pkg-plist b/audio/ezstream/pkg-plist
deleted file mode 100644
index 2b0ba760d53b..000000000000
--- a/audio/ezstream/pkg-plist
+++ /dev/null
@@ -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
-- 
cgit debian/1.2.3+git2.25.1-1-2-gaceb0