mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-01 05:45:45 +00:00
c850531932
Release notes: http://www.websvn.info/news/websvn-2-3-3-released.html PR: 165171 Submitted by: gahr@ Approved by: Yuan-Chung Hsiao <ychsiao@ychsiao.org> (maintainer)
40 lines
978 B
Makefile
40 lines
978 B
Makefile
# New ports collection makefile for: websvn
|
|
# Date created: 11 May 2004
|
|
# Whom: Yuan-Chung Hsiao (ychsiao@ychsiao.idv.tw)
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= websvn
|
|
PORTVERSION= 2.3.3
|
|
CATEGORIES= devel www
|
|
MASTER_SITES= http://websvn.tigris.org/files/documents/1380/49056/
|
|
|
|
MAINTAINER= ychsiao@ychsiao.org
|
|
COMMENT= Subversion repository web frontend
|
|
|
|
USE_PHP= iconv pcre xml
|
|
NO_BUILD= yes
|
|
|
|
WEBSVNDIR?= ${WWWDIR_REL}
|
|
|
|
SUB_FILES= pkg-message
|
|
SUB_LIST+= WEBSVNDIR="${WEBSVNDIR}"
|
|
PLIST_SUB+= WEBSVNDIR="${WEBSVNDIR}"
|
|
|
|
do-install:
|
|
${MKDIR} ${PREFIX}/${WEBSVNDIR}
|
|
(cd ${WRKSRC} \
|
|
&& ${COPYTREE_SHARE} \* ${PREFIX}/${WEBSVNDIR})
|
|
${CHOWN} -R www:www ${PREFIX}/${WEBSVNDIR}
|
|
${FIND} ${PREFIX}/${WEBSVNDIR} -type f -exec ${CHMOD} 644 '{}' +
|
|
|
|
post-install:
|
|
@${CAT} ${PKGMESSAGE}
|
|
@[ -f ${PREFIX}/${WEBSVNDIR}/include/config.php ] \
|
|
|| ${INSTALL_DATA} \
|
|
${PREFIX}/${WEBSVNDIR}/include/distconfig.php \
|
|
${PREFIX}/${WEBSVNDIR}/include/config.php
|
|
|
|
.include <bsd.port.mk>
|