mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-16 03:24:07 +00:00
5259fee7c3
It enables additional reports. Main features : * It also plugin allow you to add new reports in a simply way (one PHP script for the report and one for the translation). * It handle the right for each new report * It provides some new reports (as sample) PR: ports/140176 Submitted by: ddurieux <d.durieux at siprossii.com>
36 lines
976 B
Makefile
36 lines
976 B
Makefile
# New ports collection makefile for: glpi-plugins-AdditionalReports
|
|
# Date created: 01 November 2009
|
|
# Whom: ddurieux <d.durieux@siprossii.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= AdditionalReports
|
|
DISTVERSION= 1.3.0
|
|
CATEGORIES= textproc
|
|
MASTER_SITES= https://forge.indepnet.net/attachments/download/136/ \
|
|
http://glpi.siprossii.com/distfiles/
|
|
PKGNAMEPREFIX= glpi-plugins-
|
|
DISTNAME= glpi-reports-1.3.0
|
|
|
|
MAINTAINER= d.durieux@siprossii.com
|
|
COMMENT= This plugin enables additional reports
|
|
|
|
RUN_DEPENDS= glpi>=0.72:${PORTSDIR}/www/glpi
|
|
|
|
WRKSRC= ${WRKDIR}/reports
|
|
NO_BUILD= yes
|
|
PKGMESSAGE= ${WRKDIR}/pkg-message
|
|
CPIOARGS= --quiet -pdum -R
|
|
|
|
GLPIPLUGINDIR?= www/glpi/plugins/reports
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
do-install:
|
|
@${MKDIR} -m 0755 ${PREFIX}/${GLPIPLUGINDIR}
|
|
@cd ${WRKSRC} && ${FIND} * -print | ${CPIO} ${CPIOARGS} ${WWWOWN}:${WWWGRP} ${PREFIX}/${GLPIPLUGINDIR}
|
|
@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/${GLPIPLUGINDIR}
|
|
|
|
.include <bsd.port.post.mk>
|