summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorkim <kim>2000-11-25 23:51:17 +0000
committerkim <kim>2000-11-25 23:51:17 +0000
commitbf2501947d84b699ce2d832529798c5c28153dae (patch)
tree240aea4e6b9e98b9b20134185f0cd0b8b70bcf5f /security
parent4891ab9bbe12c4a4961b8a5dfed04f95e3b03161 (diff)
downloadpkgsrc-bf2501947d84b699ce2d832529798c5c28153dae.tar.gz
BSD-style Makefiles require special handling of manual pages.
Diffstat (limited to 'security')
-rw-r--r--security/isakmpd/Makefile19
-rw-r--r--security/isakmpd/pkg/PLIST10
-rw-r--r--security/isakmpd/pkg/PLIST.cat5
-rw-r--r--security/isakmpd/pkg/PLIST.man5
4 files changed, 29 insertions, 10 deletions
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