aboutsummaryrefslogtreecommitdiff
path: root/devel/websvn
diff options
context:
space:
mode:
authorMartin Matuska <mm@FreeBSD.org>2007-09-05 08:24:14 +0000
committerMartin Matuska <mm@FreeBSD.org>2007-09-05 08:24:14 +0000
commit7a14f0c6826884367bf826eab4c3248a9f0e9bb1 (patch)
treefb803bc97bc7c006a5b0a65249bce4b1a3c2283a /devel/websvn
parent862d8c993a081f2db765a288096eefb4ada6d909 (diff)
downloadports-7a14f0c6826884367bf826eab4c3248a9f0e9bb1.tar.gz
ports-7a14f0c6826884367bf826eab4c3248a9f0e9bb1.zip
Notes
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