aboutsummaryrefslogtreecommitdiff
path: root/graphics/ruby-tgif
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-07-04 00:09:47 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2014-07-04 00:09:47 +0000
commitde494a80910bba9be314cb2d32f0c7e07de7b33f (patch)
tree3645a10ed72391740d754f21302e9a7bd1e2f8ed /graphics/ruby-tgif
parentac9d42d09cab6b10f5e477912a5983632bb16014 (diff)
Notes
Diffstat (limited to 'graphics/ruby-tgif')
-rw-r--r--graphics/ruby-tgif/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/graphics/ruby-tgif/Makefile b/graphics/ruby-tgif/Makefile
index 2bb1bc884323..5646100fd529 100644
--- a/graphics/ruby-tgif/Makefile
+++ b/graphics/ruby-tgif/Makefile
@@ -35,6 +35,8 @@ INSTALL_TARGET= site-install
DOCS_EN= README
DOCS_JA= ChangeLog.ja README.ja
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.pre.mk>
.if ${ARCH} == "amd64" || ${ARCH} == "ia64"
@@ -48,7 +50,6 @@ post-patch:
${RUBY} -i -pe 'gsub %r|\.\./|, "tgif/"' ${WRKSRC}/extconf.rb ${WRKSRC}/*.c
post-install:
-.if !defined(NOPORTDOCS)
${MKDIR} ${RUBY_MODEXAMPLESDIR}/ja
${INSTALL_DATA} ${WRKSRC}/examples/test??.rb ${RUBY_MODEXAMPLESDIR}/
${INSTALL_DATA} ${WRKSRC}/examples/test??_ja.rb ${RUBY_MODEXAMPLESDIR}/ja/
@@ -59,6 +60,5 @@ post-install:
.for f in ${DOCS_JA}
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/ja/
.endfor
-.endif
.include <bsd.port.post.mk>