aboutsummaryrefslogtreecommitdiff
path: root/sysutils/pkill
diff options
context:
space:
mode:
authorMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2002-11-08 13:08:21 +0000
committerMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2002-11-08 13:08:21 +0000
commite97feb9a30ce0241aac69f31e39685d730952fc6 (patch)
tree86ff5466fbfa1914cbdc547ad8ee95ede71bbd89 /sysutils/pkill
parent8bcd8f8426c8831eff2efdc4127ceabc48c8dca4 (diff)
downloadports-e97feb9a30ce0241aac69f31e39685d730952fc6.tar.gz
ports-e97feb9a30ce0241aac69f31e39685d730952fc6.zip
Notes
Diffstat (limited to 'sysutils/pkill')
-rw-r--r--sysutils/pkill/Makefile36
-rw-r--r--sysutils/pkill/distinfo2
-rw-r--r--sysutils/pkill/pkg-comment1
-rw-r--r--sysutils/pkill/pkg-descr12
-rw-r--r--sysutils/pkill/pkg-plist2
5 files changed, 53 insertions, 0 deletions
diff --git a/sysutils/pkill/Makefile b/sysutils/pkill/Makefile
new file mode 100644
index 000000000000..99e0152e4076
--- /dev/null
+++ b/sysutils/pkill/Makefile
@@ -0,0 +1,36 @@
+# New ports collection makefile for: NetBSD's pgrep/pkill
+# Date created: Tue Nov 5 14:01:47 UTC 2002
+# Whom: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= pkill
+PORTVERSION= 0.1
+CATEGORIES= sysutils
+MASTER_SITES= ${MASTER_SITE_LOCAL}
+MASTER_SITE_SUBDIR= lioux
+
+MAINTAINER= lioux@FreeBSD.org
+
+MAKE_ENV= DESTDIR=${PREFIX} \
+ BINDIR=/bin \
+ MANDIR=/man/man
+
+MANCOMPRESSED= yes
+MAN1= pgrep.1 pkill.1
+
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 500000
+DISTNAME= ${PORTNAME}-current-${PORTVERSION}
+WRKSRC= ${WRKDIR}/${PORTNAME}-current
+.else
+. if ${OSVERSION} <= 300000
+MAKE_ENV+= NEED_KMEM=1
+. endif
+DISTNAME= ${PORTNAME}-stable-${PORTVERSION}
+WRKSRC= ${WRKDIR}/${PORTNAME}-stable
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/sysutils/pkill/distinfo b/sysutils/pkill/distinfo
new file mode 100644
index 000000000000..99fb735f380d
--- /dev/null
+++ b/sysutils/pkill/distinfo
@@ -0,0 +1,2 @@
+MD5 (pkill-current-0.1.tar.gz) = 364a8115174806e41d99cfc2e8463bc8
+MD5 (pkill-stable-0.1.tar.gz) = 17ca84fe7e4c3fdd490e1561b8fe9035
diff --git a/sysutils/pkill/pkg-comment b/sysutils/pkill/pkg-comment
new file mode 100644
index 000000000000..59b8c348bedd
--- /dev/null
+++ b/sysutils/pkill/pkg-comment
@@ -0,0 +1 @@
+NetBSD's pgrep and pkill: find or signal processes matching criteria
diff --git a/sysutils/pkill/pkg-descr b/sysutils/pkill/pkg-descr
new file mode 100644
index 000000000000..febb88eee91b
--- /dev/null
+++ b/sysutils/pkill/pkg-descr
@@ -0,0 +1,12 @@
+[ excerpt from commands' man page ]
+
+Port of NetBSD's pgrep(1) and pkill(1) commands which either find
+or signal processes matching criteria.
+
+The pgrep command searches the process table on the running system
+and prints the process IDs of all processes that match the criteria
+given on the command line.
+
+The pkill command searches the process table on the running system
+and signals all processes that match the criteria given on the
+command line.
diff --git a/sysutils/pkill/pkg-plist b/sysutils/pkill/pkg-plist
new file mode 100644
index 000000000000..cd9ad9db8d7b
--- /dev/null
+++ b/sysutils/pkill/pkg-plist
@@ -0,0 +1,2 @@
+bin/pgrep
+bin/pkill