2012-08-18 12:41:37 +00:00
|
|
|
# $OpenBSD: Makefile,v 1.43 2012/08/18 12:41:38 ajacoutot Exp $
|
2000-10-01 19:18:53 +00:00
|
|
|
|
2007-09-16 02:52:56 +00:00
|
|
|
COMMENT= WWW CGI script to browse CVS repository trees
|
2001-05-06 00:12:42 +00:00
|
|
|
|
2002-10-04 19:21:48 +00:00
|
|
|
DISTNAME= cvsweb-2.0.6
|
2011-06-02 13:41:36 +00:00
|
|
|
REVISION = 11
|
2000-10-01 19:18:53 +00:00
|
|
|
CATEGORIES= devel www
|
2002-07-07 12:31:09 +00:00
|
|
|
HOMEPAGE= http://www.freebsd.org/projects/cvsweb.html
|
2000-10-01 19:18:53 +00:00
|
|
|
|
2001-11-08 14:28:55 +00:00
|
|
|
# BSD
|
2000-10-01 19:18:53 +00:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
2002-07-07 12:31:09 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_FREEBSD_LOCAL:=scop/} \
|
|
|
|
http://people.FreeBSD.org/~scop/cvsweb/
|
2000-10-01 19:18:53 +00:00
|
|
|
|
|
|
|
NO_BUILD= Yes
|
2001-10-25 16:14:51 +00:00
|
|
|
NO_REGRESS= Yes
|
2004-02-01 19:47:27 +00:00
|
|
|
PKG_ARCH= *
|
2000-10-01 19:18:53 +00:00
|
|
|
|
|
|
|
PREFIX= /var/www
|
2003-05-13 22:53:58 +00:00
|
|
|
CONFDIR= ${PREFIX}/conf
|
2000-10-01 19:18:53 +00:00
|
|
|
|
2001-08-01 19:59:25 +00:00
|
|
|
CONFFILES= cvsweb.conf cvsweb.conf-freebsd cvsweb.conf-netbsd \
|
|
|
|
cvsweb.conf-openbsd cvsweb.conf-ruby
|
2001-01-03 00:51:40 +00:00
|
|
|
ICONS= back.gif dir.gif text.gif \
|
|
|
|
miniback.gif minidir.gif minitext.gif
|
|
|
|
|
2003-05-13 22:53:58 +00:00
|
|
|
SUBST_VARS= CONFDIR
|
|
|
|
|
2000-10-01 19:18:53 +00:00
|
|
|
do-configure:
|
2003-08-16 23:18:41 +00:00
|
|
|
@perl -i -pe 's@%%CONFDIR%%@${CONFDIR}@g' ${WRKSRC}/cvsweb.cgi
|
2000-10-01 19:18:53 +00:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_SCRIPT_DIR} ${PREFIX}/cgi-bin
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/cvsweb.cgi ${PREFIX}/cgi-bin/cvsweb
|
2003-05-13 22:53:58 +00:00
|
|
|
${INSTALL_DATA_DIR} ${CONFDIR}/cvsweb
|
2001-01-03 00:51:40 +00:00
|
|
|
.for file in ${CONFFILES}
|
2003-05-13 22:53:58 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/${file} ${CONFDIR}/cvsweb/${file}.dist
|
2001-01-03 00:51:40 +00:00
|
|
|
.endfor
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/icons/cvsweb
|
|
|
|
.for file in ${ICONS}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/icons/${file} ${PREFIX}/icons/cvsweb/${file}
|
|
|
|
.endfor
|
2000-10-01 19:18:53 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|