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
commit9bf6d3cc82a96af80efdca5f28813f3c68d63a38 (patch)
tree240aea4e6b9e98b9b20134185f0cd0b8b70bcf5f /security
parenta1ab8755a1344b05b2e3c7b7f8d4b764eb4a3473 (diff)
downloadpkgsrc-9bf6d3cc82a96af80efdca5f28813f3c68d63a38.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