Date: Wed, 27 Nov 2013 05:41:11 +0000 (UTC) From: Dirk Meyer <dinoex@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r334996 - head/devel/ruby-locale Message-ID: <201311270541.rAR5fBoc020524@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: dinoex Date: Wed Nov 27 05:41:11 2013 New Revision: 334996 URL: http://svnweb.freebsd.org/changeset/ports/334996 Log: - use STAGEDIR - use option EXAMPLES Modified: head/devel/ruby-locale/Makefile head/devel/ruby-locale/pkg-plist Modified: head/devel/ruby-locale/Makefile ============================================================================== --- head/devel/ruby-locale/Makefile Wed Nov 27 04:39:09 2013 (r334995) +++ head/devel/ruby-locale/Makefile Wed Nov 27 05:41:11 2013 (r334996) @@ -21,13 +21,15 @@ USE_RUBY_EXTCONF= yes INSTALL_TARGET= site-install -NO_STAGE= yes +.include <bsd.port.options.mk> post-install: -.if !defined(NOPORTDOCS) - ${MKDIR} ${RUBY_MODEXAMPLESDIR} - ${INSTALL_DATA} ${WRKSRC}/test.rb ${RUBY_MODEXAMPLESDIR}/ - ${MKDIR} ${RUBY_MODDOCDIR} - ${INSTALL_DATA} ${WRKSRC}/README ${RUBY_MODDOCDIR}/ +.if ${PORT_OPTIONS:MDOCS} + ${MKDIR} ${STAGEDIR}${RUBY_MODDOCDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${RUBY_MODDOCDIR}/ +.endif +.if ${PORT_OPTIONS:MEXAMPLES} + ${MKDIR} ${STAGEDIR}${RUBY_MODEXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/test.rb ${STAGEDIR}${RUBY_MODEXAMPLESDIR}/ .endif .include <bsd.port.mk> Modified: head/devel/ruby-locale/pkg-plist ============================================================================== --- head/devel/ruby-locale/pkg-plist Wed Nov 27 04:39:09 2013 (r334995) +++ head/devel/ruby-locale/pkg-plist Wed Nov 27 05:41:11 2013 (r334996) @@ -1,5 +1,5 @@ %%RUBY_SITEARCHLIBDIR%%/locale.so -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/test.rb -%%PORTDOCS%%@dirrm %%RUBY_MODEXAMPLESDIR%% %%PORTDOCS%%%%RUBY_MODDOCDIR%%/README %%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%% +%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/test.rb +%%PORTEXAMPLES%%@dirrm %%RUBY_MODEXAMPLESDIR%%
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311270541.rAR5fBoc020524>