aboutsummaryrefslogtreecommitdiff
path: root/sysutils/cvsweb-converters/Makefile
diff options
context:
space:
mode:
authorJun Kuriyama <kuriyama@FreeBSD.org>2001-03-23 03:03:05 +0000
committerJun Kuriyama <kuriyama@FreeBSD.org>2001-03-23 03:03:05 +0000
commit83dd1a755389e4c946877e985f60275ec454044a (patch)
tree6fa9f1e5d61e3ba8eab796e5ef157b8d2efd8218 /sysutils/cvsweb-converters/Makefile
parentae40234bdf30b3c4c63223a207a3a12aa90e7e29 (diff)
downloadports-83dd1a755389e4c946877e985f60275ec454044a.tar.gz
ports-83dd1a755389e4c946877e985f60275ec454044a.zip
Notes
Diffstat (limited to 'sysutils/cvsweb-converters/Makefile')
-rw-r--r--sysutils/cvsweb-converters/Makefile25
1 files changed, 14 insertions, 11 deletions
diff --git a/sysutils/cvsweb-converters/Makefile b/sysutils/cvsweb-converters/Makefile
index 9d08e2eb34dd..46ad0020bc7b 100644
--- a/sysutils/cvsweb-converters/Makefile
+++ b/sysutils/cvsweb-converters/Makefile
@@ -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}