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
|
|
|
|
2000-03-23 05:00:34 +00:00
|
|
|
MAINTAINER= knu@idaemons.org
|
1999-07-26 18:06:45 +00:00
|
|
|
|
|
|
|
NO_BUILD= yes
|
|
|
|
|
2000-03-23 05:00:34 +00:00
|
|
|
# Specify where your repository belongs.
|
|
|
|
# (You can reconfigure it after installation anyway)
|
|
|
|
.if defined(PACKAGE_BUILDING) || !defined(CVSROOT) || empty(CVSROOT)
|
|
|
|
CVSROOT= /home/ncvs
|
1999-07-26 18:06:45 +00:00
|
|
|
.endif
|
|
|
|
|
2000-03-23 05:00:34 +00:00
|
|
|
# Specify the title of your cvsweb site.
|
|
|
|
TITLE?= My CVS Repository
|
|
|
|
|
|
|
|
# Specify the cgi-bin directory in relative paths to ${PREFIX}.
|
|
|
|
CGIDIR?= share/apache/cgi-bin
|
|
|
|
|
|
|
|
PLIST_SUB= CGIDIR="${CGIDIR}"
|
|
|
|
|
1999-07-26 18:06:45 +00:00
|
|
|
do-configure:
|
2000-03-23 05:00:34 +00:00
|
|
|
${SED} -e "s;!!CVSROOT!!;${CVSROOT};g" \
|
|
|
|
-e "s;!!TITLE!!;${TITLE};g" \
|
|
|
|
${WRKSRC}/cvsweb > ${WRKSRC}/cvsweb.cgi
|
1999-07-26 18:06:45 +00:00
|
|
|
|
|
|
|
do-install:
|
2000-03-23 05:00:34 +00:00
|
|
|
${MKDIR} ${PREFIX}/${CGIDIR}
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/cvsweb.cgi ${PREFIX}/${CGIDIR}/
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${MKDIR} ${PREFIX}/share/doc/cvsweb
|
|
|
|
cd ${WRKSRC} && ${INSTALL_DATA} README ${PREFIX}/share/doc/cvsweb/
|
1999-07-26 18:17:00 +00:00
|
|
|
.endif
|
2000-03-23 05:00:34 +00:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
@${CAT} ${PKGMESSAGE}
|
1999-07-26 18:06:45 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|