diff options
author | bapt <bapt@FreeBSD.org> | 2014-04-07 22:09:35 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2014-04-07 22:09:35 +0800 |
commit | 17481499dfbc7bea1fcd10ee09c3fd1b6a62a697 (patch) | |
tree | 44a1dffa14fedea904bf3eb97199447cceecaae1 /devel/ruby-rreadline | |
parent | 838147cdb2d24003e33df7af9e529ba8e9999269 (diff) | |
download | freebsd-ports-gnome-17481499dfbc7bea1fcd10ee09c3fd1b6a62a697.tar.gz freebsd-ports-gnome-17481499dfbc7bea1fcd10ee09c3fd1b6a62a697.tar.zst freebsd-ports-gnome-17481499dfbc7bea1fcd10ee09c3fd1b6a62a697.zip |
Support stage
Respect EXAMPLES option
Diffstat (limited to 'devel/ruby-rreadline')
-rw-r--r-- | devel/ruby-rreadline/Makefile | 22 | ||||
-rw-r--r-- | devel/ruby-rreadline/pkg-plist | 14 |
2 files changed, 18 insertions, 18 deletions
diff --git a/devel/ruby-rreadline/Makefile b/devel/ruby-rreadline/Makefile index 451d8b33efb5..3a9464ab16a1 100644 --- a/devel/ruby-rreadline/Makefile +++ b/devel/ruby-rreadline/Makefile @@ -9,27 +9,27 @@ PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX} DIST_SUBDIR= ruby MAINTAINER= ruby@FreeBSD.org -COMMENT= A pure Ruby implementation of the Readline library +COMMENT= Pure Ruby implementation of the Readline library + +OPTIONS_DEFINE= DOCS EXAMPLES USE_RUBY= yes RUBY_NO_BUILD_DEPENDS= yes NO_BUILD= yes -NO_STAGE= yes post-extract: ${ECHO_CMD} '#!/bin/sh' > ${WRKSRC}/rbsh ${ECHO_CMD} 'ruby RubyShell.rb' >> ${WRKSRC}/rbsh do-install: - ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}/*.rb ${RUBY_SITELIBDIR}/ -.if !defined(NOPORTDOCS) - ${MKDIR} ${RUBY_MODEXAMPLESDIR}/rbsh - ${INSTALL_SCRIPT} ${WRKSRC}/rbsh ${RUBY_MODEXAMPLESDIR}/rbsh/ - ${INSTALL_DATA} ${WRKSRC}/samples/rbsh/*.rb ${RUBY_MODEXAMPLESDIR}/rbsh/ - ${MKDIR} ${RUBY_MODDOCDIR}/ja - ${INSTALL_DATA} ${WRKSRC}/README ${RUBY_MODDOCDIR}/ - ${INSTALL_DATA} ${WRKSRC}/README.ja ${RUBY_MODDOCDIR}/ja/ -.endif + @${MKDIR} ${STAGEDIR}${RUBY_SITELIBDIR}/ + ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}/*.rb ${STAGEDIR}${RUBY_SITELIBDIR}/ + @${MKDIR} ${STAGEDIR}${RUBY_MODEXAMPLESDIR}/rbsh + ${INSTALL_SCRIPT} ${WRKSRC}/rbsh ${STAGEDIR}${RUBY_MODEXAMPLESDIR}/rbsh/ + ${INSTALL_DATA} ${WRKSRC}/samples/rbsh/*.rb ${STAGEDIR}${RUBY_MODEXAMPLESDIR}/rbsh/ + @${MKDIR} ${STAGEDIR}${RUBY_MODDOCDIR}/ja + ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${RUBY_MODDOCDIR}/ + ${INSTALL_DATA} ${WRKSRC}/README.ja ${STAGEDIR}${RUBY_MODDOCDIR}/ja/ .include <bsd.port.mk> diff --git a/devel/ruby-rreadline/pkg-plist b/devel/ruby-rreadline/pkg-plist index c52101082dea..35c156076519 100644 --- a/devel/ruby-rreadline/pkg-plist +++ b/devel/ruby-rreadline/pkg-plist @@ -8,13 +8,13 @@ %%RUBY_SITELIBDIR%%/RReadline.rb %%RUBY_SITELIBDIR%%/StringUtil.rb %%RUBY_SITELIBDIR%%/Terminal.rb -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/rbsh/rbsh -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/rbsh/ContextualExecutables.rb -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/rbsh/RubyShell.rb -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/rbsh/ShellExecutables.rb -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/rbsh/UnixDirectoryClient.rb -%%PORTDOCS%%@dirrm %%RUBY_MODEXAMPLESDIR%%/rbsh -%%PORTDOCS%%@dirrm %%RUBY_MODEXAMPLESDIR%% +%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/rbsh/rbsh +%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/rbsh/ContextualExecutables.rb +%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/rbsh/RubyShell.rb +%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/rbsh/ShellExecutables.rb +%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/rbsh/UnixDirectoryClient.rb +%%PORTEXAMPLES%%@dirrm %%RUBY_MODEXAMPLESDIR%%/rbsh +%%PORTEXAMPLES%%@dirrm %%RUBY_MODEXAMPLESDIR%% %%PORTDOCS%%%%RUBY_MODDOCDIR%%/README %%PORTDOCS%%%%RUBY_MODDOCDIR%%/ja/README.ja %%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%/ja |