From c5f49159671635864eb204fbc3c2652114662d11 Mon Sep 17 00:00:00 2001 From: Baptiste Daroussin Date: Mon, 7 Apr 2014 16:14:18 +0000 Subject: [PATCH] Support stage --- textproc/ruby-rss.alt/Makefile | 11 +++++------ 1 file 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