Date: Sun, 25 Jun 2017 15:02:34 +0000 (UTC) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r444275 - head/devel/ruby-sdl Message-ID: <201706251502.v5PF2Y0E061856@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sunpoet Date: Sun Jun 25 15:02:34 2017 New Revision: 444275 URL: https://svnweb.freebsd.org/changeset/ports/444275 Log: Convert to options target helper Approved by: portmgr (blanket) Modified: head/devel/ruby-sdl/Makefile Modified: head/devel/ruby-sdl/Makefile ============================================================================== --- head/devel/ruby-sdl/Makefile Sun Jun 25 15:02:29 2017 (r444274) +++ head/devel/ruby-sdl/Makefile Sun Jun 25 15:02:34 2017 (r444275) @@ -51,13 +51,11 @@ DOC_FILESEN= *.rsd *ref.en.html OPTIONS_DEFINE= DOCS EXAMPLES OPTIONS_SUB= yes -.include <bsd.port.options.mk> - post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/ruby/site_ruby/${RUBY_VER}/*/sdl_ext.so @${REINPLACE_CMD} -e 's|ruby|${LOCALBASE}/bin/ruby|g' ${WRKSRC}/doc/rsd.rb -.if ${PORT_OPTIONS:MDOCS} +post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR}/ja ${INSTALL_DATA} ${DOC_FILES_WRKSRC_JA:S|^|${DOCSRCDIR1}/|} ${STAGEDIR}${DOCSDIR}/ja/ ${INSTALL_DATA} ${DOC_FILES_WRKSRC_EN:S|^|${DOCSRCDIR1}/|} ${STAGEDIR}${DOCSDIR} @@ -65,11 +63,9 @@ post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR}/doc/ja ${INSTALL_DATA} ${DOC_FILESJA:S|^|${DOCSRCDIRJA}/|} ${STAGEDIR}${DOCSDIR}/doc/ja/ ${INSTALL_DATA} ${DOC_FILESEN:S|^|${DOCSRCDIREN}/|} ${STAGEDIR}${DOCSDIR}/doc/ -.endif -.if ${PORT_OPTIONS:MEXAMPLES} +post-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/sample/* ${STAGEDIR}${EXAMPLESDIR} -.endif .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201706251502.v5PF2Y0E061856>