blob: 39fd96e23e372f6f7961ba49cf198bbcef8f1017 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
# $NetBSD: Makefile,v 1.3 2012/06/16 05:25:03 taca Exp $
#
DISTNAME= orangehrm-2.7
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}-mysqli>=5.2.0:../../databases/php-mysqli
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/lib/vendor/symfony/lib/task/generator/skeleton/project/symfony
CHECK_INTERPRETER_SKIP+= share/orangehrm/symfony/symfony
CHECK_INTERPRETER_SKIP+= share/orangehrm/upgrader/symfony
do-install:
${FIND} ${WRKSRC} -type f -exec ${CHMOD} og-w {} \;
cd ${WRKSRC} && pax -rw -pmp * \
${DESTDIR}${PREFIX}/${OHRDIR}
.include "../../lang/php/phpversion.mk"
.include "../../mk/mysql.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|