Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Apr 2014 14:11: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: r350483 - head/devel/ruby-tzfile
Message-ID:  <201404071411.s37EBIjf074351@svn.freebsd.org>

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

Log:
  Support stage

Modified:
  head/devel/ruby-tzfile/Makefile

Modified: head/devel/ruby-tzfile/Makefile
==============================================================================
--- head/devel/ruby-tzfile/Makefile	Mon Apr  7 14:09:35 2014	(r350482)
+++ head/devel/ruby-tzfile/Makefile	Mon Apr  7 14:11:18 2014	(r350483)
@@ -10,6 +10,8 @@ DISTFILES=	ruby-${PORTNAME}-${PORTVERSIO
 MAINTAINER=	ruby@FreeBSD.org
 COMMENT=	TZFile handling library for Ruby
 
+OPTIONS_DEFINE=	DOCS
+
 USE_RUBY=	yes
 
 NO_BUILD=	yes
@@ -20,20 +22,12 @@ WRKSRC=		${WRKDIR}/${PORTNAME}
 
 DOCS=		${RUBY_RD_HTML_FILES}
 
-NO_STAGE=	yes
-.include <bsd.port.pre.mk>
-
 do-install:
-	${INSTALL_DATA} ${WRKSRC}/tzfile.rb ${RUBY_SITELIBDIR}/
-
-post-install: doc-install
-
-doc-install:
-.if !defined(NOPORTDOCS)
-	${MKDIR} ${RUBY_MODDOCDIR}
+	@${MKDIR} ${STAGEDIR}${RUBY_SITELIBDIR}/
+	${INSTALL_DATA} ${WRKSRC}/tzfile.rb ${STAGEDIR}${RUBY_SITELIBDIR}/
+	@${MKDIR} ${STAGEDIR}${RUBY_MODDOCDIR}
 .for f in ${DOCS}
-	${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
+	${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${RUBY_MODDOCDIR}/
 .endfor
-.endif
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>



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