freebsd-ports/www/glpi/Makefile
Torsten Zuehlsdorff cb617f8a71 In order to switch to PHP 7.4 as new default, we need to ignore some ports.
These are relying on the wddx module of PHP, which was removed in 7.4.

Therefore the following ports are marked as IGNORE_WITH_PHP= 74
* www/glpi
* www/zend-framework
* www/zend-framework1

PR:		248074
Sponsored by:	Bounce Experts
2020-07-28 07:51:52 +00:00

45 lines
965 B
Makefile

# Created by: Mathias Monnerville <mathias@monnerville.com>
# $FreeBSD$
PORTNAME= glpi
PORTVERSION= 9.4.5
PORTEPOCH= 1
CATEGORIES= www
MASTER_SITES= https://github.com/glpi-project/glpi/releases/download/${PORTVERSION}/
MAINTAINER= mathias@monnerville.com
COMMENT= Free IT and asset management software
LICENSE= GPLv2
IGNORE_WITH_PHP= 74
USES= cpe gettext php tar:tgz
CPE_VENDOR= glpi-project
USE_PHP= ctype curl dom fileinfo filter gd json mbstring mysqli \
pcre session simplexml wddx xml xmlrpc zlib
WRKSRC= ${WRKDIR}/${PORTNAME}
NO_ARCH= yes
NO_BUILD= yes
GLPIDIR?= www/${PORTNAME}
SUB_FILES= pkg-message
SUB_LIST= GLPIDIR=${GLPIDIR} PREFIX=${PREFIX}
OPTIONS_DEFINE= LDAP IMAP
OPTIONS_DEFAULT= LDAP IMAP
IMAP_DESC= IMAP support
LDAP_USE= PHP=ldap
IMAP_USE= PHP=imap
post-extract:
@${FIND} ${WRKSRC} -name '*~' -delete
do-install:
${MKDIR} ${STAGEDIR}${WWWDIR}
(cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR})
.include <bsd.port.mk>