diff options
-rw-r--r-- | net-mgmt/glpi-plugins-tracker-agent/Makefile | 20 | ||||
-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 |