1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00
freebsd-ports/www/glpi/Makefile
Ruslan Makhmatkhanov d14ac7df30 - update to 0.84.4
- use WWWDIR variable

while here:
- fix pkg-message displaying by utilizing SUB_FILES
- remove CPIOARGS - it's not used anymore

PR:		186682
Submitted by:	Mathias Monnerville <mathias@monnerville.com> (maintainer)
2014-02-12 11:20:14 +00:00

47 lines
880 B
Makefile

# Created by: Mathias Monnerville <mathias@monnerville.com>
# $FreeBSD$
PORTNAME= glpi
PORTVERSION= 0.84.4
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
USE_PHP= mysqli mbstring pcre session xml json ctype
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 <bsd.port.options.mk>
.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}
${CP} -R ${WRKSRC}/* ${STAGEDIR}${WWWDIR}
.include <bsd.port.mk>