Bug 190407 - [PATCH] www/mahara: update to 1.9.1, Add STAGE support
Summary: [PATCH] www/mahara: update to 1.9.1, Add STAGE support
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Wen Heping
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-30 14:10 UTC by Muhammad Moinur Rahman
Modified: 2014-05-31 06:36 UTC (History)
1 user (show)

See Also:


Attachments
mahara-1.9.1.patch (2.74 KB, patch)
2014-05-30 14:10 UTC, Muhammad Moinur Rahman
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Muhammad Moinur Rahman freebsd_committer 2014-05-30 14:10:00 UTC
- Update to 1.9.1
- Add STAGE support

For Committer's reference:
http://pdr.s.ubze.ro/bulk/latest-per-pkg/mahara/1.9.1/

Port maintainer (wen@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 1.02 (mode: update, diff: ports)
Comment 1 Edwin Groothuis freebsd_committer 2014-05-30 14:10:04 UTC
Responsible Changed
From-To: freebsd-ports-bugs->wen

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer 2014-05-31 06:27:58 UTC
Author: wen
Date: Sat May 31 05:27:53 2014
New Revision: 355938
URL: http://svnweb.freebsd.org/changeset/ports/355938
QAT: https://qat.redports.org/buildarchive/r355938/

Log:
  - Update to 1.9.1
  - Add STAGE support
  - Add LICENSE
  - Pet portlint
  
  PR:		190407
  Submitted by:	Muhammad Moinur Rahman <5u623l20@gmail.com>

Modified:
  head/www/mahara/Makefile
  head/www/mahara/distinfo

Modified: head/www/mahara/Makefile
==============================================================================
--- head/www/mahara/Makefile	Sat May 31 05:25:50 2014	(r355937)
+++ head/www/mahara/Makefile	Sat May 31 05:27:53 2014	(r355938)
@@ -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>

Modified: head/www/mahara/distinfo
==============================================================================
--- head/www/mahara/distinfo	Sat May 31 05:25:50 2014	(r355937)
+++ head/www/mahara/distinfo	Sat May 31 05:27:53 2014	(r355938)
@@ -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
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Wen Heping freebsd_committer 2014-05-31 06:36:26 UTC
State Changed
From-To: open->closed

Committed. Thanks!