summaryrefslogtreecommitdiff
path: root/misc/php-orangehrm/Makefile
diff options
context:
space:
mode:
authorryoon <ryoon@pkgsrc.org>2011-12-12 17:39:06 +0000
committerryoon <ryoon@pkgsrc.org>2011-12-12 17:39:06 +0000
commit8f16646b40f1e5f1c186e0a7414af29a803a73b2 (patch)
tree595d149125992164e591118ae4b74625e953da2d /misc/php-orangehrm/Makefile
parentc27cdcb2c9042322a4e98586d2c2bda7b6780fdb (diff)
downloadpkgsrc-8f16646b40f1e5f1c186e0a7414af29a803a73b2.tar.gz
Import php*-orangehrm-2.6.11.2 as misc/php-orangehrm.
OrangeHRM offers a flexible and easy to use HRIS solution for small and medium sized companies free of charge. By providing modules for personnel information management, employee self service, leave, time & attendance, benefits and recruitment companies are able to manage the crucial organization asset - people. The combination of these modules into one application assures the perfect platform for re-engineering and aligning your HR processes along with the organizational goals.
Diffstat (limited to 'misc/php-orangehrm/Makefile')
-rw-r--r--misc/php-orangehrm/Makefile42
1 files changed, 42 insertions, 0 deletions
diff --git a/misc/php-orangehrm/Makefile b/misc/php-orangehrm/Makefile
new file mode 100644
index 00000000000..d2ad4769185
--- /dev/null
+++ b/misc/php-orangehrm/Makefile
@@ -0,0 +1,42 @@
+# $NetBSD: Makefile,v 1.1.1.1 2011/12/12 17:39:06 ryoon Exp $
+#
+
+DISTNAME= orangehrm-2.6.11.2
+PKGNAME= ${PHP_PKG_PREFIX}-${DISTNAME}
+CATEGORIES= misc
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=orangehrm/}
+
+MAINTAINER= ryoon@NetBSD.org
+HOMEPAGE= http://www.orangehrm.com/
+COMMENT= Open source Human Resource Management (HRM) solution
+LICENSE= gnu-gpl-v2
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+DEPENDS+= ${PHP_PKG_PREFIX}-mysql>=5.2.0:../../databases/php-mysql
+DEPENDS+= ${PHP_PKG_PREFIX}-pdo_mysql>=5.2.0:../../databases/php-pdo_mysql
+
+EXTRACT_USING= bsdtar
+USE_TOOLS+= pax
+
+NO_BUILD= yes
+
+OHRDIR= share/orangehrm
+
+INSTALLATION_DIRS+= ${OHRDIR}
+
+BUILD_DEFS+= APACHE_GROUP APACHE_USER
+FILES_SUBST+= WWWGRP=${APACHE_GROUP} WWWOWN=${APACHE_USER} \
+ OHRDIR=${OHRDIR}
+
+CHECK_INTERPRETER_SKIP+= share/orangehrm/symfony/lib/vendor/symfony/data/bin/symfony
+CHECK_INTERPRETER_SKIP+= share/orangehrm/symfony/lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/test/functional/fixtures/symfony
+CHECK_INTERPRETER_SKIP+= share/orangehrm/symfony/symfony
+
+do-install:
+ cd ${WRKSRC} && pax -rw -pmp * \
+ ${DESTDIR}${PREFIX}/${OHRDIR}
+
+.include "../../lang/php/phpversion.mk"
+.include "../../mk/mysql.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"