aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2000-10-21 05:31:02 +0800
committerknu <knu@FreeBSD.org>2000-10-21 05:31:02 +0800
commit7b09306f7fd79ef4cc5dbaaf3e52f5ea0fd1e67d (patch)
tree4ef70423fe9a11524fa0a2840660220eb407f0c4
parent99ad050c8bbe577f9bb016030cf5736687448da7 (diff)
downloadfreebsd-ports-gnome-7b09306f7fd79ef4cc5dbaaf3e52f5ea0fd1e67d.tar.gz
freebsd-ports-gnome-7b09306f7fd79ef4cc5dbaaf3e52f5ea0fd1e67d.tar.zst
freebsd-ports-gnome-7b09306f7fd79ef4cc5dbaaf3e52f5ea0fd1e67d.zip
Install TODO.knu too.
Install under ${PREFIX}/www when it exists or ${PREFIX}/share/apache does not exist. Submitted by: jeh
-rw-r--r--devel/cvsweb/Makefile8
-rw-r--r--devel/cvsweb/pkg-plist1
-rw-r--r--devel/cvsweb3/Makefile8
-rw-r--r--devel/cvsweb3/pkg-plist1
4 files changed, 16 insertions, 2 deletions
diff --git a/devel/cvsweb/Makefile b/devel/cvsweb/Makefile
index e454a3da3e56..2f291b670209 100644
--- a/devel/cvsweb/Makefile
+++ b/devel/cvsweb/Makefile
@@ -7,6 +7,7 @@
PORTNAME= cvsweb
PORTVERSION= ${REV_ZELLER}.${REV_KNU}
+PORTREVISION= 1
CATEGORIES= devel www
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= knu
@@ -31,8 +32,13 @@ CVSROOT= /home/cvs
TITLE?= My CVS Repository
# Specify these directories in relative paths to ${PREFIX}.
+.if !exists(${PREFIX}/www) && exists(${PREFIX}/share/apache)
CGIDIR?= share/apache/cgi-bin
ICONSDIR?= share/apache/icons
+.else
+CGIDIR?= www/cgi-bin
+ICONSDIR?= www/icons
+.endif
PLIST_SUB= CGIDIR="${CGIDIR}" ICONSDIR="${ICONSDIR}"
@@ -54,7 +60,7 @@ do-install:
cd ${WRKSRC}/icons && ${INSTALL_DATA} * ${PREFIX}/${ICONSDIR}/cvsweb/
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/cvsweb
- cd ${WRKSRC} && ${INSTALL_DATA} ChangeLog INSTALL README README.knu TODO ${PREFIX}/share/doc/cvsweb/
+ cd ${WRKSRC} && ${INSTALL_DATA} ChangeLog INSTALL README README.knu TODO TODO.knu ${PREFIX}/share/doc/cvsweb/
.endif
post-install:
diff --git a/devel/cvsweb/pkg-plist b/devel/cvsweb/pkg-plist
index b23ae02ab13d..2adf440f50fb 100644
--- a/devel/cvsweb/pkg-plist
+++ b/devel/cvsweb/pkg-plist
@@ -4,6 +4,7 @@ share/doc/cvsweb/INSTALL
share/doc/cvsweb/README
share/doc/cvsweb/README.knu
share/doc/cvsweb/TODO
+share/doc/cvsweb/TODO.knu
@dirrm share/doc/cvsweb
%%CGIDIR%%/cvsweb.cgi
%%ICONSDIR%%/cvsweb/back.gif
diff --git a/devel/cvsweb3/Makefile b/devel/cvsweb3/Makefile
index e454a3da3e56..2f291b670209 100644
--- a/devel/cvsweb3/Makefile
+++ b/devel/cvsweb3/Makefile
@@ -7,6 +7,7 @@
PORTNAME= cvsweb
PORTVERSION= ${REV_ZELLER}.${REV_KNU}
+PORTREVISION= 1
CATEGORIES= devel www
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= knu
@@ -31,8 +32,13 @@ CVSROOT= /home/cvs
TITLE?= My CVS Repository
# Specify these directories in relative paths to ${PREFIX}.
+.if !exists(${PREFIX}/www) && exists(${PREFIX}/share/apache)
CGIDIR?= share/apache/cgi-bin
ICONSDIR?= share/apache/icons
+.else
+CGIDIR?= www/cgi-bin
+ICONSDIR?= www/icons
+.endif
PLIST_SUB= CGIDIR="${CGIDIR}" ICONSDIR="${ICONSDIR}"
@@ -54,7 +60,7 @@ do-install:
cd ${WRKSRC}/icons && ${INSTALL_DATA} * ${PREFIX}/${ICONSDIR}/cvsweb/
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/cvsweb
- cd ${WRKSRC} && ${INSTALL_DATA} ChangeLog INSTALL README README.knu TODO ${PREFIX}/share/doc/cvsweb/
+ cd ${WRKSRC} && ${INSTALL_DATA} ChangeLog INSTALL README README.knu TODO TODO.knu ${PREFIX}/share/doc/cvsweb/
.endif
post-install:
diff --git a/devel/cvsweb3/pkg-plist b/devel/cvsweb3/pkg-plist
index b23ae02ab13d..2adf440f50fb 100644
--- a/devel/cvsweb3/pkg-plist
+++ b/devel/cvsweb3/pkg-plist
@@ -4,6 +4,7 @@ share/doc/cvsweb/INSTALL
share/doc/cvsweb/README
share/doc/cvsweb/README.knu
share/doc/cvsweb/TODO
+share/doc/cvsweb/TODO.knu
@dirrm share/doc/cvsweb
%%CGIDIR%%/cvsweb.cgi
%%ICONSDIR%%/cvsweb/back.gif