summaryrefslogtreecommitdiff
path: root/www/cvsweb
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2001-11-28 14:00:47 +0000
committerjlam <jlam@pkgsrc.org>2001-11-28 14:00:47 +0000
commitf97ace6a37486d0e5aa0a59a704baeb25e383192 (patch)
tree059824cfcede31bbcb27179c3a8e1d3038c2fc7d /www/cvsweb
parentad1ab47c7b854743f0339a2d43e80e1ca6a44aaf (diff)
downloadpkgsrc-f97ace6a37486d0e5aa0a59a704baeb25e383192.tar.gz
Buildlinkify.
Diffstat (limited to 'www/cvsweb')
-rw-r--r--www/cvsweb/Makefile14
1 files changed, 4 insertions, 10 deletions
diff --git a/www/cvsweb/Makefile b/www/cvsweb/Makefile
index bf16030fc76..8ab821f8274 100644
--- a/www/cvsweb/Makefile
+++ b/www/cvsweb/Makefile
@@ -1,5 +1,5 @@
#
-# $NetBSD: Makefile,v 1.6 2001/11/25 18:59:49 jlam Exp $
+# $NetBSD: Makefile,v 1.7 2001/11/28 14:00:47 jlam Exp $
#
DISTNAME= cvsweb-1.112
@@ -12,15 +12,8 @@ COMMENT= Web interface for browsing a CVS repository
DEPENDS+= apache{,6}-[0-9]*:../../www/apache
-USE_PERL5= # defined
-
+USE_BUILDLINK_ONLY= YES
WRKSRC= ${WRKDIR}/cvsweb
-NO_CONFIGURE= # defined
-
-DEINSTALL_FILE= ${WRKDIR}/DEINSTALL
-INSTALL_FILE= ${WRKDIR}/INSTALL
-
-.include "../../mk/bsd.prefs.mk"
PKG_SYSCONFSUBDIR?= httpd
EGDIR= ${PREFIX}/share/examples/${PKGBASE}
@@ -31,7 +24,7 @@ do-build:
${MV} ${WRKSRC}/cvsweb.cgi ${WRKSRC}/cvsweb.cgi.bak
${SED} -e 's,/usr/bin/perl,${PERL5},' \
-e 's,/usr/local/web/apache/conf/,${PKG_SYSCONFDIR}/,' \
- ${WRKSRC}/cvsweb.cgi.bak > ${WRKSRC}/cvsweb.cgi
+ ${WRKSRC}/cvsweb.cgi.bak > ${WRKSRC}/cvsweb.cgi
do-install:
${INSTALL_SCRIPT_DIR} ${PREFIX}/libexec/cgi-bin
@@ -43,5 +36,6 @@ do-install:
post-install:
PKG_PREFIX=${PREFIX} ${SH} ${INSTALL_FILE} ${PKGNAME} POST-INSTALL
+.include "../../lang/perl5/buildlink.mk"
.include "../../mk/bsd.pkg.install.mk"
.include "../../mk/bsd.pkg.mk"