Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Apr 2014 16:14:18 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r350518 - head/textproc/ruby-rss.alt
Message-ID:  <201404071614.s37GEIVH026534@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Mon Apr  7 16:14:18 2014
New Revision: 350518
URL: http://svnweb.freebsd.org/changeset/ports/350518
QAT: https://qat.redports.org/buildarchive/r350518/

Log:
  Support stage

Modified:
  head/textproc/ruby-rss.alt/Makefile

Modified: head/textproc/ruby-rss.alt/Makefile
==============================================================================
--- head/textproc/ruby-rss.alt/Makefile	Mon Apr  7 16:10:19 2014	(r350517)
+++ head/textproc/ruby-rss.alt/Makefile	Mon Apr  7 16:14:18 2014	(r350518)
@@ -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}/${
 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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201404071614.s37GEIVH026534>