freebsd-ports/www/glpi/Makefile
Martin Wilke 583eaf674c GLPI is an Information Resource-Manager with an additional
Administration- Interface. You can use it to build up a
database with an inventory for your company (computer,
software, printers...). It has enhanced functions to make
the daily life for the administrators easier, like a job-
tracking-system with mail-notification and methods to build
a database with basic information about your network-topology.

WWW: http://glpi-project.org/

PR:		ports/109055
Submitted by:	Mathias Monnerville <mathias at monnerville.com>
2007-02-11 23:16:49 +00:00

43 lines
1,007 B
Makefile

# New ports collection makefile for: glpi
# Date created: 9 February 2007
# Whom: Mathias Monnerville <mathias@monnerville.com>
#
# $FreeBSD$
#
PORTNAME= glpi
PORTVERSION= 0.68.3
CATEGORIES= www
MASTER_SITES= http://glpi-project.org/IMG/gz/ \
http://download.gna.org/kanicule/
MAINTAINER= mathias@monnerville.com
COMMENT= Free IT and asset management software
USE_PHP= gettext mysql pcre session xml
WANT_PHP_WEB= yes
WRKSRC= ${WRKDIR}/${PORTNAME}
NO_BUILD= yes
PKGMESSAGE= ${WRKDIR}/pkg-message
CPIOARGS= --quiet -pdum -R
GLPIDIR?= www/${PORTNAME}
WWWOWN?= www
WWWGRP?= www
.include <bsd.port.pre.mk>
post-configure:
@${SED} -e 's,%%PREFIX%%,${PREFIX},g' \
-e 's,%%GLPIDIR%%,${GLPIDIR},g' pkg-message > ${PKGMESSAGE}
do-install:
@${MKDIR} -m 0755 ${PREFIX}/${GLPIDIR}
@cd ${WRKSRC} && ${FIND} * -print | ${CPIO} ${CPIOARGS} ${WWWOWN}:${WWWGRP} ${PREFIX}/${GLPIDIR}
@${CHOWN} ${WWWOWN}:${WWWGRP} ${PREFIX}/${GLPIDIR}
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>