1999-07-26 14:06:45 -04:00
|
|
|
# New ports collection makefile for: cvsweb
|
|
|
|
# Version required: 1.0
|
|
|
|
# Date created: 27 Jun 1999
|
|
|
|
# Whom: SADA Kenji <sada@FreeBSD.ORG>
|
|
|
|
#
|
1999-08-25 01:57:29 -04:00
|
|
|
# $FreeBSD$
|
1999-07-26 14:06:45 -04:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= cvsweb-1.0
|
1999-07-26 14:17:00 -04:00
|
|
|
CATEGORIES= devel www
|
1999-07-26 14:06:45 -04:00
|
|
|
MASTER_SITES= http://www.freebsd.org/~fenner/cvsweb/
|
|
|
|
|
|
|
|
MAINTAINER= sada@FreeBSD.ORG
|
|
|
|
|
|
|
|
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 14:17:00 -04:00
|
|
|
.if !defined(PACKAGE_BUILDING)
|
1999-07-26 14:21:22 -04:00
|
|
|
@PKG_PREFIX=${PREFIX} ${SH} ${PKGREQ} ${PKGNAME} INSTALL
|
1999-07-26 14:17:00 -04:00
|
|
|
.endif
|
1999-08-08 13:50:37 -04:00
|
|
|
@${MKDIR} ${PREFIX}/share/apache/cgi-bin
|
|
|
|
@${INSTALL_SCRIPT} ${WRKDIR}/cvsweb ${PREFIX}/share/apache/cgi-bin/
|
1999-07-26 14:06:45 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|