OrangeHRM is an Open Source HRM information system that will

provide a vast range of features to manage the crucial
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

PR:		ports/129462
Submitted by:	Wen Heping <wenheping at gmail.com>
This commit is contained in:
Martin Wilke 2008-12-06 14:57:09 +00:00
parent c423be3bcc
commit 030df80ee4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=223854
5 changed files with 76 additions and 0 deletions

View File

@ -549,6 +549,7 @@
SUBDIR += opera
SUBDIR += opera-devel
SUBDIR += opera-linuxplugins
SUBDIR += orangehrm
SUBDIR += osb-browser
SUBDIR += osb-nrcit
SUBDIR += osb-nrcore

39
www/orangehrm/Makefile Normal file
View File

@ -0,0 +1,39 @@
# New ports collection makefile for: orangehrm
# Date created: 06 Dec, 2008
# Whom: Wen Heping <wenheping@gmail.com>
#
# $FreeBSD$
#
PORTNAME= orangehrm
PORTVERSION= 2.4.0.1
CATEGORIES= www misc
MASTER_SITES= SF
MAINTAINER= wenheping@gmail.com
COMMENT= Open Source Human Resource Management
.include <bsd.port.pre.mk>
USE_PHP= mysql
NO_BUILD= yes
PLIST= ${WRKDIR}/plist
SUB_FILES= pkg-message
HRMDIR= www/orangehrm
pre-install:
@${FIND} -s -d ${WRKSRC} -type f | ${SED} "s#${WRKSRC}#${HRMDIR}#g" >${PLIST}
@${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}' \
>> ${TMPPLIST}
${CHMOD} -R 755 ${PREFIX}/${HRMDIR}
@${ECHO_CMD} '@exec ${CHMOD} -R 755 ${PREFIX}/${HRMDIR}' >> ${TMPPLIST}
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>

3
www/orangehrm/distinfo Normal file
View File

@ -0,0 +1,3 @@
MD5 (orangehrm-2.4.0.1.tar.gz) = d1b80ba5d1bfda0cfdbd8c34cc7c3e05
SHA256 (orangehrm-2.4.0.1.tar.gz) = 265aff5cdb3997f2f471c6c337995e5809cd902206f174ee969abfe71d973166
SIZE (orangehrm-2.4.0.1.tar.gz) = 1806975

View File

@ -0,0 +1,26 @@
POST-INSTALL CONFIGURATION FOR OrangeHRM
=====================================
1) Add the following to your Apache configuration, and
restart the server:
### Add the AcceptPathInfo directive only for Apache 2.0.30 or later.
Alias /orangehrm %%PREFIX%%/www/orangehrm/
AcceptPathInfo On
<Directory %%PREFIX%%/www/orangehrm>
AllowOverride None
Order Allow,Deny
Allow from all
</Directory>
2) Visit your OrangeHRM site with a browser (i.e.,
http://your.server.com/orangehrm), and you should
be taken to the setup script, which will lead
you through creating a configuration file and then
setting up OrangeHRM, creating an admin account, etc.
For more information, see the INSTALL DOCUMENTATION:
http://www.orangehrm.com/installation-Linux.shtml
================================================================

7
www/orangehrm/pkg-descr Normal file
View File

@ -0,0 +1,7 @@
OrangeHRM is an Open Source HRM information system that will
provide a vast range of features to manage the crucial
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