aboutsummaryrefslogtreecommitdiffstats
path: root/devel/cvsweb3
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2000-03-23 20:02:34 +0800
committerknu <knu@FreeBSD.org>2000-03-23 20:02:34 +0800
commitfb23f9ffd074e54e7207c19e08a70d5604ab15d2 (patch)
tree5ba9cf6b0083fc468bbebe7a93a68d46f0cb0340 /devel/cvsweb3
parent287b1bb4d7088384364b01ec43fe2c779bb62b5b (diff)
downloadfreebsd-ports-gnome-fb23f9ffd074e54e7207c19e08a70d5604ab15d2.tar.gz
freebsd-ports-gnome-fb23f9ffd074e54e7207c19e08a70d5604ab15d2.tar.zst
freebsd-ports-gnome-fb23f9ffd074e54e7207c19e08a70d5604ab15d2.zip
Update to Henner Zeller's cvsweb. (Rev. 1.80)
If you prefer as simple view as before, you can easily customize so. Enjoy it. PR: ports/17388 Submitted by: myself Approved by: Bill Fenner <fenner@freebsd.org> (The original author of cvsweb)
Diffstat (limited to 'devel/cvsweb3')
-rw-r--r--devel/cvsweb3/Makefile26
-rw-r--r--devel/cvsweb3/distinfo2
-rw-r--r--devel/cvsweb3/pkg-comment2
-rw-r--r--devel/cvsweb3/pkg-descr11
-rw-r--r--devel/cvsweb3/pkg-message13
-rw-r--r--devel/cvsweb3/pkg-plist12
6 files changed, 47 insertions, 19 deletions
diff --git a/devel/cvsweb3/Makefile b/devel/cvsweb3/Makefile
index fc729a06fd4d..b61866d0237b 100644
--- a/devel/cvsweb3/Makefile
+++ b/devel/cvsweb3/Makefile
@@ -1,14 +1,14 @@
# New ports collection makefile for: cvsweb
-# Version required: 1.0
+# Version required: 1.80
# Date created: 27 Jun 1999
# Whom: SADA Kenji <sada@FreeBSD.org>
#
# $FreeBSD$
#
-DISTNAME= cvsweb-1.0
+DISTNAME= cvsweb-1.80
CATEGORIES= devel www
-MASTER_SITES= http://people.FreeBSD.org/~fenner/cvsweb/
+MASTER_SITES= http://stud.fh-heilbronn.de/~zeller/download/
MAINTAINER= knu@idaemons.org
@@ -23,22 +23,30 @@ CVSROOT= /home/ncvs
# Specify the title of your cvsweb site.
TITLE?= My CVS Repository
-# Specify the cgi-bin directory in relative paths to ${PREFIX}.
+# Specify these directories in relative paths to ${PREFIX}.
CGIDIR?= share/apache/cgi-bin
+ICONSDIR?= share/apache/icons
-PLIST_SUB= CGIDIR="${CGIDIR}"
+PLIST_SUB= CGIDIR="${CGIDIR}" ICONSDIR="${ICONSDIR}"
+
+WRKSRC= ${WRKDIR}/cvsweb
do-configure:
- ${SED} -e "s;!!CVSROOT!!;${CVSROOT};g" \
- -e "s;!!TITLE!!;${TITLE};g" \
- ${WRKSRC}/cvsweb > ${WRKSRC}/cvsweb.cgi
+ cd ${WRKSRC} && ${PERL} -i -pe "\
+ s;!!PREFIX!!;${PREFIX};g; \
+ s;!!CVSROOT!!;${CVSROOT};g; \
+ s;!!TITLE!!;${TITLE};g; \
+ " cvsweb.cgi cvsweb.conf
do-install:
${MKDIR} ${PREFIX}/${CGIDIR}
${INSTALL_SCRIPT} ${WRKSRC}/cvsweb.cgi ${PREFIX}/${CGIDIR}/
+ ${INSTALL_DATA} ${WRKSRC}/cvsweb.conf ${PREFIX}/etc/cvsweb.conf.sample
+ ${MKDIR} ${PREFIX}/${ICONSDIR}/cvsweb
+ cd ${WRKSRC}/icons && ${INSTALL_DATA} * ${PREFIX}/${ICONSDIR}/cvsweb/
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/cvsweb
- cd ${WRKSRC} && ${INSTALL_DATA} README ${PREFIX}/share/doc/cvsweb/
+ cd ${WRKSRC} && ${INSTALL_DATA} INSTALL README TODO ${PREFIX}/share/doc/cvsweb/
.endif
post-install:
diff --git a/devel/cvsweb3/distinfo b/devel/cvsweb3/distinfo
index 121f56fbacea..096c2391eb1f 100644
--- a/devel/cvsweb3/distinfo
+++ b/devel/cvsweb3/distinfo
@@ -1 +1 @@
-MD5 (cvsweb-1.0.tar.gz) = 43302bfa9ae88d0ed7f60bfb2bb53de2
+MD5 (cvsweb-1.80.tar.gz) = 689e19e1cd1aa7dda4eaeb457a6fa156
diff --git a/devel/cvsweb3/pkg-comment b/devel/cvsweb3/pkg-comment
index 4a8d068fcc9a..343cffaaf5cf 100644
--- a/devel/cvsweb3/pkg-comment
+++ b/devel/cvsweb3/pkg-comment
@@ -1 +1 @@
-WWW CGI script to browse a CVS repository tree
+WWW CGI script to browse CVS repository trees (Zeller's version)
diff --git a/devel/cvsweb3/pkg-descr b/devel/cvsweb3/pkg-descr
index a4e7e38311e5..ec6d89517c41 100644
--- a/devel/cvsweb3/pkg-descr
+++ b/devel/cvsweb3/pkg-descr
@@ -3,5 +3,12 @@ a CVS repository tree via web. It can display the revision history of
a file, as well as diffs between revisions and downloading the whole
file.
-AUTHOR: Bill Fenner <fenner@FreeBSD.org>
-WWW: http://people.FreeBSD.org/~fenner/cvsweb/
+The cvsweb script has been written by Bill Fenner <fenner@FreeBSD.org>
+for the FreeBSD project, improved visually and functionally by Henner
+Zeller <zeller@think.de>, Henrik Nordstrom <hno@hem.passagen.se>, and
+Ken Coar <Ken.Coar@Golux.Com>, to be adopted by the NetBSD project.
+
+As space is lacking to list all the improvements over the original,
+please refer to the documents after the installation.
+
+WWW: http://stud.fh-heilbronn.de/~zeller/cgi/cvsweb.cgi/
diff --git a/devel/cvsweb3/pkg-message b/devel/cvsweb3/pkg-message
index 53f53b176e25..68c4eb088e3f 100644
--- a/devel/cvsweb3/pkg-message
+++ b/devel/cvsweb3/pkg-message
@@ -1,11 +1,14 @@
************************************************************
- Now you can browse your CVS repository via web if you set
-up your web server correctly. The URL to get to the cvsweb
+Quickstart:
+ cd /usr/local/etc
+ cp cvsweb.conf.sample cvsweb.conf
+
+and you can browse your CVS repository via web if you set up
+your web server correctly. The URL to get to the cvsweb
will be like `http://localhost/cgi-bin/cvsweb.cgi'.
- To configure its appearance and/or change the repository
-entry to browse, try editing the configuration section of
-cvsweb.cgi as you like.
+ To configure its appearance and repository entries to
+browse, try editing cvsweb.conf as you like.
For further information, please look into the directory
`/usr/local/share/doc/cvsweb/'.
diff --git a/devel/cvsweb3/pkg-plist b/devel/cvsweb3/pkg-plist
index a9af8b1fc8e8..08b0e14c4b08 100644
--- a/devel/cvsweb3/pkg-plist
+++ b/devel/cvsweb3/pkg-plist
@@ -1,3 +1,13 @@
-%%CGIDIR%%/cvsweb.cgi
+etc/cvsweb.conf.sample
+share/doc/cvsweb/INSTALL
share/doc/cvsweb/README
+share/doc/cvsweb/TODO
@dirrm share/doc/cvsweb
+%%CGIDIR%%/cvsweb.cgi
+%%ICONSDIR%%/cvsweb/back.gif
+%%ICONSDIR%%/cvsweb/dir.gif
+%%ICONSDIR%%/cvsweb/miniback.gif
+%%ICONSDIR%%/cvsweb/minidir.gif
+%%ICONSDIR%%/cvsweb/minitext.gif
+%%ICONSDIR%%/cvsweb/text.gif
+@dirrm %%ICONSDIR%%/cvsweb