svn commit: r348442 - head/net-mgmt/check_snmp_pkgvuln
Emanuel Haupt
ehaupt at FreeBSD.org
Mon Mar 17 07:31:43 UTC 2014
Author: ehaupt
Date: Mon Mar 17 07:31:42 2014
New Revision: 348442
URL: http://svnweb.freebsd.org/changeset/ports/348442
QAT: https://qat.redports.org/buildarchive/r348442/
Log:
Support staging
Modified:
head/net-mgmt/check_snmp_pkgvuln/Makefile
Modified: head/net-mgmt/check_snmp_pkgvuln/Makefile
==============================================================================
--- head/net-mgmt/check_snmp_pkgvuln/Makefile Mon Mar 17 03:11:51 2014 (r348441)
+++ head/net-mgmt/check_snmp_pkgvuln/Makefile Mon Mar 17 07:31:42 2014 (r348442)
@@ -18,17 +18,16 @@ RUN_DEPENDS= snmpwalk:${PORTSDIR}/net-mg
NAGIOS_PLUGIN_DIR?= libexec/nagios
NO_WRKSUBDIR= yes
+NO_BUILD= yes
PLIST_SUB= NAGIOS_PLUGIN_DIR=${NAGIOS_PLUGIN_DIR}
-NO_STAGE= yes
post-patch:
${REINPLACE_CMD} -e 's|/usr/local/|${PREFIX}/|' ${WRKSRC}/${PORTNAME}
-do-build:
-
do-install:
- @${MKDIR} ${PREFIX}/${NAGIOS_PLUGIN_DIR}
- ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/${NAGIOS_PLUGIN_DIR}
+ @${MKDIR} ${STAGEDIR}${PREFIX}/${NAGIOS_PLUGIN_DIR}
+ ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} \
+ ${STAGEDIR}${PREFIX}/${NAGIOS_PLUGIN_DIR}
.include <bsd.port.mk>
More information about the svn-ports-all
mailing list