Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Feb 2014 14:35:37 +0000 (UTC)
From:      Danilo Egea Gondolfo <danilo@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r344394 - head/math/ruby-algebra
Message-ID:  <201402151435.s1FEZbkI049010@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danilo
Date: Sat Feb 15 14:35:37 2014
New Revision: 344394
URL: http://svnweb.freebsd.org/changeset/ports/344394
QAT: https://qat.redports.org/buildarchive/r344394/

Log:
  - Add stage support
  - Add DOCS option
  - Remove the indefinite article from COMMENT

Modified:
  head/math/ruby-algebra/Makefile

Modified: head/math/ruby-algebra/Makefile
==============================================================================
--- head/math/ruby-algebra/Makefile	Sat Feb 15 14:33:39 2014	(r344393)
+++ head/math/ruby-algebra/Makefile	Sat Feb 15 14:35:37 2014	(r344394)
@@ -9,28 +9,27 @@ PKGNAMEPREFIX=	${RUBY_PKGNAMEPREFIX}
 DIST_SUBDIR=	ruby
 
 MAINTAINER=	ports@FreeBSD.org
-COMMENT=	A Ruby library for mathematical (algebraic) computations
+COMMENT=	Ruby library for mathematical (algebraic) computations
 
 USE_RUBY=	yes
 WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
 
 NO_BUILD=	yes
 
+OPTIONS_DEFINE=	DOCS
+
 DOCS_EN=	doc/*.rd	doc/*.html
 DOCS_JA=	doc-ja/*.rd	doc-ja/*.html
 
-NO_STAGE=	yes
 do-install:
-.if !defined(NOPORTDOCS)
-	${MKDIR} ${RUBY_MODEXAMPLESDIR}
-	${INSTALL_DATA} ${WRKSRC}/sample/* ${RUBY_MODEXAMPLESDIR}/
-	${MKDIR} ${RUBY_MODDOCDIR}/ja
+	@${MKDIR} ${STAGEDIR}${RUBY_MODEXAMPLESDIR}
+	${INSTALL_DATA} ${WRKSRC}/sample/* ${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>



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