diff options
author | dinoex <dinoex@FreeBSD.org> | 2013-11-27 13:41:11 +0800 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2013-11-27 13:41:11 +0800 |
commit | 159c163062b511a200ff53a9f35490aff5b2c4a9 (patch) | |
tree | abe09721d3b68eff16e6a92d29381759497836b3 /devel | |
parent | fed85cf9aba93dd6f7f32ddb0f9c7e2d636e778d (diff) | |
download | freebsd-ports-gnome-159c163062b511a200ff53a9f35490aff5b2c4a9.tar.gz freebsd-ports-gnome-159c163062b511a200ff53a9f35490aff5b2c4a9.tar.zst freebsd-ports-gnome-159c163062b511a200ff53a9f35490aff5b2c4a9.zip |
- use STAGEDIR
- use option EXAMPLES
Diffstat (limited to 'devel')
-rw-r--r-- | devel/ruby-locale/Makefile | 14 | ||||
-rw-r--r-- | devel/ruby-locale/pkg-plist | 4 |
2 files changed, 10 insertions, 8 deletions
diff --git a/devel/ruby-locale/Makefile b/devel/ruby-locale/Makefile index b3275fd174c7..30b2406200e9 100644 --- a/devel/ruby-locale/Makefile +++ b/devel/ruby-locale/Makefile @@ -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> diff --git a/devel/ruby-locale/pkg-plist b/devel/ruby-locale/pkg-plist index e7d66bb97a20..676df59ccb86 100644 --- a/devel/ruby-locale/pkg-plist +++ b/devel/ruby-locale/pkg-plist @@ -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%% |