From e1101f0e5c179c53d562195544c88a3902280d76 Mon Sep 17 00:00:00 2001 From: wen Date: Sat, 31 May 2014 14:24:25 +0000 Subject: - Update to 3.1.2 - Stage support [1] - Pet portlint PR: 190309 [1] Submitted by: Joseph Benden [1] --- www/orangehrm/Makefile | 18 ++++++++---------- www/orangehrm/distinfo | 4 ++-- www/orangehrm/pkg-descr | 2 +- 3 files changed, 11 insertions(+), 13 deletions(-) (limited to 'www') diff --git a/www/orangehrm/Makefile b/www/orangehrm/Makefile index 35f3795d2975..8b02f5041b27 100644 --- a/www/orangehrm/Makefile +++ b/www/orangehrm/Makefile @@ -2,16 +2,14 @@ # $FreeBSD$ PORTNAME= orangehrm -PORTVERSION= 2.7 +PORTVERSION= 3.1.2 CATEGORIES= www misc MASTER_SITES= SF/${PORTNAME}/stable/${PORTVERSION} MAINTAINER= wen@FreeBSD.org COMMENT= Open Source Human Resource Management -NO_STAGE= yes -.include - +USES= zip USE_PHP= mysql NO_BUILD= yes PLIST= ${WRKDIR}/plist @@ -24,14 +22,14 @@ pre-install: @${FIND} -s -d ${WRKSRC} -type d | ${SED} "s#${WRKSRC}#@dirrm ${HRMDIR}#g" >> ${PLIST} do-install: - @cd ${WRKSRC} && ${COPYTREE_SHARE} . ${PREFIX}/${HRMDIR} - @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/${HRMDIR} - @${ECHO_CMD} '@exec ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/${HRMDIR}' \ + @cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/${HRMDIR} + @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${PREFIX}/${HRMDIR} + @${ECHO_CMD} '@exec ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${PREFIX}/${HRMDIR}' \ >> ${TMPPLIST} - ${CHMOD} -R 755 ${PREFIX}/${HRMDIR} - @${ECHO_CMD} '@exec ${CHMOD} -R 755 ${PREFIX}/${HRMDIR}' >> ${TMPPLIST} + ${CHMOD} -R 755 ${STAGEDIR}${PREFIX}/${HRMDIR} + @${ECHO_CMD} '@exec ${CHMOD} -R 755 ${STAGEDIR}${PREFIX}/${HRMDIR}' >> ${TMPPLIST} post-install: @${CAT} ${PKGMESSAGE} -.include +.include diff --git a/www/orangehrm/distinfo b/www/orangehrm/distinfo index 102b24a0ac0c..c2093e4750d2 100644 --- a/www/orangehrm/distinfo +++ b/www/orangehrm/distinfo @@ -1,2 +1,2 @@ -SHA256 (orangehrm-2.7.tar.gz) = 3571aeb1a93a9dcf2e610f93b96b48fef224d3125b5acdc5e8cdaaeb0ed4f150 -SIZE (orangehrm-2.7.tar.gz) = 5815395 +SHA256 (orangehrm-3.1.2.zip) = e85c8989929e97540338647bad3ab0561d0bad251bbb2d6662388d79d07f0a15 +SIZE (orangehrm-3.1.2.zip) = 9171458 diff --git a/www/orangehrm/pkg-descr b/www/orangehrm/pkg-descr index 842b74e57405..07f132c4dbba 100644 --- a/www/orangehrm/pkg-descr +++ b/www/orangehrm/pkg-descr @@ -4,4 +4,4 @@ organization asset - people. It provides a perfect platform for re-engineering and aligning your HR processes along with the organizational goals. -WWW: http://www.orangehrm.com +WWW: http://www.orangehrm.com -- cgit