aboutsummaryrefslogtreecommitdiff
path: root/sysutils/pmap
diff options
context:
space:
mode:
authorSergey Skvortsov <skv@FreeBSD.org>2004-04-16 14:16:53 +0000
committerSergey Skvortsov <skv@FreeBSD.org>2004-04-16 14:16:53 +0000
commit073a77050694ef91e7950ee392b3b24b6cd97770 (patch)
tree18d21dabeb6d6d8b025646303688d3d639264ab2 /sysutils/pmap
parent114293d14122377be4607591a23bf745d0d3eb2e (diff)
downloadports-073a77050694ef91e7950ee392b3b24b6cd97770.tar.gz
ports-073a77050694ef91e7950ee392b3b24b6cd97770.zip
Notes
Diffstat (limited to 'sysutils/pmap')
-rw-r--r--sysutils/pmap/Makefile10
-rw-r--r--sysutils/pmap/pkg-message6
2 files changed, 16 insertions, 0 deletions
diff --git a/sysutils/pmap/Makefile b/sysutils/pmap/Makefile
index 294c524a1802..e3b2d84d49ac 100644
--- a/sysutils/pmap/Makefile
+++ b/sysutils/pmap/Makefile
@@ -13,6 +13,8 @@ MASTER_SITES= ftp://ftp.wuppy.net.ru/pub/FreeBSD/local/pmap/
MAINTAINER= skv@FreeBSD.org
COMMENT= Detailed process memory display
+NO_PACKAGE= Depends on kernel
+
PLIST_SUB= KMODDIR=${KMODDIR}
WRKSRC= ${WRKDIR}/${PORTNAME}
@@ -29,4 +31,12 @@ BROKEN= "Currently does not support -CURRENT"
IGNORE= "Not supported on systems prior to 4.5"
.endif
+pre-fetch:
+.if !exists(${SRC_BASE}/sys/Makefile)
+IGNORE= "This port requires kernel sources"
+.endif
+
+post-install:
+ @${CAT} ${PKGMESSAGE}
+
.include <bsd.port.post.mk>
diff --git a/sysutils/pmap/pkg-message b/sysutils/pmap/pkg-message
new file mode 100644
index 000000000000..1b89eb66ff11
--- /dev/null
+++ b/sysutils/pmap/pkg-message
@@ -0,0 +1,6 @@
+
+*******************************************************************************
+* This port contains a prebuilt kernel module. Due to the ever changing *
+* nature of FreeBSD it may be necessary to rebuild the module after a kernel *
+* source update. To do this reinstall the port. *
+*******************************************************************************