# Created by: Mathias Monnerville # $FreeBSD: head/www/glpi/Makefile 413746 2016-04-21 16:43:14Z swills $ PORTNAME= glpi PORTVERSION= 0.85.2 PORTEPOCH= 1 CATEGORIES= www MASTER_SITES= http://droidng.free.fr/freebsd/ \ http://glpi-project.org/IMG/gz/ MAINTAINER= mathias@monnerville.com COMMENT= Free IT and asset management software LICENSE= GPLv2 BROKEN_powerpc64= Does not build USES= cpe CPE_VENDOR= glpi-project USE_PHP= mysqli mbstring pcre session xml json ctype gd WANT_PHP_WEB= yes WRKSRC= ${WRKDIR}/${PORTNAME} NO_BUILD= yes GLPIDIR?= www/${PORTNAME} SUB_FILES= pkg-message SUB_LIST= GLPIDIR=${GLPIDIR} PREFIX=${PREFIX} OPTIONS_DEFINE= LDAP IMAP IMAP_DESC= IMAP support .include .if ${PORT_OPTIONS:MLDAP} USE_PHP+= ldap .endif .if ${PORT_OPTIONS:MIMAP} USE_PHP+= imap .endif post-extract: @${FIND} ${WRKSRC} -name '*~' -delete do-install: ${MKDIR} ${STAGEDIR}${WWWDIR} (cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}) .include