From d07320dcfc2f87c0bbcc6a7cefc7408f75db4a7f Mon Sep 17 00:00:00 2001 From: kim Date: Sat, 25 Nov 2000 23:51:17 +0000 Subject: BSD-style Makefiles require special handling of manual pages. --- security/isakmpd/Makefile | 19 ++++++++++++++++++- security/isakmpd/pkg/PLIST | 10 +--------- security/isakmpd/pkg/PLIST.cat | 5 +++++ security/isakmpd/pkg/PLIST.man | 5 +++++ 4 files changed, 29 insertions(+), 10 deletions(-) create mode 100644 security/isakmpd/pkg/PLIST.cat create mode 100644 security/isakmpd/pkg/PLIST.man (limited to 'security') diff --git a/security/isakmpd/Makefile b/security/isakmpd/Makefile index 9bef5a8d3b9..e8966e45cc4 100644 --- a/security/isakmpd/Makefile +++ b/security/isakmpd/Makefile @@ -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" diff --git a/security/isakmpd/pkg/PLIST b/security/isakmpd/pkg/PLIST index a84d4a2aee5..bb0b596eb3c 100644 --- a/security/isakmpd/pkg/PLIST +++ b/security/isakmpd/pkg/PLIST @@ -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 diff --git a/security/isakmpd/pkg/PLIST.cat b/security/isakmpd/pkg/PLIST.cat new file mode 100644 index 00000000000..e3b723bea1b --- /dev/null +++ b/security/isakmpd/pkg/PLIST.cat @@ -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 diff --git a/security/isakmpd/pkg/PLIST.man b/security/isakmpd/pkg/PLIST.man new file mode 100644 index 00000000000..b8d6fb54e83 --- /dev/null +++ b/security/isakmpd/pkg/PLIST.man @@ -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 -- cgit v1.2.3