mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-17 03:25:46 +00:00
6787c800d3
Without the extension the port is not functional PR: 220842 Reported by: dasti <stievenard.david@gmail.com> MFH: 2017Q3
44 lines
960 B
Makefile
44 lines
960 B
Makefile
# Created by: Mathias Monnerville <mathias@monnerville.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= glpi
|
|
PORTVERSION= 9.1.2
|
|
PORTREVISION= 2
|
|
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
|
|
|
|
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>
|