- Stage support

This commit is contained in:
Martin Wilke 2014-01-28 15:34:13 +00:00
parent 6af566ceb3
commit 6130941e07
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=341599
2 changed files with 8 additions and 8 deletions

View file

@ -20,22 +20,20 @@ CONFIGURE_ARGS= --with-perl5="${PERL}" \
${ICONV_CONFIGURE_ARG}
USE_LDCONFIG= yes
NO_STAGE= yes
.include "${.CURDIR}/Makefile.common"
MAN1= namazu.1 mknmz.1
post-patch:
@${REINPLACE_CMD} -e '/^SUBDIRS/s|doc||g' ${WRKSRC}/Makefile.in
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/*.css ${DOCSDIR}
@${MKDIR} ${DOCSDIR}/en
${INSTALL_DATA} ${WRKSRC}/doc/en/*.html ${DOCSDIR}/en
@${MKDIR} ${DOCSDIR}/ja
${INSTALL_DATA} ${WRKSRC}/doc/ja/*.html ${DOCSDIR}/ja
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/*.css ${STAGEDIR}${DOCSDIR}
@${MKDIR} ${STAGEDIR}${DOCSDIR}/en
${INSTALL_DATA} ${WRKSRC}/doc/en/*.html ${STAGEDIR}${DOCSDIR}/en
@${MKDIR} ${STAGEDIR}${DOCSDIR}/ja
${INSTALL_DATA} ${WRKSRC}/doc/ja/*.html ${STAGEDIR}${DOCSDIR}/ja
.endif
.include <bsd.port.mk>

View file

@ -13,6 +13,8 @@ bin/nmzgrep
bin/nmzmerge
bin/rfnmz
bin/vfnmz
man/man1/mknmz.1.gz
man/man1/namazu.1.gz
etc/namazu/mknmzrc-sample
etc/namazu/mknmzrc-sample.win32
etc/namazu/namazurc-sample