From 2df535a91ed7d318aa41bc2eb52c3826578494a0 Mon Sep 17 00:00:00 2001 From: Martin Wilke Date: Mon, 4 May 2009 23:31:05 +0000 Subject: - Update to 1.8.0 - Connect to the build - Remove www/phpsurveyor (project was renamed) PR: 132526 Submitted by: Wen Heping Approved by: maintainer --- www/limesurvey/Makefile | 50 +++++++++++++++++++------------------------------ www/limesurvey/distinfo | 6 +++--- 2 files changed, 22 insertions(+), 34 deletions(-) (limited to 'www/limesurvey') diff --git a/www/limesurvey/Makefile b/www/limesurvey/Makefile index 685aea0ed4cb..712ae2bc3c8a 100644 --- a/www/limesurvey/Makefile +++ b/www/limesurvey/Makefile @@ -5,36 +5,22 @@ # $FreeBSD$ # -PORTNAME= phpsurveyor -PORTVERSION= 1.0 -PORTREVISION= 1 +PORTNAME= limesurvey +PORTVERSION= 1.80 CATEGORIES= www -MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} -MASTER_SITE_SUBDIR= limesurvey -DISTNAME= ${PORTNAME}-1_00 +MASTER_SITES= SF +DISTNAME= ${PORTNAME}${PORTVERSION:S^.^^}_build6506_20090310 MAINTAINER= janos.mohacsi@bsd.hu COMMENT= A PHP-based survey building and runing system -USE_PHP= mysql session -WRKSRC= ${WRKDIR} -USE_ZIP= yes +USE_PHP= mysql session mbstring pcre iconv gd ldap +WRKSRC= ${WRKDIR}/${PORTNAME} -#User-configurable variables -WWWDOCROOT?= www/ -PHPSURVEYORURL?= phpsurveyor -# -# End of user-configurable variables. +PHPSURVEYORURL?= ${PORTNAME} +PHPSURVEYORDIR= ${WWWDOCROOT}/${PHPSURVEYORURL} -# Set/override/append to variables from bsd.port.mk: -# NO_BUILD= yes -PKGMESSAGE= ${WRKDIR}/pkg-message -PLIST_SUB+= PHPSURVEYORDIR=${PHPSURVEYORDIR} WWWOWN=${WWWOWN} WWWGRP=${WWWGRP} - -# Set custom variables: -# -PHPSURVEYORDIR= ${WWWDOCROOT}/${PHPSURVEYORURL} post-configure: @ ${SED} \ @@ -44,16 +30,18 @@ post-configure: pkg-message > ${PKGMESSAGE} do-install: - ${MKDIR} -m 0755 ${PREFIX}/${PHPSURVEYORDIR} - cd ${WRKSRC} && ${FIND} * \( -name tmp -a -prune \) -o -print \ - | ${TAR} cTf - - | ${TAR} xUCf ${PREFIX}/${PHPSURVEYORDIR} - - ${MKDIR} ${PREFIX}/${PHPSURVEYORDIR}/tmp - ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/${PHPSURVEYORDIR} - ${CHMOD} 755 ${PREFIX}/${PHPSURVEYORDIR}/tmp + ${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: -.if !defined(BATCH) - @ ${CAT} ${PKGMESSAGE} -.endif + @${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 diff --git a/www/limesurvey/distinfo b/www/limesurvey/distinfo index 3f6d9490dfda..24211b15a4af 100644 --- a/www/limesurvey/distinfo +++ b/www/limesurvey/distinfo @@ -1,3 +1,3 @@ -MD5 (phpsurveyor-1_00.zip) = bc3f429a0047da1fc38de5a4c568af32 -SHA256 (phpsurveyor-1_00.zip) = 6f29e37eec4789a2cfc3c6df9c2f38584f8d43b5a780039fa7feac2ef60a58f9 -SIZE (phpsurveyor-1_00.zip) = 1454161 +MD5 (limesurvey180_build6506_20090310.tar.gz) = 135006f4e176b42edca5cfb3f19259c5 +SHA256 (limesurvey180_build6506_20090310.tar.gz) = 19be2417205e7458a490f35ba70f19ab4734b3e5dc446eac4ce5b9cca7970de8 +SIZE (limesurvey180_build6506_20090310.tar.gz) = 14210294 -- cgit v1.2.3