Fix ctags(1) manual page if the package gets built with manual page

compression. Bump package revivison because of this bug fix.
This commit is contained in:
tron 2012-12-22 10:34:20 +00:00
parent 6daa6cf2a5
commit 4bdf5b5f34

View file

@ -1,9 +1,9 @@
# $NetBSD: Makefile,v 1.151 2012/10/08 23:01:26 adam Exp $
# $NetBSD: Makefile,v 1.152 2012/12/22 10:34:20 tron Exp $
CONFLICTS+= emacs-nox11-[0-9]*
.include "../../editors/emacs/Makefile.common"
PKGREVISION= 9
PKGREVISION= 10
.include "options.mk"
@ -12,6 +12,14 @@ SUBST_STAGE.prefix= pre-configure
SUBST_VARS.prefix= PREFIX
SUBST_FILES.prefix= src/s/netbsd.h
# Replace manual page which only includes another one with a symbolic link
# if manual compression is activated. The manual page won't work otherwise.
.ifdef(MANZ)
post-install:
${RM} -f ${DESTDIR}${PREFIX}/man/man1/ctags.1
${LN} -s etags.1 ${DESTDIR}${PREFIX}/man/man1/ctags.1
.endif
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../mk/bsd.pkg.mk"