1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

Support stage

This commit is contained in:
Baptiste Daroussin 2014-04-07 16:25:36 +00:00
parent 3b3342a73b
commit 6ae75dc3d3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=350520

View File

@ -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>