2004-02-01 14:47:27 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.30 2004/02/01 19:47:27 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"
|
|
|
|
|
2002-10-04 15:21:48 -04:00
|
|
|
DISTNAME= cvsweb-2.0.6
|
2003-08-16 14:12:10 -04:00
|
|
|
PKGNAME= ${DISTNAME}p0
|
2000-10-01 15:18:53 -04:00
|
|
|
CATEGORIES= devel www
|
2002-07-07 08:31:09 -04:00
|
|
|
HOMEPAGE= http://www.freebsd.org/projects/cvsweb.html
|
2000-10-01 15:18:53 -04:00
|
|
|
|
|
|
|
MAINTAINER= Christian Weisgerber <naddy@openbsd.org>
|
|
|
|
|
2001-11-08 09:28:55 -05:00
|
|
|
# BSD
|
2000-10-01 15:18:53 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
2002-07-07 08:31:09 -04:00
|
|
|
MASTER_SITES= ${MASTER_SITE_FREEBSD_LOCAL:=scop/} \
|
|
|
|
http://people.FreeBSD.org/~scop/cvsweb/
|
2000-10-01 15:18:53 -04:00
|
|
|
|
|
|
|
NO_BUILD= Yes
|
2001-10-25 12:14:51 -04:00
|
|
|
NO_REGRESS= Yes
|
2004-02-01 14:47:27 -05:00
|
|
|
PKG_ARCH= *
|
2000-10-01 15:18:53 -04:00
|
|
|
|
|
|
|
PREFIX= /var/www
|
2003-05-13 18:53:58 -04:00
|
|
|
CONFDIR= ${PREFIX}/conf
|
2000-10-01 15:18:53 -04:00
|
|
|
|
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
|
|
|
|
|
2003-05-13 18:53:58 -04:00
|
|
|
SUBST_VARS= CONFDIR
|
|
|
|
|
2000-10-01 15:18:53 -04:00
|
|
|
do-configure:
|
2003-08-16 19:18:41 -04:00
|
|
|
@perl -i -pe 's@%%CONFDIR%%@${CONFDIR}@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
|
2003-05-13 18:53:58 -04:00
|
|
|
${INSTALL_DATA_DIR} ${CONFDIR}/cvsweb
|
2001-01-02 19:51:40 -05:00
|
|
|
.for file in ${CONFFILES}
|
2003-05-13 18:53:58 -04:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/${file} ${CONFDIR}/cvsweb/${file}.dist
|
2001-01-02 19:51:40 -05:00
|
|
|
.endfor
|
2004-02-01 14:47:27 -05:00
|
|
|
${INSTALL_DATA} ${FILESDIR}/README.chroot ${CONFDIR}/cvsweb/
|
2001-01-02 19:51:40 -05:00
|
|
|
${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>
|