1999-07-26 18:06:45 +00:00
|
|
|
# New ports collection makefile for: cvsweb
|
|
|
|
# Version required: 1.0
|
|
|
|
# Date created: 27 Jun 1999
|
1999-08-31 06:53:31 +00:00
|
|
|
# Whom: SADA Kenji <sada@FreeBSD.org>
|
1999-07-26 18:06:45 +00:00
|
|
|
#
|
1999-08-25 05:57:29 +00:00
|
|
|
# $FreeBSD$
|
1999-07-26 18:06:45 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= cvsweb-1.0
|
1999-07-26 18:17:00 +00:00
|
|
|
CATEGORIES= devel www
|
2000-02-08 09:29:51 +00:00
|
|
|
MASTER_SITES= http://people.FreeBSD.org/~fenner/cvsweb/
|
1999-07-26 18:06:45 +00:00
|
|
|
|
1999-08-31 06:53:31 +00:00
|
|
|
MAINTAINER= sada@FreeBSD.org
|
1999-07-26 18:06:45 +00:00
|
|
|
|
|
|
|
NO_BUILD= yes
|
|
|
|
|
|
|
|
# could be overridden.
|
|
|
|
CVSROOT?= '/home/ncvs'
|
|
|
|
CVSWEB_CVSROOT?= ${CVSROOT}
|
|
|
|
CVSWEB_TITLE?= 'My CVS Tree'
|
|
|
|
.if defined(PACKAGE_BUILDING)
|
|
|
|
CVSWEB_CVSROOT= /home/ncvs
|
|
|
|
.endif
|
|
|
|
|
|
|
|
do-configure:
|
|
|
|
@${SED} -e "s;@@CVSROOT@@;${CVSWEB_CVSROOT};g" \
|
|
|
|
-e "s;@@TITLE@@;${CVSWEB_TITLE};g" \
|
|
|
|
${WRKSRC}/cvsweb > ${WRKDIR}/cvsweb
|
|
|
|
|
|
|
|
do-install:
|
1999-07-26 18:17:00 +00:00
|
|
|
.if !defined(PACKAGE_BUILDING)
|
1999-07-26 18:21:22 +00:00
|
|
|
@PKG_PREFIX=${PREFIX} ${SH} ${PKGREQ} ${PKGNAME} INSTALL
|
1999-07-26 18:17:00 +00:00
|
|
|
.endif
|
1999-08-08 17:50:37 +00:00
|
|
|
@${MKDIR} ${PREFIX}/share/apache/cgi-bin
|
|
|
|
@${INSTALL_SCRIPT} ${WRKDIR}/cvsweb ${PREFIX}/share/apache/cgi-bin/
|
1999-07-26 18:06:45 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|