blob: 8d836f0a91904a8ed549e9078659910b0f621d52 (
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
47
48
49
50
|
# $NetBSD: Makefile,v 1.12 2022/05/22 13:39:56 taca Exp $
#
DISTNAME= orangehrm-4.10.1
PKGNAME= ${PHP_PKG_PREFIX}-${DISTNAME}
CATEGORIES= misc
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=orangehrm/}
EXTRACT_SUFX= .zip
MAINTAINER= ryoon@NetBSD.org
HOMEPAGE= https://www.orangehrm.com/
COMMENT= Open source Human Resource Management (HRM) solution
LICENSE= gnu-gpl-v2
DEPENDS+= ${PHP_PKG_PREFIX}-iconv>=5.2.0:../../converters/php-iconv
DEPENDS+= ${PHP_PKG_PREFIX}-pdo_mysql>=5.2.0:../../databases/php-pdo_mysql
PHP_VERSIONS_ACCEPTED= 56 74 80
EXTRACT_USING= bsdtar
USE_TOOLS+= bash 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}
REPLACE_BASH= installer/cli_common_commands.sh installer/cli_install.sh \
travis-config-files/seeddb.sh
CHECK_INTERPRETER_SKIP+= share/orangehrm/symfony/*
CHECK_INTERPRETER_SKIP+= share/orangehrm/upgrader/symfony
pre-install:
${FIND} ${WRKSRC} -name "*.orig*" -exec ${RM} -f {} \;
do-install:
${RM} -f symfony/lib/vendor/google/apiclient-services/generator/run_tests.sh.orig
${FIND} ${WRKSRC} -type f -exec ${CHMOD} og-w {} \;
cd ${WRKSRC} && pax -rw -pmp * \
${DESTDIR}${PREFIX}/${OHRDIR}
.include "../../lang/php/phpversion.mk"
.include "../../lang/php/json.mk"
.include "../../mk/bsd.pkg.mk"
|