ports/55271: [PATCH] Upgrade libshout2 to 2.0

Melvyn Sopacua melvyn at webteckies.org
Tue Aug 5 08:20:17 UTC 2003


>Number:         55271
>Category:       ports
>Synopsis:       [PATCH] Upgrade libshout2 to 2.0
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Aug 05 01:20:14 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     System Administrator
>Release:        FreeBSD 4.8-STABLE i386
>Organization:
>Environment:
System: FreeBSD ghost.lan.webteckies.org 4.8-STABLE FreeBSD 4.8-STABLE #2: Sat Aug 2 19:45:34 CEST 2003 root at ghost.lan.webteckies.org:/usr/obj/usr/src/sys/GHOST i386


	
>Description:
	Libshout 2.0 has been released.
>How-To-Repeat:
	See the announcement on the website.
>Fix:

	I'm not sure what to do with the pkg-plist - I left the docs
	in there.
	The conflict with libshout-1 is shown, when compiling shout.c.
	It includes shout/shout.h, which is also installed by libshout1,
	but does not define a type `shout_t'.
	files/patch-src::Makefile can be removed.

Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/audio/libshout2/Makefile,v
retrieving revision 1.9
diff -u -r1.9 Makefile
--- Makefile	26 Jun 2003 22:58:22 -0000	1.9
+++ Makefile	5 Aug 2003 08:12:41 -0000
@@ -6,12 +6,11 @@
 #
 
 PORTNAME=	libshout2
-PORTVERSION=	20021112
-PORTREVISION=	1
+PORTVERSION=	2.0
+PORTREVISION=	
 CATEGORIES=	audio net
-MASTER_SITES=	http://tigress.com/lofi/ \
-		http://lofi.dyndns.org/
-DISTNAME=	libshout-devel-${PORTVERSION}
+MASTER_SITES=	http://www.icecast.org/files/libshout/
+DISTNAME=	libshout-${PORTVERSION}
 
 MAINTAINER=	michaelnottebrock at gmx.net
 COMMENT=	Routines for connecting and transmitting data to the icecast server
@@ -23,24 +22,16 @@
 		LDFLAGS="${PTHREAD_LIBS} -L${LOCALBASE}/lib"
 INSTALLS_SHLIB=	yes
 USE_GMAKE=	yes
-USE_AUTOMAKE=	yes
-USE_LIBTOOL=	yes
+GNU_CONFIGURE=	yes
 USE_REINPLACE=	yes
+CONFLICTS=	libshout-1*
 
-WRKSRC=		${WRKDIR}/libshout
-
-# Idiot packagers
-pre-configure:
-.for file in config.guess config.sub ltmain.sh
-	${LN} -sf ${LIBTOOL_SHAREDIR}/${file} ${WRKSRC}
-.endfor
+WRKSRC=		${WRKDIR}/libshout-${PORTVERSION}
 
 post-configure:
-	@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|'\
-					${WRKSRC}/examples/Makefile
 	@${REINPLACE_CMD} -E -e 's|(INCLUDES \=.*)|\1 -I${LOCALBASE}/include|'\
 					${WRKSRC}/src/Makefile
-	@${REINPLACE_CMD} -e 's|-O20|${CFLAGS}|' ${WRKSRC}/examples/Makefile \
+	@${REINPLACE_CMD} -E -e 's|(CFLAGS \=.*)|\1 ${CFLAGS}|' ${WRKSRC}/examples/Makefile \
 						${WRKSRC}/include/Makefile \
 						${WRKSRC}/include/shout/Makefile \
 						${WRKSRC}/src/avl/Makefile \
Index: distinfo
===================================================================
RCS file: /home/ncvs/ports/audio/libshout2/distinfo,v
retrieving revision 1.5
diff -u -r1.5 distinfo
--- distinfo	25 Jan 2003 22:30:18 -0000	1.5
+++ distinfo	5 Aug 2003 08:12:41 -0000
@@ -1 +1 @@
-MD5 (libshout-devel-20021112.tar.gz) = a3302e2f2fd45a16f22f60a5a3b2ba2a
+MD5 (libshout-2.0.tar.gz) = 627f3eede05b2237bee1369e4a95143c
Index: pkg-plist
===================================================================
RCS file: /home/ncvs/ports/audio/libshout2/pkg-plist,v
retrieving revision 1.5
diff -u -r1.5 pkg-plist
--- pkg-plist	15 Jan 2003 20:40:47 -0000	1.5
+++ pkg-plist	5 Aug 2003 08:12:41 -0000
@@ -1,5 +1,10 @@
 include/shout/shout.h
-lib/libshout.a
-lib/libshout.so
 lib/libshout.so.3
+lib/libshout.la
+lib/libshout.a
+lib/pkgconfig/shout.pc
+share/doc/libshout/COPYING
+share/doc/libshout/README
+share/doc/libshout/example.c
+share/aclocal/shout.m4
 @dirrm include/shout
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list