[Midnightbsd-cvs] mports: mports/devel: Add websvn

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Thu Aug 21 22:09:02 EDT 2008


Log Message:
-----------
Add websvn

Modified Files:
--------------
    mports/devel:
        Makefile (r1.232 -> r1.233)

Added Files:
-----------
    mports/devel/websvn:
        Makefile (r1.1)
        distinfo (r1.1)
        pkg-descr (r1.1)
    mports/devel/websvn/files:
        pkg-message.in (r1.1)

-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/devel/Makefile,v
retrieving revision 1.232
retrieving revision 1.233
diff -L devel/Makefile -L devel/Makefile -u -r1.232 -r1.233
--- devel/Makefile
+++ devel/Makefile
@@ -277,6 +277,7 @@
     SUBDIR += upnp
     SUBDIR += valgrind
     SUBDIR += viewvc
+    SUBDIR += websvn
     SUBDIR += wizardkit
     SUBDIR += yasm
     SUBDIR += zthread
--- /dev/null
+++ devel/websvn/pkg-descr
@@ -0,0 +1,7 @@
+WebSVN offers a view onto your subversion repositories that's been designed
+to reflect the Subversion methodology. You can view the log of any file or
+directory and see a list of all the files changed, added or deleted in any
+given revision. You can also view the differences between 2 versions of
+a file so as to see exactly what was changed in a particular revision.
+
+WWW: http://websvn.tigris.org/
--- /dev/null
+++ devel/websvn/Makefile
@@ -0,0 +1,42 @@
+# New ports collection makefile for:	websvn
+# Date created:				11 May 2004
+# Whom:					Yuan-Chung Hsiao (ychsiao at ychsiao.idv.tw)
+#
+# $MidnightBSD: mports/devel/websvn/Makefile,v 1.1 2008/08/22 02:09:00 laffer1 Exp $
+# $FreeBSD: ports/devel/websvn/Makefile,v 1.11 2007/09/05 08:24:14 mm Exp $
+#
+
+PORTNAME=	websvn
+PORTVERSION=	2.0
+CATEGORIES=	devel www
+MASTER_SITES=	http://websvn.tigris.org/files/documents/1380/39378/
+
+MAINTAINER=	ports at MidnightBSD.org
+COMMENT=	Subversion repository web frontend
+LICENSE=	gpl2
+
+USE_PHP=	iconv pcre xml
+NO_BUILD=	yes
+
+WEBSVNDIR?=	www/data/websvn
+PLIST=		${WRKDIR}/pkg-plist
+
+SUB_FILES=	pkg-message
+SUB_LIST+=	WEBSVNDIR="${WEBSVNDIR}"
+
+pre-install:
+	@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} \
+		&& ${ECHO_CMD} @dirrm ${WEBSVNDIR} >> ${PLIST} \
+		&& ${ECHO_CMD} @dirrmtry www/data >> ${PLIST}
+
+do-install:
+	${MKDIR} ${PREFIX}/${WEBSVNDIR}
+	${CP} -R ${WRKSRC}/* ${PREFIX}/${WEBSVNDIR}
+	${CHOWN} -R www:www ${PREFIX}/${WEBSVNDIR}
+	${FIND} ${PREFIX}/${WEBSVNDIR} -type f | ${XARGS} ${CHMOD} 644
+
+.include <bsd.port.mk>
--- /dev/null
+++ devel/websvn/distinfo
@@ -0,0 +1,3 @@
+MD5 (websvn-2.0.tar.gz) = 047e02c0fa2948fdf98a3e348e3f1530
+SHA256 (websvn-2.0.tar.gz) = 38104a86d6a90bb3f18a5b0a957b46cf0c1409037bb2a83c09e9f24543cfa2ea
+SIZE (websvn-2.0.tar.gz) = 172005
--- /dev/null
+++ devel/websvn/files/pkg-message.in
@@ -0,0 +1,2 @@
+To setup websvn, please edit the configuration file:
+%%PREFIX%%/%%WEBSVNDIR%%/include/config.php


More information about the Midnightbsd-cvs mailing list