# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# orangehrm
# orangehrm/files
# orangehrm/files/pkg-message.in
# orangehrm/pkg-descr
# orangehrm/distinfo
# orangehrm/Makefile
#
echo c - orangehrm
mkdir -p orangehrm > /dev/null 2>&1
echo c - orangehrm/files
mkdir -p orangehrm/files > /dev/null 2>&1
echo x - orangehrm/files/pkg-message.in
sed 's/^X//' >orangehrm/files/pkg-message.in << '4251d5e515e9639d58b2f1464790043f'
XPOST-INSTALL CONFIGURATION FOR OrangeHRM
X=====================================
X
X1) Add the following to your Apache configuration, and
X restart the server:
X
X ### Add the AcceptPathInfo directive only for Apache 2.0.30 or later.
X Alias /orangehrm %%PREFIX%%/www/orangehrm/
X AcceptPathInfo On
X
X AllowOverride None
X Order Allow,Deny
X Allow from all
X
X
X2) Visit your OrangeHRM site with a browser (i.e.,
X http://your.server.com/orangehrm), and you should
X be taken to the setup script, which will lead
X you through creating a configuration file and then
X setting up OrangeHRM, creating an admin account, etc.
X
XFor more information, see the INSTALL DOCUMENTATION:
X
X http://www.orangehrm.com/installation-Linux.shtml
X
X================================================================
4251d5e515e9639d58b2f1464790043f
echo x - orangehrm/pkg-descr
sed 's/^X//' >orangehrm/pkg-descr << 'abc7faedb312c722b2b487ddd5f8c35f'
XOrangeHRM is an Open Source HRM information system that will
Xprovide a vast range of features to manage the crucial
Xorganization asset - people. It provides a perfect platform
Xfor re-engineering and aligning your HR processes along with
Xthe organizational goals.
X
XWWW: http://www.orangehrm.com
abc7faedb312c722b2b487ddd5f8c35f
echo x - orangehrm/distinfo
sed 's/^X//' >orangehrm/distinfo << 'a55d2e977371600dbcd2a2d458eabd1c'
XMD5 (orangehrm-2.4.0.1.tar.gz) = d1b80ba5d1bfda0cfdbd8c34cc7c3e05
XSHA256 (orangehrm-2.4.0.1.tar.gz) = 265aff5cdb3997f2f471c6c337995e5809cd902206f174ee969abfe71d973166
XSIZE (orangehrm-2.4.0.1.tar.gz) = 1806975
a55d2e977371600dbcd2a2d458eabd1c
echo x - orangehrm/Makefile
sed 's/^X//' >orangehrm/Makefile << '9a584921132426a79181dee740885b5b'
X# New ports collection makefile for: orangehrm
X# Date created: 06 Dec, 2008
X# Whom: Wen Heping
X#
X# $FreeBSD$
X#
X
XPORTNAME= orangehrm
XPORTVERSION= 2.4.0.1
XCATEGORIES= www
XMASTER_SITES= SF
X
XMAINTAINER= wenheping@gmail.com
XCOMMENT= Open Source Human Resource Management
X
X.include
X
XUSE_PHP= mysql
XNO_BUILD= yes
XPLIST= ${WRKDIR}/plist
XSUB_FILES= pkg-message
XHRMDIR= www/orangehrm
X
Xpre-install:
X @${FIND} -s -d ${WRKSRC} -type f | ${SED} "s#${WRKSRC}#${HRMDIR}#g" >${PLIST}
X @${FIND} -s -d ${WRKSRC} -type d | ${SED} "s#${WRKSRC}#@dirrm ${HRMDIR}#g" >> ${PLIST}
X
Xdo-install:
X @cd ${WRKSRC} && ${COPYTREE_SHARE} . ${PREFIX}/${HRMDIR}
X @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/${HRMDIR}
X @${ECHO_CMD} '@exec ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/${HRMDIR}' \
X >> ${TMPPLIST}
X ${CHMOD} -R 755 ${PREFIX}/${HRMDIR}
X @${ECHO_CMD} '@exec ${CHMOD} -R 755 ${PREFIX}/${HRMDIR}' >> ${TMPPLIST}
X
Xpost-install:
X @${CAT} ${PKGMESSAGE}
X
X.include
9a584921132426a79181dee740885b5b
exit