BSD-style Makefiles require special handling of manual pages.

This commit is contained in:
kim 2000-11-25 23:51:17 +00:00
parent 52abccf3d9
commit d07320dcfc
4 changed files with 29 additions and 10 deletions

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.10 2000/09/25 04:00:15 fredb Exp $
# $NetBSD: Makefile,v 1.11 2000/11/25 23:51:17 kim Exp $
#
DISTNAME= isakmpd-000915-snap
@ -19,4 +19,21 @@ IGNORE+= "${PKGNAME} requires ipsec-ready NetBSD"
ALL_TARGET= depend all
PLIST_SRC= ${WRKDIR}/PLIST
MANCOMPRESSED= ${MANZ}
pre-install:
@${CP} ${PKGDIR}/PLIST ${PLIST_SRC}
@for OPT in ${MANINSTALL} broken-solaris-needs-this; do \
case $$OPT in \
catinstall) \
${CAT} ${PKGDIR}/PLIST.cat >> ${PLIST_SRC}; \
;; \
maninstall) \
${CAT} ${PKGDIR}/PLIST.man >> ${PLIST_SRC}; \
;; \
esac; \
done
.include "../../mk/bsd.pkg.mk"

View file

@ -1,11 +1,3 @@
@comment $NetBSD: PLIST,v 1.2 2000/09/03 13:12:27 wiz Exp $
@comment $NetBSD: PLIST,v 1.3 2000/11/25 23:51:17 kim Exp $
sbin/certpatch
sbin/isakmpd
man/cat5/isakmpd.conf.0
man/cat5/isakmpd.policy.0
man/cat8/certpatch.0
man/cat8/isakmpd.0
man/man5/isakmpd.conf.5
man/man5/isakmpd.policy.5
man/man8/certpatch.8
man/man8/isakmpd.8

View file

@ -0,0 +1,5 @@
@comment $NetBSD: PLIST.cat,v 1.1 2000/11/25 23:51:18 kim Exp $
man/cat5/isakmpd.conf.0
man/cat5/isakmpd.policy.0
man/cat8/certpatch.0
man/cat8/isakmpd.0

View file

@ -0,0 +1,5 @@
@comment $NetBSD: PLIST.man,v 1.1 2000/11/25 23:51:18 kim Exp $
man/man5/isakmpd.conf.5
man/man5/isakmpd.policy.5
man/man8/certpatch.8
man/man8/isakmpd.8