Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Sep 2015 19:23:37 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r397389 - head/sysutils/torque
Message-ID:  <201509201923.t8KJNbna052692@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201509201923.t8KJNbna052692>