The cvsweb WWW CGI script allows remote users to browse a CVS repository tree via the web. It can display the revision history of a file, as well as diffs between revisions, and download the whole file.
34 lines
927 B
Makefile
34 lines
927 B
Makefile
# $OpenBSD: Makefile,v 1.1.1.1 2000/10/01 19:18:53 naddy Exp $
|
|
# $FreeBSD: ports/devel/cvsweb/Makefile,v 1.28 2000/09/23 20:48:45 knu Exp $
|
|
|
|
DISTNAME= cvsweb-1.103.1.30
|
|
CATEGORIES= devel www
|
|
NEED_VERSION= 1.337
|
|
HOMEPAGE= http://stud.fh-heilbronn.de/~zeller/cgi/cvsweb.cgi/
|
|
|
|
MAINTAINER= Christian Weisgerber <naddy@openbsd.org>
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
MASTER_SITES= ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/knu/
|
|
|
|
NO_BUILD= Yes
|
|
WRKDIST= ${WRKDIR}/cvsweb
|
|
|
|
PREFIX= /var/www
|
|
SYSCONFDIR= ${PREFIX}/conf
|
|
|
|
do-configure:
|
|
perl -i -pe 's@%%SYSCONFDIR%%@${SYSCONFDIR}@g' ${WRKSRC}/cvsweb.cgi
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT_DIR} ${PREFIX}/cgi-bin
|
|
${INSTALL_SCRIPT} ${WRKSRC}/cvsweb.cgi ${PREFIX}/cgi-bin/cvsweb
|
|
${INSTALL_DATA_DIR} ${SYSCONFDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/cvsweb.conf ${SYSCONFDIR}/cvsweb.conf-dist
|
|
|
|
.include <bsd.port.mk>
|