1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-15 03:14:23 +00:00
freebsd-ports/www/glpi/Makefile
John Marino 458dd17dfd www/glpi: Update version 0.90.3 => 0.90.5 and change option defaults
Per request [1], the IMAP and LDAP options have been set to ON by default.
The maintainer took the opportunity to upgrade the version [2].
I converted the options to their modern equivalents and made the
MASTER_SITES definition more generic to help future upgrades.

PR:		211862 [1]
Submitted by:	David Stievenard

PR:		212222 [2]
Submitted by:	maintainer
2016-08-28 20:44:39 +00:00

41 lines
867 B
Makefile

# Created by: Mathias Monnerville <mathias@monnerville.com>
# $FreeBSD$
PORTNAME= glpi
PORTVERSION= 0.90.5
PORTEPOCH= 1
CATEGORIES= www
MASTER_SITES= http://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
CPE_VENDOR= glpi-project
USE_PHP= mysqli mbstring pcre session xml json ctype gd
WRKSRC= ${WRKDIR}/${PORTNAME}
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>