blob: c6ef9311fa54d6226b85bb07b64947d57faa98f1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
#
# $NetBSD: Makefile,v 1.5 2001/11/19 16:23:14 jlam Exp $
#
DISTNAME= cvsweb-1.112
CATEGORIES= net
MASTER_SITES= http://stud.fh-heilbronn.de/~zeller/download/
MAINTAINER= kim@tac.nyc.ny.us
HOMEPAGE= http://stud.fh-heilbronn.de/~zeller/cgi/cvsweb.cgi/
COMMENT= Web interface for browsing a CVS repository
DEPENDS+= apache{,6}-[0-9]*:../../www/apache
USE_PERL5= # defined
WRKSRC= ${WRKDIR}/cvsweb
NO_CONFIGURE= # defined
DEINSTALL_FILE= ${WRKDIR}/DEINSTALL
INSTALL_FILE= ${WRKDIR}/INSTALL
.include "../../mk/bsd.prefs.mk"
APACHE_SYSCONFDIR?= ${CONFDIR}/httpd
EGDIR= ${PREFIX}/share/examples/${PKGBASE}
CONF_FILES= ${EGDIR}/cvsweb.conf.default ${APACHE_SYSCONFDIR}/cvsweb.conf
MAKE_DIRS= ${APACHE_SYSCONFDIR}
do-build:
${MV} ${WRKSRC}/cvsweb.cgi ${WRKSRC}/cvsweb.cgi.bak
${SED} -e 's,/usr/bin/perl,${PERL5},' \
-e 's,/usr/local/web/apache/conf/,${APACHE_SYSCONFDIR}/,' \
${WRKSRC}/cvsweb.cgi.bak > ${WRKSRC}/cvsweb.cgi
do-install:
${INSTALL_SCRIPT_DIR} ${PREFIX}/libexec/cgi-bin
${INSTALL_SCRIPT} ${WRKSRC}/cvsweb.cgi ${PREFIX}/libexec/cgi-bin
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/cvsweb
${INSTALL_DATA} ${WRKSRC}/cvsweb.conf \
${PREFIX}/share/examples/cvsweb/cvsweb.conf.default
post-install:
PKG_PREFIX=${PREFIX} ${SH} ${INSTALL_FILE} ${PKGNAME} POST-INSTALL
.include "../../mk/bsd.pkg.install.mk"
.include "../../mk/bsd.pkg.mk"
|