aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-09-21 03:23:36 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2015-09-21 03:23:36 +0800
commit9bc01cf496a61dc83385e9e7ed3a6e5c8cd2c63b (patch)
treea5063cfd72da9107ea44f579fa1d411c3a45a98b
parent44526f62326e57fbae267125b76f10dd08eac88a (diff)
downloadfreebsd-ports-gnome-9bc01cf496a61dc83385e9e7ed3a6e5c8cd2c63b.tar.gz
freebsd-ports-gnome-9bc01cf496a61dc83385e9e7ed3a6e5c8cd2c63b.tar.zst
freebsd-ports-gnome-9bc01cf496a61dc83385e9e7ed3a6e5c8cd2c63b.zip
- Switch to options helpers
-rw-r--r--sysutils/torque/Makefile8
1 files changed, 2 insertions, 6 deletions
diff --git a/sysutils/torque/Makefile b/sysutils/torque/Makefile
index ca96446e8ee5..7dcd8ebb972d 100644
--- a/sysutils/torque/Makefile
+++ b/sysutils/torque/Makefile
@@ -26,18 +26,14 @@ CONFLICTS_INSTALL= qstat-[0-9]* zh-qterm-[0-9]*
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>