mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-03 01:23:49 +00:00
d14ac7df30
- 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)
47 lines
880 B
Makefile
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>
|