aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorwen <wen@FreeBSD.org>2014-05-31 13:27:53 +0800
committerwen <wen@FreeBSD.org>2014-05-31 13:27:53 +0800
commit92f2c1f94cfd42d215d8a8399b01c9b920302601 (patch)
treed66f705c8160ab76e58262742de11bc837761cdf /www
parentb6b81bd9aa5e5e7389504329cf42f18d81fc2fa1 (diff)
downloadfreebsd-ports-gnome-92f2c1f94cfd42d215d8a8399b01c9b920302601.tar.gz
freebsd-ports-gnome-92f2c1f94cfd42d215d8a8399b01c9b920302601.tar.zst
freebsd-ports-gnome-92f2c1f94cfd42d215d8a8399b01c9b920302601.zip
- Update to 1.9.1
- Add STAGE support - Add LICENSE - Pet portlint PR: 190407 Submitted by: Muhammad Moinur Rahman <5u623l20@gmail.com>
Diffstat (limited to 'www')
-rw-r--r--www/mahara/Makefile44
-rw-r--r--www/mahara/distinfo4
2 files changed, 19 insertions, 29 deletions
diff --git a/www/mahara/Makefile b/www/mahara/Makefile
index 7a588caf568e..d4282677e339 100644
--- a/www/mahara/Makefile
+++ b/www/mahara/Makefile
@@ -2,29 +2,22 @@
# $FreeBSD$
PORTNAME= mahara
-PORTVERSION= 1.1.8
+PORTVERSION= 1.9.1
CATEGORIES= www
-MASTER_SITES= http://launchpad.net/${PORTNAME}/1.1/${PORTVERSION}/+download/
+MASTER_SITES= http://launchpad.net/${PORTNAME}/1.9/${PORTVERSION}/+download/
MAINTAINER= wen@FreeBSD.org
-COMMENT= An open source ePortfolio system
+COMMENT= Open source ePortfolio system
-USE_BZIP2= yes
+LICENSE= GPLv3
+
+USES=tar:bzip2
USE_PHP= session json curl xml xmlrpc openssl simplexml
OPTIONS_DEFINE= MYSQL PGSQL
OPTIONS_DEFAULT= MYSQL
-
-NO_STAGE= yes
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MMYSQL}
-USE_PHP+= mysql
-.endif
-
-.if ${PORT_OPTIONS:MPGSQL}
-USE_PHP+= pgsql
-.endif
+MYSQL_USE= PHP=mysql
+PGSQL_USE= PHP=pgsql
NO_BUILD= yes
PLIST= ${WRKDIR}/plist
@@ -39,21 +32,18 @@ MAHARADATADIR?= www/maharadata
pre-install:
@${FIND} -s -d ${WRKSRC} -type f | ${SED} "s?${WRKSRC}?${MAHARADIR}?g" >${PLIST}
@${FIND} -s -d ${WRKSRC} -type d | ${SED} "s?${WRKSRC}?@dirrm ${MAHARADIR}?g" >> ${PLIST}
- @${ECHO} @dirrm ${MAHARADATADIR} >> ${PLIST}
+ @${ECHO} @dirrmtry ${MAHARADATADIR} >> ${PLIST}
do-install:
- @cd ${WRKSRC} && ${COPYTREE_SHARE} . ${WWWDIR}
- @${INSTALL} -d ${PREFIX}/${MAHARADATADIR}
-
- @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}
- @${ECHO_CMD} '@exec ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}' >> ${TMPPLIST}
- @${CHMOD} -R 755 ${WWWDIR}
- @${ECHO_CMD} '@exec ${CHMOD} -R 755 ${WWWDIR}' >> ${TMPPLIST}
+ @cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}
+ @${INSTALL} -d ${STAGEDIR}${PREFIX}/${MAHARADATADIR}
- @${CHMOD} -R a+w ${PREFIX}/${MAHARADATADIR}
- @${ECHO_CMD} '@exec ${CHMOD} -R a+w ${PREFIX}/${MAHARADATADIR}' >> ${TMPPLIST}
+ @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${WWWDIR}
+ @${ECHO_CMD} '@exec ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${WWWDIR}' >> ${TMPPLIST}
+ @${CHMOD} -R 755 ${STAGEDIR}${WWWDIR}
+ @${ECHO_CMD} '@exec ${CHMOD} -R 755 ${STAGEDIR}${WWWDIR}' >> ${TMPPLIST}
-post-install:
- @${CAT} ${PKGMESSAGE}
+ @${CHMOD} -R a+w ${STAGEDIR}${PREFIX}/${MAHARADATADIR}
+ @${ECHO_CMD} '@exec ${CHMOD} -R a+w ${STAGEDIR}${PREFIX}/${MAHARADATADIR}' >> ${TMPPLIST}
.include <bsd.port.mk>
diff --git a/www/mahara/distinfo b/www/mahara/distinfo
index 29168eabbec0..8000efad17a3 100644
--- a/www/mahara/distinfo
+++ b/www/mahara/distinfo
@@ -1,2 +1,2 @@
-SHA256 (mahara-1.1.8.tar.bz2) = a3314472449e8c79468dfd7bf1fa3bf6f251b5f335ec268755eb56fc2a62da87
-SIZE (mahara-1.1.8.tar.bz2) = 2180468
+SHA256 (mahara-1.9.1.tar.bz2) = a282bcded2df88efc87a2e5a3bd377659ca15688339b4ec58aab8dbb3041c542
+SIZE (mahara-1.9.1.tar.bz2) = 7022289