9637f7852e
pkglint -r --network --only "migrate" As a side-effect of migrating the homepages, pkglint also fixed a few indentations in unrelated lines. These and the new homepages have been checked manually.
45 lines
1.4 KiB
Makefile
45 lines
1.4 KiB
Makefile
# $NetBSD: Makefile,v 1.8 2020/01/26 17:31:44 rillig Exp $
|
|
#
|
|
|
|
DISTNAME= orangehrm-2.7
|
|
PKGNAME= ${PHP_PKG_PREFIX}-${DISTNAME}
|
|
CATEGORIES= misc
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=orangehrm/}
|
|
|
|
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}-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
|
|
|
|
PHP_VERSIONS_ACCEPTED= 56
|
|
|
|
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/bsd.pkg.mk"
|