1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-01 22:05:08 +00:00
freebsd-ports/devel/cvsweb/Makefile
SADA Kenji 521370ce36 Move category from net to devel.
Cope with package-build time problem.

Requested by: hoek
1999-07-26 18:17:00 +00:00

38 lines
879 B
Makefile

# New ports collection makefile for: cvsweb
# Version required: 1.0
# Date created: 27 Jun 1999
# Whom: SADA Kenji <sada@FreeBSD.ORG>
#
# $Id: Makefile,v 1.1.1.1 1999/07/26 18:06:44 sada Exp $
#
DISTNAME= cvsweb-1.0
CATEGORIES= devel www
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:
.if !defined(PACKAGE_BUILDING)
@if PKG_PREFIX=${PREFIX} ${SH} ${PKGREQ} ${PKGNAME} INSTALL
.endif
@${MKDIR} ${PREFIX}/www/cgi-bin
@${INSTALL_SCRIPT} ${WRKDIR}/cvsweb ${PREFIX}/www/cgi-bin/
.include <bsd.port.mk>