aboutsummaryrefslogtreecommitdiffstats
path: root/audio/p5-Shout
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2001-12-13 15:50:25 +0800
committerijliao <ijliao@FreeBSD.org>2001-12-13 15:50:25 +0800
commit75f01d69c29a0b4fd695b05baa2de70a7f4f5593 (patch)
treef2fe18ec762e761d9997551a6670961d6a2b94c3 /audio/p5-Shout
parentdb3ecb26bee01bf1db4b8e124a6d8570ca7cde64 (diff)
downloadfreebsd-ports-graphics-75f01d69c29a0b4fd695b05baa2de70a7f4f5593.tar.gz
freebsd-ports-graphics-75f01d69c29a0b4fd695b05baa2de70a7f4f5593.tar.zst
freebsd-ports-graphics-75f01d69c29a0b4fd695b05baa2de70a7f4f5593.zip
upgrade to 1.0
PR: 32703 Submitted by: maintainer
Diffstat (limited to 'audio/p5-Shout')
-rw-r--r--audio/p5-Shout/Makefile14
-rw-r--r--audio/p5-Shout/distinfo2
-rw-r--r--audio/p5-Shout/files/patch-aa14
-rw-r--r--audio/p5-Shout/files/patch-ab30
-rw-r--r--audio/p5-Shout/pkg-plist4
5 files changed, 48 insertions, 16 deletions
diff --git a/audio/p5-Shout/Makefile b/audio/p5-Shout/Makefile
index b4c57f59872..3fad43f1a69 100644
--- a/audio/p5-Shout/Makefile
+++ b/audio/p5-Shout/Makefile
@@ -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 @@ MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
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 --git a/audio/p5-Shout/distinfo b/audio/p5-Shout/distinfo
index ad04a4b2fa4..0257e629f85 100644
--- a/audio/p5-Shout/distinfo
+++ b/audio/p5-Shout/distinfo
@@ -1 +1 @@
-MD5 (Shout-0.99.tar.gz) = a4cbf46d1107a54fff61d457ac46dd35
+MD5 (Shout-1.0.tar.gz) = f5cba6e7a8b6b1462b9c17bdcdf6216a
diff --git a/audio/p5-Shout/files/patch-aa b/audio/p5-Shout/files/patch-aa
index 8dcc1278f7f..a0d33272a53 100644
--- a/audio/p5-Shout/files/patch-aa
+++ b/audio/p5-Shout/files/patch-aa
@@ -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 --git a/audio/p5-Shout/files/patch-ab b/audio/p5-Shout/files/patch-ab
index 7ce76e1a480..3b36ab4866a 100644
--- a/audio/p5-Shout/files/patch-ab
+++ b/audio/p5-Shout/files/patch-ab
@@ -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 --git a/audio/p5-Shout/pkg-plist b/audio/p5-Shout/pkg-plist
index 30f9f8a27b0..acbfaf590bc 100644
--- a/audio/p5-Shout/pkg-plist
+++ b/audio/p5-Shout/pkg-plist
@@ -3,4 +3,8 @@ lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Shout/.packlist
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