Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Dec 2001 13:51:53 -0500 (EST)
From:      Leo Kim <leo@florida.sarang.net>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/32703: [MAINTAINER UPDATE] audio/p5-Shout from 0.99 to 1.0
Message-ID:  <200112111851.fBBIprF56362@rhino.jdcon.com>

next in thread | raw e-mail | index | archive | help

>Number:         32703
>Category:       ports
>Synopsis:       [MAINTAINER UPDATE] audio/p5-Shout from 0.99 to 1.0
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Dec 11 11:00:05 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Leo Kim
>Release:        FreeBSD 4.4-STABLE i386
>Organization:
>Environment:

	System: FreeBSD 4.4-STABLE #1: Wed Dec 5 17:57:02 EST 2001

>Description:
	Update audio/p5-Shout from 0.99 to 1.0

>How-To-Repeat:
	
>Fix:
diff -urN p5-Shout.old/Makefile p5-Shout/Makefile
--- p5-Shout.old/Makefile	Tue Dec 11 13:18:45 2001
+++ p5-Shout/Makefile	Tue Dec 11 13:07:35 2001
@@ -6,14 +6,14 @@
 #
 
 PORTNAME=	Shout
-PORTVERSION=	0.99
+PORTVERSION=	1.0
 CATEGORIES=	audio perl5
 MASTER_SITES=	http://developer.icecast.org/libshout/releases/
 PKGNAMEPREFIX=	p5-
 
 MAINTAINER=	leo@florida.sarang.net
 
-LIB_DEPENDS=	shout.1:${PORTSDIR}/audio/libshout
+LIB_DEPENDS=	shout.2:${PORTSDIR}/audio/libshout
 
 PERL_CONFIGURE=	yes
 
@@ -21,6 +21,14 @@
 MAN3=		Shout.3
 
 pre-configure:
-	@(cd ${WRKSRC} && ${RM} example.pl example2.pl)
+	${MKDIR} ${WRKSRC}/examples
+	${MV} ${WRKSRC}/example.pl ${WRKSRC}/example2.pl ${WRKSRC}/examples
+
+post-install:
+.ifndef(NOPORTDOCS)
+	@${MKDIR} ${PREFIX}/share/examples/${PKGNAMEPREFIX}${PORTNAME}
+	${INSTALL_SCRIPT} ${WRKSRC}/examples/* \
+		${PREFIX}/share/examples/${PKGNAMEPREFIX}${PORTNAME}
+.endif
 
 .include <bsd.port.mk>
diff -urN p5-Shout.old/distinfo p5-Shout/distinfo
--- p5-Shout.old/distinfo	Tue Dec 11 13:18:45 2001
+++ p5-Shout/distinfo	Tue Dec 11 13:07:35 2001
@@ -1 +1 @@
-MD5 (Shout-0.99.tar.gz) = a4cbf46d1107a54fff61d457ac46dd35
+MD5 (Shout-1.0.tar.gz) = f5cba6e7a8b6b1462b9c17bdcdf6216a
diff -urN p5-Shout.old/files/patch-aa p5-Shout/files/patch-aa
--- p5-Shout.old/files/patch-aa	Tue Dec 11 13:18:45 2001
+++ p5-Shout/files/patch-aa	Tue Dec 11 13:07:36 2001
@@ -1,5 +1,5 @@
---- Makefile.PL.orig	Wed Apr 18 13:29:39 2001
-+++ Makefile.PL	Wed Apr 18 13:31:05 2001
+--- Makefile.PL.orig	Tue Dec 11 11:59:35 2001
++++ Makefile.PL	Tue Dec 11 11:59:41 2001
 @@ -4,8 +4,8 @@
  WriteMakefile(
      'NAME'	=> 'Shout',
@@ -11,3 +11,13 @@
 +    'INC'	=> '-I/usr/local/include',     # e.g., '-I/usr/include/other' 
      'MYEXTLIB'  => ''
  );
+--- MANIFEST.orig	Tue Dec 11 12:43:44 2001
++++ MANIFEST	Tue Dec 11 12:43:49 2001
+@@ -3,7 +3,5 @@
+ Makefile.PL
+ Shout.pm
+ Shout.xs
+-example.pl
+-example2.pl
+ test.pl
+ typemap
diff -urN p5-Shout.old/files/patch-ab p5-Shout/files/patch-ab
--- p5-Shout.old/files/patch-ab	Tue Dec 11 13:18:45 2001
+++ p5-Shout/files/patch-ab	Tue Dec 11 13:07:36 2001
@@ -1,10 +1,20 @@
---- MANIFEST.orig	Wed Apr 18 13:58:36 2001
-+++ MANIFEST	Wed Apr 18 13:58:43 2001
-@@ -3,7 +3,5 @@
- Makefile.PL
- Shout.pm
- Shout.xs
--example.pl
--example2.pl
- test.pl
- typemap
+--- Shout.xs.orig	Tue Dec 11 12:36:56 2001
++++ Shout.xs	Tue Dec 11 12:37:20 2001
+@@ -200,13 +200,15 @@
+ 	CODE:
+ 	self->aim = strdup(str);
+ 
+-void shout_set_icq(self, str)
++void
++shout_set_icq(self, str)
+ 	shout_conn_t *self
+ 	char *str
+ 	CODE:
+ 	self->icq = strdup(str);
+ 
+-void shout_set_irc(self, str)
++void
++shout_set_irc(self, str)
+ 	shout_conn_t *self
+ 	char *str
+ 	CODE:
diff -urN p5-Shout.old/pkg-plist p5-Shout/pkg-plist
--- p5-Shout.old/pkg-plist	Tue Dec 11 13:18:45 2001
+++ p5-Shout/pkg-plist	Tue Dec 11 13:07:35 2001
@@ -3,4 +3,8 @@
 lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Shout/Shout.bs
 lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Shout/Shout.so
 lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Shout/autosplit.ix
+%%PORTDOCS%%share/examples/p5-Shout/example.pl
+%%PORTDOCS%%share/examples/p5-Shout/example2.pl
+%%PORTDOCS%%@dirrm share/examples/p5-Shout
 @dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Shout
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PER_ARCH%%/auto/Shout 2>/dev/null || true
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200112111851.fBBIprF56362>