- Stage support

This commit is contained in:
Martin Wilke 2014-02-21 15:47:49 +00:00
parent 2c97a27973
commit 3bb4df0b74
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=345498

View file

@ -15,7 +15,6 @@ COMMENT= A text-to-HTML conversion tool for web writers
USE_RUBY= yes
USE_RUBY_SETUP= yes
RUBY_SHEBANG_FILES= bin/hikidoc
NO_STAGE= yes
PORTDOCS= NEWS NEWS.ja README README.ja \
TextFormattingRules TextFormattingRules.ja
@ -23,12 +22,10 @@ PORTDOCS= NEWS NEWS.ja README README.ja \
PLIST_FILES= bin/hikidoc \
%%RUBY_SITELIBDIR%%/hikidoc.rb
.if !defined(NOPORTDOCS)
post-install:
@${MKDIR} ${DOCSDIR}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in ${PORTDOCS}
@${INSTALL_DATA} ${INSTALL_WRKSRC}/${f} ${DOCSDIR}
@${INSTALL_DATA} ${INSTALL_WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk>