diff options
Diffstat (limited to 'net-mgmt/glpi-plugins-tracker-server/Makefile')
-rw-r--r-- | net-mgmt/glpi-plugins-tracker-server/Makefile | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/net-mgmt/glpi-plugins-tracker-server/Makefile b/net-mgmt/glpi-plugins-tracker-server/Makefile new file mode 100644 index 000000000000..a707514c1c2a --- /dev/null +++ b/net-mgmt/glpi-plugins-tracker-server/Makefile @@ -0,0 +1,44 @@ +# New ports collection makefile for: glpi-plugins-tracker-server +# Date created: 31 October 2009 +# Whom: ddurieux <d.durieux@siprossii.com> +# +# $FreeBSD$ +# + +PORTNAME= server +DISTVERSION= 2.1.3 +CATEGORIES= net-mgmt +MASTER_SITES= https://forge.indepnet.net/attachments/download/512/ \ + http://glpi.siprossii.com/distfiles/ +PKGNAMEPREFIX= glpi-plugins-tracker- +DISTNAME= glpi-tracker_server-2.1.3 + +MAINTAINER= d.durieux@siprossii.com +COMMENT= Plugin of glpi to get information of networking devices by SNMP + +RUN_DEPENDS= glpi>=0.72:${PORTSDIR}/www/glpi + +USE_PHP= zlib + +WRKSRC= ${WRKDIR}/tracker +NO_BUILD= yes +PKGMESSAGE= ${WRKDIR}/pkg-message +CPIOARGS= --quiet -pdum -R + +GLPIPLUGINDIR?= www/glpi/plugins/tracker + +.include <bsd.port.pre.mk> + +post-configure: + @${SED} -e 's,%%PREFIX%%,${PREFIX},g' \ + -e 's,%%GLPIPLUGINDIR%%,${GLPIPLUGINDIR},g' pkg-message > ${PKGMESSAGE} + +do-install: + @${MKDIR} -m 0755 ${PREFIX}/${GLPIPLUGINDIR} + @cd ${WRKSRC} && ${FIND} * -print | ${CPIO} ${CPIOARGS} ${WWWOWN}:${WWWGRP} ${PREFIX}/${GLPIPLUGINDIR} + @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/${GLPIPLUGINDIR} + +post-install: + @${CAT} ${PKGMESSAGE} + +.include <bsd.port.post.mk> |