aboutsummaryrefslogtreecommitdiff
path: root/www/limesurvey
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2009-05-04 23:31:05 +0000
committerMartin Wilke <miwi@FreeBSD.org>2009-05-04 23:31:05 +0000
commit2df535a91ed7d318aa41bc2eb52c3826578494a0 (patch)
treea05a9643219857aa157d100c44292cd7345d909c /www/limesurvey
parentbf7f4b33b27692a5726ed583f2a7aba58b5697b5 (diff)
downloadports-2df535a91ed7d318aa41bc2eb52c3826578494a0.tar.gz
ports-2df535a91ed7d318aa41bc2eb52c3826578494a0.zip
Notes
Diffstat (limited to 'www/limesurvey')
-rw-r--r--www/limesurvey/Makefile50
-rw-r--r--www/limesurvey/distinfo6
2 files changed, 22 insertions, 34 deletions
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 <bsd.port.mk>
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