blob: 454ff8d20f99eebd061ae833b68a92aa5ad4266e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
# Created by: Mathias Monnerville <mathias@monnerville.com>
# $FreeBSD$
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
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 <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}
(cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR})
.include <bsd.port.mk>
|