diff options
author | bapt <bapt@FreeBSD.org> | 2014-04-07 22:28:09 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2014-04-07 22:28:09 +0800 |
commit | beedddd1d5ee0795696a0ba63ea5c5ede1a97252 (patch) | |
tree | fb3c8332ecbd9a4b6c06ff9d49f585efeece8baa /graphics | |
parent | 3645f15cae857bf7661540dc48d4ca0d9c915b0f (diff) | |
download | freebsd-ports-gnome-beedddd1d5ee0795696a0ba63ea5c5ede1a97252.tar.gz freebsd-ports-gnome-beedddd1d5ee0795696a0ba63ea5c5ede1a97252.tar.zst freebsd-ports-gnome-beedddd1d5ee0795696a0ba63ea5c5ede1a97252.zip |
Support stage
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/ruby-svg/Makefile | 25 | ||||
-rw-r--r-- | graphics/ruby-svg/pkg-plist | 13 |
2 files changed, 14 insertions, 24 deletions
diff --git a/graphics/ruby-svg/Makefile b/graphics/ruby-svg/Makefile index 4ee0a8bb6315..e0686271d16e 100644 --- a/graphics/ruby-svg/Makefile +++ b/graphics/ruby-svg/Makefile @@ -10,7 +10,9 @@ DISTNAME= ruby-${PORTNAME}-${PORTVERSION} DIST_SUBDIR= ruby MAINTAINER= ruby@FreeBSD.org -COMMENT= A Ruby library for generating SVG files +COMMENT= Ruby library for generating SVG files + +OPTIONS_DEFINE= DOCS EXAMPLES USE_RUBY= yes USE_RUBY_FEATURES= zlib @@ -19,21 +21,22 @@ NO_BUILD= yes DOCS_EN= README.en.rd DOCS_JA= README.ja.rd +DOCSDIR= ${RUBY_MODDOCDIR} +EXAMPLESDIR= ${RUBY_MODEXAMPLESDIR} +PORTDOCS= * +PORTEXAMPLES= * -NO_STAGE= yes do-install: - ${MKDIR} ${RUBY_SITELIBDIR}/svg - ${INSTALL_DATA} ${WRKSRC}/lib/svg/*.rb ${RUBY_SITELIBDIR}/svg/ -.if !defined(NOPORTDOCS) - ${MKDIR} ${RUBY_MODEXAMPLESDIR} - ${INSTALL_DATA} ${WRKSRC}/sample/*.rb ${RUBY_MODEXAMPLESDIR}/ - ${MKDIR} ${RUBY_MODDOCDIR}/ja + @${MKDIR} ${STAGEDIR}${RUBY_SITELIBDIR}/svg + ${INSTALL_DATA} ${WRKSRC}/lib/svg/*.rb ${STAGEDIR}${RUBY_SITELIBDIR}/svg/ + @${MKDIR} ${STAGEDIR}${RUBY_MODEXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/sample/*.rb ${STAGEDIR}${RUBY_MODEXAMPLESDIR}/ + @${MKDIR} ${STAGEDIR}${RUBY_MODDOCDIR}/ja .for f in ${DOCS_EN} - ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/ + ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${RUBY_MODDOCDIR}/ .endfor .for f in ${DOCS_JA} - ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/ja/ + ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${RUBY_MODDOCDIR}/ja/ .endfor -.endif .include <bsd.port.mk> diff --git a/graphics/ruby-svg/pkg-plist b/graphics/ruby-svg/pkg-plist index 178dd43c7969..d0f4adac0e1a 100644 --- a/graphics/ruby-svg/pkg-plist +++ b/graphics/ruby-svg/pkg-plist @@ -4,16 +4,3 @@ %%RUBY_SITELIBDIR%%/svg/style.rb %%RUBY_SITELIBDIR%%/svg/svg.rb @dirrm %%RUBY_SITELIBDIR%%/svg -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/sample1.rb -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/sample2.rb -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/sample3.rb -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/sample4.rb -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/sample5.rb -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/sample6.rb -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/sample7.rb -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/sample8.rb -%%PORTDOCS%%@dirrm %%RUBY_MODEXAMPLESDIR%% -%%PORTDOCS%%%%RUBY_MODDOCDIR%%/README.en.rd -%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ja/README.ja.rd -%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%/ja -%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%% |