aboutsummaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2014-04-07 15:02:39 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2014-04-07 15:02:39 +0000
commita70fbd478088db66384055f0e1706858bbd85fba (patch)
treeabb980a84cdd35578f08b37a19c2aeed9f7902c0 /math
parent2cfbc8e92cc6599e366fbf89d944e5e72293c939 (diff)
downloadports-a70fbd478088db66384055f0e1706858bbd85fba.tar.gz
ports-a70fbd478088db66384055f0e1706858bbd85fba.zip
Notes
Diffstat (limited to 'math')
-rw-r--r--math/ruby-numru_misc/Makefile15
1 files changed, 6 insertions, 9 deletions
diff --git a/math/ruby-numru_misc/Makefile b/math/ruby-numru_misc/Makefile
index a1711f68174d..4aca9060d279 100644
--- a/math/ruby-numru_misc/Makefile
+++ b/math/ruby-numru_misc/Makefile
@@ -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@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>