aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorwen <wen@FreeBSD.org>2014-05-31 22:24:25 +0800
committerwen <wen@FreeBSD.org>2014-05-31 22:24:25 +0800
commite1101f0e5c179c53d562195544c88a3902280d76 (patch)
treefe16e9a5e5b376a26a677ed3da610baf7a726472 /www
parent4ff3957c6d4a8db911968ad800ae81017ecc1d11 (diff)
downloadfreebsd-ports-gnome-e1101f0e5c179c53d562195544c88a3902280d76.tar.gz
freebsd-ports-gnome-e1101f0e5c179c53d562195544c88a3902280d76.tar.zst
freebsd-ports-gnome-e1101f0e5c179c53d562195544c88a3902280d76.zip
- Update to 3.1.2
- Stage support [1] - Pet portlint PR: 190309 [1] Submitted by: Joseph Benden <joe@thrallingpenguin.com> [1]
Diffstat (limited to 'www')
-rw-r--r--www/orangehrm/Makefile18
-rw-r--r--www/orangehrm/distinfo4
-rw-r--r--www/orangehrm/pkg-descr2
3 files changed, 11 insertions, 13 deletions
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 <bsd.port.pre.mk>
-
+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 <bsd.port.post.mk>
+.include <bsd.port.mk>
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