svn commit: r345603 - head/textproc/ruby-format

Martin Wilke miwi at FreeBSD.org
Sat Feb 22 10:36:16 UTC 2014


Author: miwi
Date: Sat Feb 22 10:36:15 2014
New Revision: 345603
URL: http://svnweb.freebsd.org/changeset/ports/345603
QAT: https://qat.redports.org/buildarchive/r345603/

Log:
  - Stage support

Modified:
  head/textproc/ruby-format/Makefile

Modified: head/textproc/ruby-format/Makefile
==============================================================================
--- head/textproc/ruby-format/Makefile	Sat Feb 22 10:35:55 2014	(r345602)
+++ head/textproc/ruby-format/Makefile	Sat Feb 22 10:36:15 2014	(r345603)
@@ -16,18 +16,16 @@ USE_RUBY=	yes
 
 NO_BUILD=	yes
 
-NO_STAGE=	yes
 post-patch:
 	${RUBY} -i.orig -pe 'gsub(/"(format_test\.pl)/, "\"./\\1")' ${WRKSRC}/test_format.rb
 
 do-install:
-	${INSTALL_DATA} ${WRKSRC}/format.rb ${RUBY_SITELIBDIR}/
-.if !defined(NOPORTDOCS)
-	${MKDIR} ${RUBY_MODEXAMPLESDIR}/test
+	${MKDIR} ${STAGEDIR}${RUBY_SITELIBDIR}
+	${INSTALL_DATA} ${WRKSRC}/format.rb ${STAGEDIR}${RUBY_SITELIBDIR}/
+	${MKDIR} ${STAGEDIR}${RUBY_MODEXAMPLESDIR}/test
 .for f in test_format.rb format_test.pl
-	${INSTALL_SCRIPT} ${WRKSRC}/${f} ${RUBY_MODEXAMPLESDIR}/
+	${INSTALL_SCRIPT} ${WRKSRC}/${f} ${STAGEDIR}${RUBY_MODEXAMPLESDIR}/
 .endfor
-	${INSTALL_DATA} ${WRKSRC}/test/* ${RUBY_MODEXAMPLESDIR}/test/
-.endif
+	${INSTALL_DATA} ${WRKSRC}/test/* ${STAGEDIR}${RUBY_MODEXAMPLESDIR}/test/
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list