mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
cfd6de4be5
Maintainer timeout.
48 lines
1.2 KiB
Makefile
48 lines
1.2 KiB
Makefile
# New ports collection makefile for: phpsurveyor
|
|
# Date created: 21 March 2005
|
|
# Whom: janos.mohacsi@bsd.hu
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= limesurvey
|
|
PORTVERSION= 1.91RC6
|
|
CATEGORIES= www
|
|
MASTER_SITES= SF/${PORTNAME}/2._LimeSurvey_unstable/${PORTVERSION:S/R/_R/}/
|
|
DISTNAME= ${PORTNAME}${PORTVERSION:S^.^^}-build9986-20110411
|
|
|
|
MAINTAINER= janos.mohacsi@bsd.hu
|
|
COMMENT= A PHP-based survey building and runing system
|
|
|
|
USE_PHP= ctype dom gd iconv ldap mbstring mysql pcre simplexml \
|
|
session xmlwriter
|
|
|
|
WWWDOCROOT?= www
|
|
PHPSURVEYORURL?= ${PORTNAME}
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
NO_BUILD= yes
|
|
SUB_FILES= pkg-message
|
|
SUB_LIST= PHPSURVEYORURL="${PHPSURVEYORURL}" \
|
|
PHPSURVEYORDIR="${PHPSURVEYORDIR}"
|
|
|
|
PHPSURVEYORDIR= ${WWWDOCROOT}/${PHPSURVEYORURL}
|
|
|
|
do-install:
|
|
${MKDIR} ${WWWDIR}
|
|
@cd ${WRKSRC} && ${COPYTREE_SHARE} . ${WWWDIR}
|
|
${MKDIR} ${WWWDIR}/tmp
|
|
${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}
|
|
${CHMOD} 755 ${WWWDIR}/tmp
|
|
${CHMOD} 755 ${WWWDIR}/templates
|
|
${CHMOD} 755 ${WWWDIR}/upload
|
|
|
|
post-install:
|
|
@${CAT} ${PKGMESSAGE}
|
|
@${FIND} -s -d ${WWWDIR} -type f -print | \
|
|
${SED} -e "s#${PREFIX}/##g" >> ${TMPPLIST}
|
|
@${FIND} -s -d ${WWWDIR} -type d -print | \
|
|
${SED} -E -e "s#${PREFIX}/#@dirrm #g" >> ${TMPPLIST}
|
|
|
|
.include <bsd.port.mk>
|