- Stage support

This commit is contained in:
Martin Wilke 2014-02-28 16:18:23 +00:00
parent 12e7306968
commit 13a61fcc92
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=346536
2 changed files with 6 additions and 10 deletions

View file

@ -18,24 +18,18 @@ RUN_DEPENDS:= ${BUILD_DEPENDS}
USES= perl5
NO_BUILD= yes
MANCOMPRESSED= no
MAN1= rhost.1 jdresolve.1
DOC1= AUTHORS BUGS CHANGELOG COPYING CREDITS INSTALL README TODO
NO_STAGE= yes
do-install:
.for file in jdresolve rhost
${INSTALL_SCRIPT} ${WRKSRC}/${file} ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/${file}.1 ${MAN1PREFIX}/man/man1
${INSTALL_SCRIPT} ${WRKSRC}/${file} ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/${file}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
.endfor
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/jdresolve
${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/jdresolve
.for i in ${DOC1}
${INSTALL_DATA} ${WRKSRC}/${i} ${PREFIX}/share/doc/jdresolve
${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${PREFIX}/share/doc/jdresolve
.endfor
.endif
.include <bsd.port.mk>

View file

@ -1,5 +1,7 @@
bin/jdresolve
bin/rhost
man/man1/jdresolve.1.gz
man/man1/rhost.1.gz
%%PORTDOCS%%share/doc/jdresolve/AUTHORS
%%PORTDOCS%%share/doc/jdresolve/BUGS
%%PORTDOCS%%share/doc/jdresolve/CHANGELOG