1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-01 22:05:08 +00:00
freebsd-ports/devel/cvsweb/Makefile
Akinori MUSHA 540b845132 Mostly minor changes.
Changes:
  - get to install README
  - change the maintainter

And because Apache isn't the only web server and the configurations may vary;
  - stop trying to check if any web server is installed
  - allow a user to specify a cgi-bin directory to install
  - stop using icons that Apache installs by default
  - rename the script from cvsweb to cvsweb.cgi

Approved by:	sada
2000-03-23 05:00:34 +00:00

48 lines
1.1 KiB
Makefile

# New ports collection makefile for: cvsweb
# Version required: 1.0
# Date created: 27 Jun 1999
# Whom: SADA Kenji <sada@FreeBSD.org>
#
# $FreeBSD$
#
DISTNAME= cvsweb-1.0
CATEGORIES= devel www
MASTER_SITES= http://people.FreeBSD.org/~fenner/cvsweb/
MAINTAINER= knu@idaemons.org
NO_BUILD= yes
# Specify where your repository belongs.
# (You can reconfigure it after installation anyway)
.if defined(PACKAGE_BUILDING) || !defined(CVSROOT) || empty(CVSROOT)
CVSROOT= /home/ncvs
.endif
# 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}"
do-configure:
${SED} -e "s;!!CVSROOT!!;${CVSROOT};g" \
-e "s;!!TITLE!!;${TITLE};g" \
${WRKSRC}/cvsweb > ${WRKSRC}/cvsweb.cgi
do-install:
${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/
.endif
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>