aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/glpi-plugins-tracker-agent
diff options
context:
space:
mode:
authorvanilla <vanilla@FreeBSD.org>2014-07-29 20:47:11 +0800
committervanilla <vanilla@FreeBSD.org>2014-07-29 20:47:11 +0800
commit58cdc56550a89ce2a1dc46494f536b91d77acee6 (patch)
tree8c99aeacdbc123208515daa0dfc66efa95cd5e96 /net-mgmt/glpi-plugins-tracker-agent
parent1c132f734b228638ac9120058164e09d0178d627 (diff)
downloadfreebsd-ports-gnome-58cdc56550a89ce2a1dc46494f536b91d77acee6.tar.gz
freebsd-ports-gnome-58cdc56550a89ce2a1dc46494f536b91d77acee6.tar.zst
freebsd-ports-gnome-58cdc56550a89ce2a1dc46494f536b91d77acee6.zip
Stagify.
Diffstat (limited to 'net-mgmt/glpi-plugins-tracker-agent')
-rw-r--r--net-mgmt/glpi-plugins-tracker-agent/Makefile20
-rw-r--r--net-mgmt/glpi-plugins-tracker-agent/files/pkg-message.in (renamed from net-mgmt/glpi-plugins-tracker-agent/pkg-message)0
2 files changed, 6 insertions, 14 deletions
diff --git a/net-mgmt/glpi-plugins-tracker-agent/Makefile b/net-mgmt/glpi-plugins-tracker-agent/Makefile
index 20ef8a090184..1688f2e4a5f3 100644
--- a/net-mgmt/glpi-plugins-tracker-agent/Makefile
+++ b/net-mgmt/glpi-plugins-tracker-agent/Makefile
@@ -22,23 +22,15 @@ RUN_DEPENDS= p5-Net-SNMP>=0:${PORTSDIR}/net-mgmt/p5-Net-SNMP \
USES= perl5
WRKSRC= ${WRKDIR}/agent_tracker
NO_BUILD= yes
-PKGMESSAGE= ${WRKDIR}/pkg-message
+SUB_FILES= pkg-message
+#PKGMESSAGE= ${WRKDIR}/pkg-message
+SUB_LIST= TRACKERAGENTDIR="${TRACKERAGENTDIR}"
CPIOARGS= --quiet -pdum
TRACKERAGENTDIR?= share/tracker_agent
-NO_STAGE= yes
-.include <bsd.port.pre.mk>
-
-post-configure:
- @${SED} -e 's,%%PREFIX%%,${PREFIX},g' \
- -e 's,%%TRACKERAGENTDIR%%,${TRACKERAGENTDIR},g' pkg-message > ${PKGMESSAGE}
-
do-install:
- @${MKDIR} -m 0755 ${PREFIX}/${TRACKERAGENTDIR}
- @cd ${WRKSRC} && ${FIND} * -print | ${CPIO} ${CPIOARGS} ${PREFIX}/${TRACKERAGENTDIR}
-
-post-install:
- @${CAT} ${PKGMESSAGE}
+ @${MKDIR} -m 0755 ${STAGEDIR}${PREFIX}/${TRACKERAGENTDIR}
+ @cd ${WRKSRC} && ${FIND} * -print | ${CPIO} ${CPIOARGS} ${STAGEDIR}${PREFIX}/${TRACKERAGENTDIR}
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/net-mgmt/glpi-plugins-tracker-agent/pkg-message b/net-mgmt/glpi-plugins-tracker-agent/files/pkg-message.in
index 24df0d738354..24df0d738354 100644
--- a/net-mgmt/glpi-plugins-tracker-agent/pkg-message
+++ b/net-mgmt/glpi-plugins-tracker-agent/files/pkg-message.in