mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
Update to 2.0.1
This commit is contained in:
parent
978782db68
commit
123e52fdda
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=109135
@ -6,29 +6,32 @@
|
||||
#
|
||||
|
||||
PORTNAME= Shout
|
||||
PORTVERSION= 1.0
|
||||
PORTVERSION= 2.0.1
|
||||
CATEGORIES= audio perl5
|
||||
MASTER_SITES= # http://www.icecast.org/files/libshout/
|
||||
MASTER_SITES= http://www.icecast.org/files/libshout/
|
||||
PKGNAMEPREFIX= p5-
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
MAINTAINER= mat@FreeBSD.org
|
||||
COMMENT= Perl glue for libshout MP3 streaming source library
|
||||
|
||||
LIB_DEPENDS= shout.2:${PORTSDIR}/audio/libshout
|
||||
LIB_DEPENDS= shout.3:${PORTSDIR}/audio/libshout2
|
||||
|
||||
PERL_CONFIGURE= yes
|
||||
|
||||
MAN3= Shout.3
|
||||
|
||||
pre-configure:
|
||||
${MKDIR} ${WRKSRC}/examples
|
||||
${MV} ${WRKSRC}/example.pl ${WRKSRC}/example2.pl ${WRKSRC}/examples
|
||||
DOCSDIR= ${PREFIX}/share/examples/${PKGNAMEPREFIX}${PORTNAME}
|
||||
|
||||
post-patch:
|
||||
@${PERL} -i -pe 's/CCFLAGS/INC/;' ${WRKSRC}/Makefile.PL
|
||||
|
||||
post-configure:
|
||||
@${PERL} -i -pe '$$_ .= " ${PTHREAD_LIBS}" if /^LDDLFLAGS/;' ${WRKSRC}/Makefile
|
||||
|
||||
post-install:
|
||||
.ifndef(NOPORTDOCS)
|
||||
@${MKDIR} ${PREFIX}/share/examples/${PKGNAMEPREFIX}${PORTNAME}
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/examples/* \
|
||||
${PREFIX}/share/examples/${PKGNAMEPREFIX}${PORTNAME}
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/example*.pl ${DOCSDIR}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,2 +1,2 @@
|
||||
MD5 (Shout-1.0.tar.gz) = f5cba6e7a8b6b1462b9c17bdcdf6216a
|
||||
SIZE (Shout-1.0.tar.gz) = 8799
|
||||
MD5 (Shout-2.0.1.tar.gz) = dcfd725f2411cd5e44ce00648878fc39
|
||||
SIZE (Shout-2.0.1.tar.gz) = 8876
|
||||
|
@ -1,23 +0,0 @@
|
||||
--- 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',
|
||||
'VERSION_FROM' => 'Shout.pm', # finds $VERSION
|
||||
- 'LIBS' => ['-lshout'], # e.g., '-lm'
|
||||
+ 'LIBS' => ['-L/usr/local/lib -lshout'], # e.g., '-lm'
|
||||
'DEFINE' => '', # e.g., '-DHAVE_SOMETHING'
|
||||
- 'INC' => '', # e.g., '-I/usr/include/other'
|
||||
+ '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
|
@ -1,20 +0,0 @@
|
||||
--- 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:
|
@ -3,8 +3,11 @@
|
||||
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Shout/Shout.bs
|
||||
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Shout/Shout.so
|
||||
%%SITE_PERL%%/%%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
|
||||
%%SITE_PERL%%/%%PERL_ARCH%%/example.pl
|
||||
%%SITE_PERL%%/%%PERL_ARCH%%/example2.pl
|
||||
%%PORTDOCS%%%%DOCSDIR%%/example.pl
|
||||
%%PORTDOCS%%%%DOCSDIR%%/example2.pl
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
||||
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Shout
|
||||
@unexec rmdir %D/%%SITE_PERL%%/%%PER_ARCH%%/auto/Shout 2>/dev/null || true
|
||||
@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto 2>/dev/null || true
|
||||
@unexec rmdir %D/%%SITE_PERL%%/mach 2>/dev/null || true
|
||||
|
Loading…
Reference in New Issue
Block a user