crispy-doom: Fix man page names

This commit is contained in:
Michael Baeuerle 2020-08-27 18:16:56 +02:00
parent e9df93014f
commit 86ca5195d0
3 changed files with 17 additions and 6 deletions

View File

@ -61,7 +61,8 @@ pre-configure:
cd ${WRKSRC} && autoreconf -fi
${CP} ${FILESDIR}/INSTALL.pkgsrc ${WRKDIR}
# Rename the XDG files to the style of chocolate-doom
# Rename XDG files to the style of chocolate-doom
# Rename man pages so that they don't collide with chocolate-doom
post-install:
${INSTALL_DATA} ${WRKDIR}/INSTALL.pkgsrc \
${DESTDIR}${PREFIX}/share/doc/crispy-doom/INSTALL.pkgsrc
@ -79,6 +80,17 @@ post-install:
${DESTDIR}${PREFIX}/share/metainfo/crispy-doom.metainfo.xml
${MV} ${DESTDIR}${PREFIX}/share/metainfo/io.github.fabiangreffrath.Heretic.metainfo.xml \
${DESTDIR}${PREFIX}/share/metainfo/crispy-heretic.metainfo.xml
.if defined(PLIST.sysv)
${MV} ${DESTDIR}${PREFIX}/${PKGMANDIR}/man4/default.cfg.4 \
${DESTDIR}${PREFIX}/${PKGMANDIR}/man4/crispy-default.cfg.4
${MV} ${DESTDIR}${PREFIX}/${PKGMANDIR}/man4/heretic.cfg.4 \
${DESTDIR}${PREFIX}/${PKGMANDIR}/man4/crispy-heretic.cfg.4
.else
${MV} ${DESTDIR}${PREFIX}/${PKGMANDIR}/man5/default.cfg.5 \
${DESTDIR}${PREFIX}/${PKGMANDIR}/man5/crispy-default.cfg.5
${MV} ${DESTDIR}${PREFIX}/${PKGMANDIR}/man5/heretic.cfg.5 \
${DESTDIR}${PREFIX}/${PKGMANDIR}/man5/crispy-heretic.cfg.5
.endif
.include "../../audio/SDL2_mixer/buildlink3.mk"
.include "../../audio/libsamplerate/buildlink3.mk"

View File

@ -4,14 +4,12 @@ bin/crispy-doom-setup
bin/crispy-heretic
bin/crispy-heretic-setup
bin/crispy-server
${PLIST.sysv}man/man4/crispy-default.cfg.4
${PLIST.sysv}man/man4/crispy-doom.cfg.4
${PLIST.sysv}man/man4/crispy-heretic.cfg.4
${PLIST.sysv}man/man4/default.cfg.4
${PLIST.sysv}man/man4/heretic.cfg.4
${PLIST.bsd}man/man5/crispy-default.cfg.5
${PLIST.bsd}man/man5/crispy-doom.cfg.5
${PLIST.bsd}man/man5/crispy-heretic.cfg.5
${PLIST.bsd}man/man5/default.cfg.5
${PLIST.bsd}man/man5/heretic.cfg.5
man/man6/crispy-doom-setup.6
man/man6/crispy-doom.6
man/man6/crispy-heretic-setup.6

View File

@ -10,4 +10,5 @@ Fails without Python:
[X] Add commit message
[X] Fix PLIST
[X] Fix man page sections (4 vs. 5 for file format pages on different OS)
[ ] Fix man page default.cfg conflict with chocolate-doom
[X] Fix man page default.cfg conflict with chocolate-doom
[X] Rename man page heretic.cfg to crispy-heretic.cfg