svn commit: r350483 - head/devel/ruby-tzfile

Baptiste Daroussin bapt at FreeBSD.org
Mon Apr 7 14:11:18 UTC 2014


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 at 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>


More information about the svn-ports-all mailing list