diff options
author | Kevin Lo <kevlo@FreeBSD.org> | 2010-04-07 10:12:09 +0000 |
---|---|---|
committer | Kevin Lo <kevlo@FreeBSD.org> | 2010-04-07 10:12:09 +0000 |
commit | a0f40a2316c1d1c594dc23ba07a269b194c0d957 (patch) | |
tree | 3145153543c55a2747538385a09b47dfd9838b41 /www | |
parent | 7083fd7d78c812a259e0038353d551050b730ad4 (diff) | |
download | ports-a0f40a2316c1d1c594dc23ba07a269b194c0d957.tar.gz ports-a0f40a2316c1d1c594dc23ba07a269b194c0d957.zip |
Notes
Diffstat (limited to 'www')
-rw-r--r-- | www/limesurvey/Makefile | 15 | ||||
-rw-r--r-- | www/limesurvey/files/pkg-message.in (renamed from www/limesurvey/pkg-message) | 0 |
2 files changed, 8 insertions, 7 deletions
diff --git a/www/limesurvey/Makefile b/www/limesurvey/Makefile index c7414f55f7eb..15ffb7d7ce9c 100644 --- a/www/limesurvey/Makefile +++ b/www/limesurvey/Makefile @@ -7,6 +7,7 @@ PORTNAME= limesurvey PORTVERSION= 1.80 +PORTREVISION= 1 CATEGORIES= www MASTER_SITES= SF/${PORTNAME}/OldFiles DISTNAME= ${PORTNAME}${PORTVERSION:S^.^^}_build6506_20090310 @@ -15,18 +16,17 @@ MAINTAINER= janos.mohacsi@bsd.hu COMMENT= A PHP-based survey building and runing system USE_PHP= mysql session mbstring pcre iconv gd ldap -WRKSRC= ${WRKDIR}/${PORTNAME} +WWWDOCROOT?= www PHPSURVEYORURL?= ${PORTNAME} -PHPSURVEYORDIR= ${WWWDOCROOT}/${PHPSURVEYORURL} +WRKSRC= ${WRKDIR}/${PORTNAME} NO_BUILD= yes +SUB_FILES= pkg-message +SUB_LIST= PHPSURVEYORURL="${PHPSURVEYORURL}" \ + PHPSURVEYORDIR="${PHPSURVEYORDIR}" -post-configure: - @ ${SED} \ - -e 's#%%PREFIX%%#${PREFIX}#g' \ - -e 's#%%PHPSURVEYORURL%%#${PHPSURVEYORURL}#g' \ - -e 's#%%PHPSURVEYORDIR%%#${PHPSURVEYORDIR}#g' \ +PHPSURVEYORDIR= ${WWWDOCROOT}/${PHPSURVEYORURL} do-install: ${MKDIR} ${WWWDIR} @@ -38,6 +38,7 @@ do-install: ${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 | \ diff --git a/www/limesurvey/pkg-message b/www/limesurvey/files/pkg-message.in index bf36d56604e3..bf36d56604e3 100644 --- a/www/limesurvey/pkg-message +++ b/www/limesurvey/files/pkg-message.in |