From ef5b6b51f00fafbe9511cf95c9b68d20f9937655 Mon Sep 17 00:00:00 2001 From: Dean Matzkov Date: Sun, 3 Feb 2019 12:53:02 -0700 Subject: [PATCH] wla-dx-git: install real documentation + manpages, and remove *.rst files --- wla-dx-git/Makefile | 23 +++++++++++++++++------ wla-dx-git/PLIST | 34 +++++++++++++--------------------- 2 files changed, 30 insertions(+), 27 deletions(-) diff --git a/wla-dx-git/Makefile b/wla-dx-git/Makefile index aa5c40ce6d..324305ff21 100644 --- a/wla-dx-git/Makefile +++ b/wla-dx-git/Makefile @@ -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" diff --git a/wla-dx-git/PLIST b/wla-dx-git/PLIST index 741e0fdd5b..174c853a9f 100644 --- a/wla-dx-git/PLIST +++ b/wla-dx-git/PLIST @@ -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