# 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.0 CATEGORIES= devel www MASTER_SITES= http://websvn.tigris.org/files/documents/1380/47175/ MAINTAINER= ychsiao@ychsiao.org COMMENT= Subversion repository web frontend USE_PHP= iconv pcre xml NO_BUILD= yes WEBSVNDIR?= www/${PORTNAME} PLIST= ${WRKDIR}/pkg-plist SUB_FILES= pkg-message SUB_LIST+= WEBSVNDIR="${WEBSVNDIR}" pre-install: @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} 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