aboutsummaryrefslogtreecommitdiffstats
path: root/devel/cvsweb/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/cvsweb/Makefile')
-rw-r--r--devel/cvsweb/Makefile17
1 files changed, 10 insertions, 7 deletions
diff --git a/devel/cvsweb/Makefile b/devel/cvsweb/Makefile
index 0429a8db5a54..8a5480449b8f 100644
--- a/devel/cvsweb/Makefile
+++ b/devel/cvsweb/Makefile
@@ -6,16 +6,19 @@
#
PORTNAME= cvsweb
-PORTVERSION= 1.90
+PORTVERSION= ${REV_ZELLER}.${REV_KNU}
CATEGORIES= devel www
-MASTER_SITES= http://stud.fh-heilbronn.de/~zeller/download/ \
- ${MASTER_SITE_LOCAL}
+MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= knu
MAINTAINER= knu@FreeBSD.org
NO_BUILD= yes
+# This version of cvsweb is Zeller's version + knu's enhancements.
+REV_ZELLER= 1.93
+REV_KNU= 1.9
+
# Specify where your repository belongs.
# (You can reconfigure it after installation anyway)
.if defined(PACKAGE_BUILDING) || !defined(CVSROOT) || empty(CVSROOT)
@@ -35,9 +38,9 @@ WRKSRC= ${WRKDIR}/${PORTNAME}
do-configure:
cd ${WRKSRC} && ${PERL} -i -pe "\
- s;!!PREFIX!!;${PREFIX};g; \
- s;!!CVSROOT!!;${CVSROOT};g; \
- s;!!TITLE!!;${TITLE};g; \
+ s;/usr/local;${PREFIX};g; \
+ s;/home/cvs;${CVSROOT};g; \
+ s;'Local Repository';'${TITLE}';g; \
" cvsweb.cgi cvsweb.conf
do-install:
@@ -48,7 +51,7 @@ do-install:
cd ${WRKSRC}/icons && ${INSTALL_DATA} * ${PREFIX}/${ICONSDIR}/cvsweb/
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/cvsweb
- cd ${WRKSRC} && ${INSTALL_DATA} INSTALL README TODO ${PREFIX}/share/doc/cvsweb/
+ cd ${WRKSRC} && ${INSTALL_DATA} INSTALL README README.knu TODO ${PREFIX}/share/doc/cvsweb/
.endif
post-install: