diff options
author | dinoex <dinoex@FreeBSD.org> | 2008-05-31 01:09:01 +0800 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2008-05-31 01:09:01 +0800 |
commit | c25974ce083ff136211ddfb55dd77fd7ec8f9a3b (patch) | |
tree | 646a482ee9d727f94ca636705cbba6169c7be195 /textproc/eruby | |
parent | 558098ac9b30dc5c9e5d00b9ab8d9395ee71992a (diff) | |
download | freebsd-ports-gnome-c25974ce083ff136211ddfb55dd77fd7ec8f9a3b.tar.gz freebsd-ports-gnome-c25974ce083ff136211ddfb55dd77fd7ec8f9a3b.tar.zst freebsd-ports-gnome-c25974ce083ff136211ddfb55dd77fd7ec8f9a3b.zip |
- use PORTEXAMPLES
Diffstat (limited to 'textproc/eruby')
-rw-r--r-- | textproc/eruby/Makefile | 4 | ||||
-rw-r--r-- | textproc/eruby/pkg-plist | 10 |
2 files changed, 8 insertions, 6 deletions
diff --git a/textproc/eruby/Makefile b/textproc/eruby/Makefile index 7204f3ca9754..6937a12612f2 100644 --- a/textproc/eruby/Makefile +++ b/textproc/eruby/Makefile @@ -35,9 +35,11 @@ do-configure: @cd ${WRKSRC}; ${SETENV} ${CONFIGURE_ENV} ${RUBY} configure.rb ${CONFIGURE_ARGS} post-install: -.if !defined(NOPORTDOCS) +.if !defined(NOPORTEXAMPLES) ${MKDIR} ${RUBY_MODEXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/examples/* ${RUBY_MODEXAMPLESDIR}/ +.endif +.if !defined(NOPORTDOCS) ${MKDIR} ${RUBY_MODDOCDIR}/ja .for f in ${DOCS_EN} ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/ diff --git a/textproc/eruby/pkg-plist b/textproc/eruby/pkg-plist index 6b6b96f5289b..4f6a21583b4f 100644 --- a/textproc/eruby/pkg-plist +++ b/textproc/eruby/pkg-plist @@ -4,11 +4,11 @@ lib/liberuby.so.10 lib/liberuby.so lib/liberuby.a %%RUBY_SITEARCHLIBDIR%%/eruby.so -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/e2r.rb -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/foo.rhtml -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/test.rb -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/test.rhtml -%%PORTDOCS%%@dirrm %%RUBY_MODEXAMPLESDIR%% +%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/e2r.rb +%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/foo.rhtml +%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/test.rb +%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/test.rhtml +%%PORTEXAMPLES%%@dirrm %%RUBY_MODEXAMPLESDIR%% %%PORTDOCS%%%%RUBY_MODDOCDIR%%/COPYING %%PORTDOCS%%%%RUBY_MODDOCDIR%%/ChangeLog %%PORTDOCS%%%%RUBY_MODDOCDIR%%/README.en |