freebsd-ports/sysutils/cvsweb-converters/Makefile
Pav Lucistnik 7531369d11 - Update to 0.2.1
- Reword a pkg-descr a bit

PR:		ports/59636
Submitted by:	Martin Kammerhofer <dada@sbox.tugraz.at> (maintainer)
2003-12-05 18:23:35 +00:00

42 lines
1.2 KiB
Makefile

# New ports collection makefile for: cvsweb-converters
# Date created: 4 Mar 2001
# Whom: Martin Kammerhofer <mkamm@gmx.net>
#
# $FreeBSD$
#
PORTNAME= cvsweb-converters
PORTVERSION= 0.2.1
CATEGORIES= sysutils
MASTER_SITES= http://www.sbox.TUGraz.at/home/d/dada/distfiles/
MAINTAINER= mkamm@gmx.net
COMMENT= Create hyperlinks to cvsweb from cvs[up] output or FreeBSD commitlogs
RUN_DEPENDS= ${SITE_PERL}/URI/Escape.pm:${PORTSDIR}/net/p5-URI \
${SITE_PERL}/${PERL_ARCH}/Compress/Zlib.pm:${PORTSDIR}/archivers/p5-Compress-Zlib \
${SITE_PERL}/Config/IniFiles.pm:${PORTSDIR}/devel/p5-Config-IniFiles \
${SITE_PERL}/Time/ParseDate.pm:${PORTSDIR}/devel/p5-Time-modules
NO_BUILD= yes
USE_PERL5= yes
post-patch:
@${PERL} -i -wpe ' \
s[ \@PREFIX\@ ](${PREFIX})gx; \
s[ \@PERL\@ ](${PERL})gx; \
' -- "${WRKSRC}"/*.pl.in
do-install:
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}
.include <bsd.port.mk>