svn commit: r350497 - head/math/ruby-numru_misc
Baptiste Daroussin
bapt at FreeBSD.org
Mon Apr 7 15:02:40 UTC 2014
Author: bapt
Date: Mon Apr 7 15:02:39 2014
New Revision: 350497
URL: http://svnweb.freebsd.org/changeset/ports/350497
QAT: https://qat.redports.org/buildarchive/r350497/
Log:
Support stage
Modified:
head/math/ruby-numru_misc/Makefile
Modified: head/math/ruby-numru_misc/Makefile
==============================================================================
--- head/math/ruby-numru_misc/Makefile Mon Apr 7 15:00:24 2014 (r350496)
+++ head/math/ruby-numru_misc/Makefile Mon Apr 7 15:02:39 2014 (r350497)
@@ -12,7 +12,9 @@ PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
DISTNAME= numru-misc-${PORTVERSION}
DIST_SUBDIR= ruby
-LICENSE= BSD
+OPTIONS_DEFINE= DOCS
+
+LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
MAINTAINER= murashin at gfd-dennou.org
@@ -26,16 +28,11 @@ NO_BUILD= yes
DOCS= ChangeLog LICENSE.txt doc/*
-NO_STAGE= yes
do-install:
- @cd ${WRKSRC}/ && ${RUBY} ./install.rb
-
-post-install:
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${RUBY_MODDOCDIR}/
+ @cd ${WRKSRC}/ && ${RUBY} ./install.rb -d ${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.mk>
More information about the svn-ports-all
mailing list