mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-14 07:43:06 +00:00
51eb7cc316
- Update WWW PR: 130934 Submitted by: Yuan-Chung Hsiao <ychsiao@ychsiao.org> (maintainer) Security: http://www.vuxml.org/freebsd/71597e3e-f6b8-11dd-94d9-0030843d3802.html
44 lines
1.1 KiB
Makefile
44 lines
1.1 KiB
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.1.0
|
|
CATEGORIES= devel www
|
|
MASTER_SITES= http://websvn.tigris.org/files/documents/1380/44451/
|
|
|
|
MAINTAINER= ychsiao@ychsiao.org
|
|
COMMENT= Subversion repository web frontend
|
|
|
|
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
|
|
|
|
post-install:
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
.include <bsd.port.mk>
|