Date: Thu, 3 Sep 2015 13:02:44 +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: r395952 - head/sysutils/slurm-wlm Message-ID: <201509031302.t83D2iw6047737@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: amdmi3 Date: Thu Sep 3 13:02:43 2015 New Revision: 395952 URL: https://svnweb.freebsd.org/changeset/ports/395952 Log: - Switch to options helpers - Fix installation command - No need to remove docsdir, it is handled in plist Approved by: portmgr blanket Modified: head/sysutils/slurm-wlm/Makefile Modified: head/sysutils/slurm-wlm/Makefile ============================================================================== --- head/sysutils/slurm-wlm/Makefile Thu Sep 3 13:00:27 2015 (r395951) +++ head/sysutils/slurm-wlm/Makefile Thu Sep 3 13:02:43 2015 (r395952) @@ -39,8 +39,6 @@ OPTIONS_SUB= yes GTK2_DESC= Build GUI config tool sview -.include <bsd.port.options.mk> - # SLURM's configure enables interactive jobs if pty.h exists. Replacing # #include <pty.h> with appropriate headers will therefore not work, so instead # add a pty.h for the build. @@ -51,10 +49,7 @@ post-patch: ${WRKSRC}/doc/html/shtml2html.py \ ${WRKSRC}/doc/man/man2html.py -post-stage: -.if ! ${PORT_OPTIONS:MDOCS} - ${RM} -rf ${STAGEDIR}${LOCALBASE}/share/doc/${PORTNAME}-${PORTVERSION} -.endif - ${CP} ${FILESDIR}/slurm.conf.example ${STAGEDIR}${PREFIX}/etc/ +post-install: + ${INSTALL_DATA} ${FILESDIR}/slurm.conf.example ${STAGEDIR}${PREFIX}/etc/ .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201509031302.t83D2iw6047737>