mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-15 03:14:23 +00:00
030df80ee4
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>
40 lines
1005 B
Makefile
40 lines
1005 B
Makefile
# 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>
|