aboutsummaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2014-04-07 16:25:36 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2014-04-07 16:25:36 +0000
commit6ae75dc3d3adc501f645749e83b12e708c88861e (patch)
treede0527ac2ac326b25f1a24cd926788469e0a037a /textproc
parent3b3342a73b3d15460b2df053b70bc53c6eee6438 (diff)
downloadports-6ae75dc3d3adc501f645749e83b12e708c88861e.tar.gz
ports-6ae75dc3d3adc501f645749e83b12e708c88861e.zip
Notes
Diffstat (limited to 'textproc')
-rw-r--r--textproc/ruby-xmlconfigfile/Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/textproc/ruby-xmlconfigfile/Makefile b/textproc/ruby-xmlconfigfile/Makefile
index 2a8bcb638dbc..aeb78dab7cb1 100644
--- a/textproc/ruby-xmlconfigfile/Makefile
+++ b/textproc/ruby-xmlconfigfile/Makefile
@@ -12,6 +12,8 @@ DIST_SUBDIR= ruby
MAINTAINER= ports@FreeBSD.org
COMMENT= A Ruby module for easy handling of XML configuration files
+OPTIONS_DEFINE= DOCS
+
USE_RUBY= yes
USE_RUBY_FEATURES= rexml
USE_RUBY_SETUP= yes
@@ -19,13 +21,10 @@ RUBY_SETUP= install.rb
DOCS= docs CHANGES README TODO
-NO_STAGE= yes
post-install:
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${RUBY_MODDOCDIR}
+ @${MKDIR} ${STAGEDIR}${RUBY_MODDOCDIR}
.for f in ${DOCS}
- ${CP} -R ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
+ ${CP} -R ${WRKSRC}/${f} ${STAGEDIR}${RUBY_MODDOCDIR}/
.endfor
-.endif
.include <bsd.port.mk>