aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2014-04-08 00:14:18 +0800
committerbapt <bapt@FreeBSD.org>2014-04-08 00:14:18 +0800
commit4033bb479c2fc874b0c9f22c0bb956e32ba08528 (patch)
tree3203413c33e8450030b94b0e297cc193f8a5d0cc /textproc
parent9621d6d6eb6623cb3cf8dc8a105099812b5fa717 (diff)
downloadfreebsd-ports-gnome-4033bb479c2fc874b0c9f22c0bb956e32ba08528.tar.gz
freebsd-ports-gnome-4033bb479c2fc874b0c9f22c0bb956e32ba08528.tar.zst
freebsd-ports-gnome-4033bb479c2fc874b0c9f22c0bb956e32ba08528.zip
Support stage
Diffstat (limited to 'textproc')
-rw-r--r--textproc/ruby-rss.alt/Makefile11
1 files changed, 5 insertions, 6 deletions
diff --git a/textproc/ruby-rss.alt/Makefile b/textproc/ruby-rss.alt/Makefile
index eb3808809ea7..513afd2d92d0 100644
--- a/textproc/ruby-rss.alt/Makefile
+++ b/textproc/ruby-rss.alt/Makefile
@@ -12,6 +12,8 @@ DIST_SUBDIR= ruby
MAINTAINER= ruby@FreeBSD.org
COMMENT= Ruby library for handling RSS (alternative impl.)
+OPTIONS_DEFINE= DOCS
+
RUN_DEPENDS= ${LOCALBASE}/${SADIR}/uconv.so:${PORTSDIR}/japanese/ruby-uconv
CONFLICTS= ruby-rss-*
@@ -24,12 +26,9 @@ SADIR= lib/ruby/site_ruby/${RUBY_VER}/${RUBY_ARCH}
DOCS_EN= README.en Tutorial.en
DOCS_JA= README.ja Tutorial.ja
-NO_STAGE= yes
post-install:
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${RUBY_MODDOCDIR}/ja
- ${INSTALL_DATA} ${DOCS_EN:S,^,${WRKSRC}/,} ${RUBY_MODDOCDIR}/
- ${INSTALL_DATA} ${DOCS_JA:S,^,${WRKSRC}/,} ${RUBY_MODDOCDIR}/ja/
-.endif
+ ${MKDIR} ${STAGEDIR}${RUBY_MODDOCDIR}/ja
+ ${INSTALL_DATA} ${DOCS_EN:S,^,${WRKSRC}/,} ${STAGEDIR}${RUBY_MODDOCDIR}/
+ ${INSTALL_DATA} ${DOCS_JA:S,^,${WRKSRC}/,} ${STAGEDIR}${RUBY_MODDOCDIR}/ja/
.include <bsd.port.mk>