Upgrade to 0.2.
Submitted by: Martin Kammerhofer <mkamm@gmx.net> (maintainer) PR: ports/25874
This commit is contained in:
parent
ae40234bdf
commit
83dd1a7553
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=40239
5 changed files with 19 additions and 40 deletions
|
@ -6,31 +6,34 @@
|
|||
#
|
||||
|
||||
PORTNAME= cvsweb-converters
|
||||
PORTVERSION= 0.1
|
||||
PORTVERSION= 0.2
|
||||
CATEGORIES= sysutils
|
||||
MASTER_SITES= http://www.sbox.TUGraz.at/home/d/dada/distfiles/
|
||||
|
||||
MAINTAINER= mkamm@gmx.net
|
||||
|
||||
RUN_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/URI/Escape.pm:${PORTSDIR}/net/p5-URI \
|
||||
${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Compress/Zlib.pm:${PORTSDIR}/archivers/p5-Compress-Zlib
|
||||
${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Compress/Zlib.pm:${PORTSDIR}/archivers/p5-Compress-Zlib \
|
||||
${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Config/IniFiles.pm:${PORTSDIR}/devel/p5-Config-IniFiles \
|
||||
${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Time/ParseDate.pm:${PORTSDIR}/devel/p5-Time
|
||||
|
||||
NO_BUILD= yes
|
||||
USE_PERL5= yes
|
||||
|
||||
post-patch:
|
||||
@${PERL} -i -wpe ' \
|
||||
s[ /usr/local ](${PREFIX})gx; \
|
||||
s[ !!PERL!! ](${PERL})gx; \
|
||||
' -- "${WRKSRC}"/*.pl
|
||||
s[ \@PREFIX\@ ](${PREFIX})gx; \
|
||||
s[ \@PERL5\@ ](${PERL})gx; \
|
||||
' -- "${WRKSRC}"/*.pl.in
|
||||
|
||||
do-install:
|
||||
cd ${WRKSRC} && \
|
||||
${MKDIR} -- "${PREFIX}/bin" "${PREFIX}/etc" && \
|
||||
for f in *.pl; do \
|
||||
${INSTALL_SCRIPT} -- $$f "${PREFIX}/bin/`basename $$f .pl`"; \
|
||||
done && \
|
||||
${INSTALL_DATA} -- commitlog2cvsweb.conf.sample "${PREFIX}/etc"
|
||||
cd ${WRKSRC} && \
|
||||
${MKDIR} -- "${PREFIX}/bin" "${PREFIX}/etc" && \
|
||||
for f in cvsuplog2cvsweb.pl.in cvsrdiff2cvsweb.pl.in \
|
||||
commitlog2cvsweb.pl.in; do ${INSTALL_SCRIPT} -- \
|
||||
$$f "${PREFIX}/bin/`basename $$f .pl.in`"; \
|
||||
done && \
|
||||
${INSTALL_DATA} -- cvsweb-converters.conf.sample "${PREFIX}/etc"
|
||||
|
||||
post-install:
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
|
|
|
@ -1 +1 @@
|
|||
MD5 (cvsweb-converters-0.1.tar.gz) = ca234e394c61fead3d84d835a6e46214
|
||||
MD5 (cvsweb-converters-0.2.tar.gz) = 8df90d0b88e11e0089f979f24f462be0
|
||||
|
|
|
@ -1,24 +0,0 @@
|
|||
--- commitlog2cvsweb.pl~ Sun Mar 4 14:26:59 2001
|
||||
+++ commitlog2cvsweb.pl Sun Mar 4 17:26:00 2001
|
||||
@@ -1,4 +1,4 @@
|
||||
-#! /usr/bin/perl -wT
|
||||
+#! !!PERL!! -wT
|
||||
# Copyright ,A)(B 2001 Martin Kammerhofer <mkamm@gmx.net>
|
||||
# All rights reserved.
|
||||
#
|
||||
--- cvsrdiff2cvsweb.pl~ Sun Mar 4 14:27:19 2001
|
||||
+++ cvsrdiff2cvsweb.pl Sun Mar 4 17:26:00 2001
|
||||
@@ -1,4 +1,4 @@
|
||||
-#! /usr/bin/perl -wT
|
||||
+#! !!PERL!! -wT
|
||||
# Copyright ,A)(B 2001 Martin Kammerhofer <mkamm@gmx.net>
|
||||
# All rights reserved.
|
||||
#
|
||||
--- cvsuplog2cvsweb.pl~ Sun Mar 4 14:27:33 2001
|
||||
+++ cvsuplog2cvsweb.pl Sun Mar 4 17:26:00 2001
|
||||
@@ -1,4 +1,4 @@
|
||||
-#! /usr/bin/perl -wT
|
||||
+#! !!PERL!! -wT
|
||||
# Copyright ,A)(B 2001 Martin Kammerhofer <mkamm@gmx.net>
|
||||
# All rights reserved.
|
||||
#
|
|
@ -2,12 +2,12 @@
|
|||
If this is a first installation (not an upgrade) do this:
|
||||
|
||||
cd ${PREFIX}/etc
|
||||
cp commitlog2cvsweb.conf.sample commitlog2cvsweb.conf
|
||||
cp cvsweb-converters.conf.sample cvsweb-converters.conf
|
||||
|
||||
and edit commitlog2cvsweb.conf. Change $cvsweb to your nearest
|
||||
and edit cvsweb-converters.conf. Change cvsweb to your nearest
|
||||
cvsweb mirror. Check http://www.FreeBSD.org/support.html#cvs for
|
||||
cvsweb mirror sites.
|
||||
|
||||
Documentation is included inside the scripts in POD format.
|
||||
Use "perldoc <script>" to read the documentation for <script>.
|
||||
Invoke a script with option --help to read its documentation.
|
||||
******************************************************************
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
bin/commitlog2cvsweb
|
||||
bin/cvsrdiff2cvsweb
|
||||
bin/cvsuplog2cvsweb
|
||||
etc/commitlog2cvsweb.conf.sample
|
||||
etc/cvsweb-converters.conf.sample
|
||||
|
|
Loading…
Reference in a new issue