aboutsummaryrefslogtreecommitdiffstats
path: root/devel/websvn
diff options
context:
space:
mode:
authormm <mm@FreeBSD.org>2007-09-05 16:24:14 +0800
committermm <mm@FreeBSD.org>2007-09-05 16:24:14 +0800
commit40dec7fd37dd0aa47bdb78765008c9b546e61505 (patch)
tree38c1441ce61d0b8db80b07c3425fca7b4a540bc5 /devel/websvn
parent554147cb29593b9e8f20b0f9e41163f1b344fd4a (diff)
downloadfreebsd-ports-gnome-40dec7fd37dd0aa47bdb78765008c9b546e61505.tar.gz
freebsd-ports-gnome-40dec7fd37dd0aa47bdb78765008c9b546e61505.tar.zst
freebsd-ports-gnome-40dec7fd37dd0aa47bdb78765008c9b546e61505.zip
- Update to 2.0
- Fix PHP dependencies - Remove dummy pkg-plist - Some minor fixes PR: ports/115965 Sumbitted by: mm Approved by: Yuan-Chung Hsiao <ychsiao at ychsiao.org> (maintainer)
Diffstat (limited to 'devel/websvn')
-rw-r--r--devel/websvn/Makefile17
-rw-r--r--devel/websvn/distinfo6
-rw-r--r--devel/websvn/files/pkg-message.in4
-rw-r--r--devel/websvn/pkg-message2
-rw-r--r--devel/websvn/pkg-plist1
5 files changed, 16 insertions, 14 deletions
diff --git a/devel/websvn/Makefile b/devel/websvn/Makefile
index 270984865c19..599a9a4480d8 100644
--- a/devel/websvn/Makefile
+++ b/devel/websvn/Makefile
@@ -6,24 +6,25 @@
#
PORTNAME= websvn
-PORTVERSION= 1.61
+PORTVERSION= 2.0
CATEGORIES= devel www
-MASTER_SITES= http://websvn.tigris.org/files/documents/1380/14334/
-DISTNAME= WebSVN_${PORTVERSION:S/.//}
+MASTER_SITES= http://websvn.tigris.org/files/documents/1380/39378/
MAINTAINER= ychsiao@ychsiao.org
COMMENT= Subversion repository web frontend
-USE_PHP= pcre zlib
+USE_PHP= iconv pcre xml
NO_BUILD= yes
-WRKSRC= ${WRKDIR}/WebSVN
-WEBSVNDIR?= www/data/WebSVN
+WEBSVNDIR?= www/data/websvn
PLIST= ${WRKDIR}/pkg-plist
+SUB_FILES= pkg-message
+SUB_LIST+= WEBSVNDIR="${WEBSVNDIR}"
+
pre-install:
- @${TR} -d '\r' < ${WRKSRC}/include/distconfig.inc > ${WRKSRC}/include/config.inc
- cd ${WRKSRC} && ${FIND} -s * -type f | \
+ @cd ${WRKSRC} && ${RMDIR} temp www
+ @cd ${WRKSRC} && ${FIND} -s * -type f | \
${SED} -e 's|^|${WEBSVNDIR}/|' > ${PLIST} \
&& ${FIND} -d * -type d | \
${SED} -e 's|^|@dirrm ${WEBSVNDIR}/|' >> ${PLIST} \
diff --git a/devel/websvn/distinfo b/devel/websvn/distinfo
index eacbb61a2ffd..5db03eea06ba 100644
--- a/devel/websvn/distinfo
+++ b/devel/websvn/distinfo
@@ -1,3 +1,3 @@
-MD5 (WebSVN_161.tar.gz) = 9f81a3793d08bde2e425d2c98f923875
-SHA256 (WebSVN_161.tar.gz) = f419aaca535bcfb06dc96b5575e84cefc6d8e1487c52c564c8eebfd633537e08
-SIZE (WebSVN_161.tar.gz) = 89305
+MD5 (websvn-2.0.tar.gz) = 047e02c0fa2948fdf98a3e348e3f1530
+SHA256 (websvn-2.0.tar.gz) = 38104a86d6a90bb3f18a5b0a957b46cf0c1409037bb2a83c09e9f24543cfa2ea
+SIZE (websvn-2.0.tar.gz) = 172005
diff --git a/devel/websvn/files/pkg-message.in b/devel/websvn/files/pkg-message.in
new file mode 100644
index 000000000000..c8c2fcda298e
--- /dev/null
+++ b/devel/websvn/files/pkg-message.in
@@ -0,0 +1,4 @@
+----------------------------------------------------
+To setup websvn, please edit the configuration file:
+%%PREFIX%%/%%WEBSVNDIR%%/include/config.php
+----------------------------------------------------
diff --git a/devel/websvn/pkg-message b/devel/websvn/pkg-message
deleted file mode 100644
index 07b03b04d6a7..000000000000
--- a/devel/websvn/pkg-message
+++ /dev/null
@@ -1,2 +0,0 @@
-To make websvn workable, please
-Edit ${PREFIX}/${WEBSVNDIR}/include/config.inc manually.
diff --git a/devel/websvn/pkg-plist b/devel/websvn/pkg-plist
deleted file mode 100644
index d0ac09258d04..000000000000
--- a/devel/websvn/pkg-plist
+++ /dev/null
@@ -1 +0,0 @@
-@comment real PLIST will be generated in pre-install phase