1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

- Update to 3.1.2

- Stage support [1]
- Pet portlint

PR:		190309 [1]
Submitted by:	Joseph Benden <joe@thrallingpenguin.com> [1]
This commit is contained in:
Wen Heping 2014-05-31 14:24:25 +00:00
parent ee648104e5
commit 3d718d87ec
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=355981
3 changed files with 11 additions and 13 deletions

View File

@ -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>

View File

@ -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

View File

@ -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