aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2001-12-13 07:50:25 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2001-12-13 07:50:25 +0000
commit6b43aa6217e7f8936b436a78af480c250967da5e (patch)
tree32e1f31fca1019b590943fc7f96e7cdd9e76a725
parentccc0ead913625dd0af6158679d7dffde4804aac3 (diff)
downloadports-6b43aa6217e7f8936b436a78af480c250967da5e.tar.gz
ports-6b43aa6217e7f8936b436a78af480c250967da5e.zip
Notes
-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 b4c57f598722..3fad43f1a693 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 ad04a4b2fa47..0257e629f85b 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 8dcc1278f7f5..a0d33272a532 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 7ce76e1a4805..3b36ab4866a4 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 30f9f8a27b08..acbfaf590bc1 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