aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2014-04-08 00:25:36 +0800
committerbapt <bapt@FreeBSD.org>2014-04-08 00:25:36 +0800
commitcd82b2d04f6dae7acab0c86e8b9a3b6b5ef51580 (patch)
treede0527ac2ac326b25f1a24cd926788469e0a037a /textproc
parentda143865436abbd9838e4b79f2e77a78afa664b2 (diff)
downloadfreebsd-ports-gnome-cd82b2d04f6dae7acab0c86e8b9a3b6b5ef51580.tar.gz
freebsd-ports-gnome-cd82b2d04f6dae7acab0c86e8b9a3b6b5ef51580.tar.zst
freebsd-ports-gnome-cd82b2d04f6dae7acab0c86e8b9a3b6b5ef51580.zip
Support stage
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>