2001-08-01 15:59:25 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.16 2001/08/01 19:59:25 naddy Exp $
|
2000-10-01 15:18:53 -04:00
|
|
|
# $FreeBSD: ports/devel/cvsweb/Makefile,v 1.28 2000/09/23 20:48:45 knu Exp $
|
|
|
|
|
2001-05-05 20:12:42 -04:00
|
|
|
COMMENT= "WWW CGI script to browse CVS repository trees"
|
|
|
|
|
2001-08-01 15:59:25 -04:00
|
|
|
DISTNAME= cvsweb-1.112.1.82
|
2000-10-01 15:18:53 -04:00
|
|
|
CATEGORIES= devel www
|
2001-05-05 20:12:42 -04:00
|
|
|
NEED_VERSION= 1.402
|
2001-08-01 15:59:25 -04:00
|
|
|
HOMEPAGE= http://www.idaemons.org/~knu/cvsweb/
|
2000-10-01 15:18:53 -04:00
|
|
|
|
|
|
|
MAINTAINER= Christian Weisgerber <naddy@openbsd.org>
|
|
|
|
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
2001-08-01 15:59:25 -04:00
|
|
|
MASTER_SITES= http://www.iDaemons.org/distfiles/ \
|
|
|
|
ftp://ftp.FreeBSD.org/pub/FreeBSD/%SUBDIR%/ \
|
2001-01-02 19:51:40 -05:00
|
|
|
ftp://ftp.jp.FreeBSD.org/pub/FreeBSD/%SUBDIR%/ \
|
2001-08-01 15:59:25 -04:00
|
|
|
ftp://ftp.se.FreeBSD.org/pub/FreeBSD/%SUBDIR%/
|
2001-01-02 19:51:40 -05:00
|
|
|
MASTER_SITE_SUBDIR= ports/local-distfiles/knu
|
2000-10-01 15:18:53 -04:00
|
|
|
|
|
|
|
NO_BUILD= Yes
|
|
|
|
WRKDIST= ${WRKDIR}/cvsweb
|
|
|
|
|
|
|
|
PREFIX= /var/www
|
|
|
|
SYSCONFDIR= ${PREFIX}/conf
|
|
|
|
|
2001-08-01 15:59:25 -04:00
|
|
|
CONFFILES= cvsweb.conf cvsweb.conf-freebsd cvsweb.conf-netbsd \
|
|
|
|
cvsweb.conf-openbsd cvsweb.conf-ruby
|
2001-01-02 19:51:40 -05:00
|
|
|
ICONS= back.gif dir.gif text.gif \
|
|
|
|
miniback.gif minidir.gif minitext.gif
|
|
|
|
|
2000-10-01 15:18:53 -04:00
|
|
|
do-configure:
|
2001-01-02 19:51:40 -05:00
|
|
|
@perl -i -pe 's@%%SYSCONFDIR%%@${SYSCONFDIR}@g' ${WRKSRC}/cvsweb.cgi
|
2000-10-01 15:18:53 -04:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_SCRIPT_DIR} ${PREFIX}/cgi-bin
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/cvsweb.cgi ${PREFIX}/cgi-bin/cvsweb
|
2001-01-02 19:51:40 -05:00
|
|
|
${INSTALL_DATA_DIR} ${SYSCONFDIR}/cvsweb
|
|
|
|
.for file in ${CONFFILES}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${file} ${SYSCONFDIR}/cvsweb/${file}.dist
|
|
|
|
.endfor
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/icons/cvsweb
|
|
|
|
.for file in ${ICONS}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/icons/${file} ${PREFIX}/icons/cvsweb/${file}
|
|
|
|
.endfor
|
2000-10-01 15:18:53 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|