svn commit: r397389 - head/sysutils/torque
Dmitry Marakasov
amdmi3 at FreeBSD.org
Sun Sep 20 19:23:37 UTC 2015
Author: amdmi3
Date: Sun Sep 20 19:23:36 2015
New Revision: 397389
URL: https://svnweb.freebsd.org/changeset/ports/397389
Log:
- Switch to options helpers
Modified:
head/sysutils/torque/Makefile
Modified: head/sysutils/torque/Makefile
==============================================================================
--- head/sysutils/torque/Makefile Sun Sep 20 19:22:28 2015 (r397388)
+++ head/sysutils/torque/Makefile Sun Sep 20 19:23:36 2015 (r397389)
@@ -26,18 +26,14 @@ CONFLICTS_INSTALL= qstat-[0-9]* zh-qterm
OPTIONS_DEFINE= EXAMPLES
-.include <bsd.port.options.mk>
-
pre-configure:
@${REINPLACE_CMD} -E 's|ps[ \t]+-ef|ps -ax|g' ${WRKSRC}/torque.setup
@${REINPLACE_CMD} -E 's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/configure
post-install:
${INSTALL_SCRIPT} ${WRKDIR}/torque-config ${STAGEDIR}${PREFIX}/bin
-.if ${PORT_OPTIONS:MEXAMPLES}
+
+post-install-EXAMPLES-on:
${INSTALL_SCRIPT} ${WRKSRC}/torque.setup ${STAGEDIR}${EXAMPLESDIR}
-.else
- ${RM} -rf ${STAGEDIR}${EXAMPLESDIR}
-.endif
.include <bsd.port.mk>
More information about the svn-ports-head
mailing list