From fdff0bd4f02f44ac38f8b99d27a40c120ea75cba Mon Sep 17 00:00:00 2001 From: Cy Schubert Date: Sun, 14 Mar 2021 13:50:18 +0000 Subject: [PATCH] Add sysutils/mxkill: An X11/Motif ps display with kill Add sysutils/mxkill to ports. mxkill is a simple psaux utility that provides the ablilty to kill selected processes. Playing with it one evening it discovered for me a number of errant oclock processes running in my CDE dispaly. --- sysutils/Makefile | 1 + sysutils/mxkill/Makefile | 17 +++++++++++++++++ sysutils/mxkill/distinfo | 3 +++ sysutils/mxkill/files/patch-Mxkill.tmpl | 15 +++++++++++++++ sysutils/mxkill/pkg-descr | 9 +++++++++ 5 files changed, 45 insertions(+) create mode 100644 sysutils/mxkill/Makefile create mode 100644 sysutils/mxkill/distinfo create mode 100644 sysutils/mxkill/files/patch-Mxkill.tmpl create mode 100644 sysutils/mxkill/pkg-descr diff --git a/sysutils/Makefile b/sysutils/Makefile index 3bdbf561e1c8..3d19c6ba60af 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -744,6 +744,7 @@ SUBDIR += munin-master SUBDIR += munin-node SUBDIR += muse + SUBDIR += mxkill SUBDIR += mybashburn SUBDIR += myrescue SUBDIR += n98-magerun diff --git a/sysutils/mxkill/Makefile b/sysutils/mxkill/Makefile new file mode 100644 index 000000000000..1eb475ede324 --- /dev/null +++ b/sysutils/mxkill/Makefile @@ -0,0 +1,17 @@ +# Created by: Cy Schubert +# $FreeBSD$ + +PORTNAME= mxkill +PORTVERSION= 1.2 +CATEGORIES+= sysutils +MASTER_SITES= https://www.muquit.com/muquit/software/mxkill/ +DISTNAME= ${PORTNAME}${PORTVERSION} + +MAINTAINER= cy@FreeBSD.org +COMMENT= X/Motif interface to ps with kill capability + +USES= imake:noman motif + +PLIST_FILES= bin/mxkill + +.include diff --git a/sysutils/mxkill/distinfo b/sysutils/mxkill/distinfo new file mode 100644 index 000000000000..6893ac0acdb5 --- /dev/null +++ b/sysutils/mxkill/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1615654000 +SHA256 (mxkill1.2.tar.gz) = 13515b1bfa154d16e5b644abcdb76660c883178776960f042ec7fe39089fc56d +SIZE (mxkill1.2.tar.gz) = 72713 diff --git a/sysutils/mxkill/files/patch-Mxkill.tmpl b/sysutils/mxkill/files/patch-Mxkill.tmpl new file mode 100644 index 000000000000..58f8272ce4d4 --- /dev/null +++ b/sysutils/mxkill/files/patch-Mxkill.tmpl @@ -0,0 +1,15 @@ +--- Mxkill.tmpl.orig 1997-08-30 09:03:15.000000000 -0700 ++++ Mxkill.tmpl 2021-03-13 19:26:13.659667000 -0800 +@@ -54,10 +54,10 @@ + XCOMM these: + XCOMM LOCAL_LIBRARIES= $(XMLIB) $(XTOOLLIB) $(XLIB) + XCOMM or +-XCOMM LOCAL_LIBRARIES= -lXm -lXt -lX11 ++LOCAL_LIBRARIES= -lXm -lXt -lX11 + XCOMM + +-LOCAL_LIBRARIES= XmClientLibs ++XCOMM LOCAL_LIBRARIES= XmClientLibs + + #ifdef HPArchitecture + CCOPTIONS= -Aa -D_HPUX_SOURCE -Dhpux diff --git a/sysutils/mxkill/pkg-descr b/sysutils/mxkill/pkg-descr new file mode 100644 index 000000000000..643df10bdff6 --- /dev/null +++ b/sysutils/mxkill/pkg-descr @@ -0,0 +1,9 @@ +mxkill is a X/Motif interface to ps. Inspired by xzap by +gerry.tomlinson@ncl.ac.uk. xzap is an X Athena widget version +of the zap command described in Kernighan &l Pike's "The Unix +Programming Environment". I am not a big fan of Athena widget +set, so I had to write it in Motif. + +This port requires Motif or equivalent to build. + +WWW: https://www.muquit.com/muquit/software/mxkill/mxkill.html