1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-02 11:09:29 +00:00

- 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)
This commit is contained in:
Ruslan Makhmatkhanov 2014-02-12 11:20:14 +00:00
parent fbdf848294
commit d14ac7df30
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=343904
4 changed files with 2797 additions and 2797 deletions

View File

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= glpi
PORTVERSION= 0.84.2
PORTVERSION= 0.84.4
PORTEPOCH= 1
CATEGORIES= www
MASTER_SITES= http://droidng.free.fr/freebsd/ \
@ -13,16 +13,16 @@ COMMENT= Free IT and asset management software
LICENSE= GPLv2
USE_PHP= mysql mbstring pcre session xml json ctype
USE_PHP= mysqli mbstring pcre session xml json ctype
WANT_PHP_WEB= yes
WRKSRC= ${WRKDIR}/${PORTNAME}
NO_BUILD= yes
PKGMESSAGE= ${WRKDIR}/pkg-message
CPIOARGS= --quiet -pdum
GLPIDIR?= www/${PORTNAME}
SUB_FILES= pkg-message
SUB_LIST= GLPIDIR=${GLPIDIR} PREFIX=${PREFIX}
OPTIONS_DEFINE= LDAP IMAP
IMAP_DESC= IMAP support
@ -39,12 +39,8 @@ USE_PHP+= imap
post-extract:
@${FIND} ${WRKSRC} -name '*~' -delete
post-configure:
@${SED} -e 's,%%PREFIX%%,${PREFIX},g' \
-e 's,%%GLPIDIR%%,${GLPIDIR},g' pkg-message > ${PKGMESSAGE}
do-install:
@${MKDIR} -m 0755 ${STAGEDIR}${PREFIX}/${GLPIDIR}
@cd ${WRKSRC} && ${FIND} * -print | ${CPIO} ${CPIOARGS} ${STAGEDIR}${PREFIX}/${GLPIDIR}
@${MKDIR} ${STAGEDIR}${WWWDIR}
${CP} -R ${WRKSRC}/* ${STAGEDIR}${WWWDIR}
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
SHA256 (glpi-0.84.2.tar.gz) = 1e18b58ee5c58cf9cf8989586e549c7c4c3b702c3d085364ae9417ab8ebb0de7
SIZE (glpi-0.84.2.tar.gz) = 10074325
SHA256 (glpi-0.84.4.tar.gz) = 84fccedab83b65ccfadcd4117636cf5dd288c2b8dec7cac7c17a8cf129fc2c32
SIZE (glpi-0.84.4.tar.gz) = 10596529

File diff suppressed because it is too large Load Diff