wla-dx-git: install real documentation + manpages, and remove *.rst files

This commit is contained in:
Dean Matzkov 2019-02-03 12:53:02 -07:00
parent 4aefaf2c13
commit ef5b6b51f0
2 changed files with 30 additions and 27 deletions

View File

@ -17,18 +17,29 @@ USE_CMAKE= yes
USE_LANGUAGES= c c++
INSTALLATION_DIRS+= bin
INSTALLATION_DIRS+= ${PKGMANDIR}/man1
INSTALLATION_DIRS+= ${PKGMANDIR}/man7
INSTALLATION_DIRS+= share/doc/${PKGBASE}
WLADX_BINARIES= wla-6502 wla-6510 wla-65816 wla-65c02 wla-gb wla-huc6280 \
wla-spc700 wla-z80 wlab wlalink
do-install:
.for f in ${WLADX_BINARIES}
${INSTALL_PROGRAM} ${WRKSRC}/binaries/${f} ${DESTDIR}${PREFIX}/bin
.endfor
.for f in README.md FILE_FORMATS CHANGELOG doc/*.rst
${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
.endfor
. for f in ${WLADX_BINARIES}
${INSTALL_PROGRAM} ${WRKSRC}/binaries/${f} ${DESTDIR}${PREFIX}/bin
. endfor
. for f in binaries/doc/{wla-dx.txt,wla-dx.html} FILE_FORMATS CHANGELOG
${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
. endfor
. for f in binaries/doc/*.1
${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
. endfor
. for f in binaries/doc/*.7
${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${PREFIX}/${PKGMANDIR}/man7
. endfor
.include "../../wip/mk/git-package.mk"
.include "../../mk/bsd.pkg.mk"

View File

@ -9,26 +9,18 @@ bin/wla-spc700
bin/wla-z80
bin/wlab
bin/wlalink
man/man1/wla-6502.1
man/man1/wla-6510.1
man/man1/wla-65816.1
man/man1/wla-65c02.1
man/man1/wla-gb.1
man/man1/wla-huc6280.1
man/man1/wla-spc700.1
man/man1/wla-z80.1
man/man1/wlab.1
man/man1/wlalink.1
man/man7/wla-dx.7
share/doc/wla-dx/CHANGELOG
share/doc/wla-dx/FILE_FORMATS
share/doc/wla-dx/README.md
share/doc/wla-dx/archoverview.rst
share/doc/wla-dx/arithmetics.rst
share/doc/wla-dx/asmdiv.rst
share/doc/wla-dx/asmsyntax.rst
share/doc/wla-dx/bintodb.rst
share/doc/wla-dx/bugs.rst
share/doc/wla-dx/codetoknow.rst
share/doc/wla-dx/compiling.rst
share/doc/wla-dx/errormsg.rst
share/doc/wla-dx/extraflags.rst
share/doc/wla-dx/files.rst
share/doc/wla-dx/gb-support.rst
share/doc/wla-dx/goodtoknow.rst
share/doc/wla-dx/introduction.rst
share/doc/wla-dx/legal.rst
share/doc/wla-dx/linking.rst
share/doc/wla-dx/symbols.rst
share/doc/wla-dx/tempfiles.rst
share/doc/wla-dx/wla-dx.rst
share/doc/wla-dx/wlaflags.rst
share/doc/wla-dx/wla-dx.html
share/doc/wla-dx/wla-dx.txt