aboutsummaryrefslogtreecommitdiffstats
path: root/devel/cvsweb/Makefile
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2000-07-29 13:24:11 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2000-07-29 13:24:11 +0000
commit3c1c50d57e995a35a7509f9f6d4d08dfe881bd3d (patch)
treeb2f0319c05b7f3114132ccbd7f6ac850b693b202 /devel/cvsweb/Makefile
parentb8fbdda745408d8ce4d8fcf65d7538bf8577649f (diff)
Update with my development branch of cvsweb.
PORTVERSION 1.93.1.9 indicates that it's knu's cvsweb rev. 1.9, based on Zeller's cvsweb rev. 1.93. I'll keep merging all the changes that will be made on Zeller's version as well as enhancing it to meet our needs. :) Below is an excerpt from README.knu. ---- Added features over Zeller's version: o Customizable "show functions" option You can specify a regexp for each file type to teach rcsdiff(1) to recognize function lines. o Customizable PR categories o Move $prcgi to cvsweb.conf Now each repository can have its own PR categories and query-pr.cgi URL, which can be defined in cvsweb.conf-${cvstree}. It is useful when you have such as NetBSD and/or OpenBSD repositories. o Improved support for text-based browsers Unidiff is the default format for diffs, for text-based browsers. o Enhance hyperlinking PR # feature. The following PR numbers will all be hyperlinked. :) PR: 12345, 67890, .. PR: #12345, #67890, .. PR# sparc/12345, i386/67890 PR: ports/43210 kern/98765 .. is related to bin/4567, which is ...
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: