aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2001-04-29 07:42:14 +0800
committerpeter <peter@FreeBSD.org>2001-04-29 07:42:14 +0800
commitb4f0bccf2723272abaf1652f4285057f5767453c (patch)
tree67e03f9369e2cd0edd00b2972f04dad7511d161d /sysutils
parent7ecc196b9c537afc393fbe071bca0d43532ef948 (diff)
downloadfreebsd-ports-gnome-b4f0bccf2723272abaf1652f4285057f5767453c.tar.gz
freebsd-ports-gnome-b4f0bccf2723272abaf1652f4285057f5767453c.tar.zst
freebsd-ports-gnome-b4f0bccf2723272abaf1652f4285057f5767453c.zip
Add a port for paicc (paint changed characters). This is an incredibly
useful tool as it allows you to have arbitary command lines refreshed in a top-like fashion. eg: paicc -c 'date; uptime; vmstat -i'
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/Makefile1
-rw-r--r--sysutils/paicc/Makefile19
-rw-r--r--sysutils/paicc/distinfo1
-rw-r--r--sysutils/paicc/files/patch-aa47
-rw-r--r--sysutils/paicc/files/patch-ab10
-rw-r--r--sysutils/paicc/pkg-comment1
-rw-r--r--sysutils/paicc/pkg-descr6
-rw-r--r--sysutils/paicc/pkg-plist2
8 files changed, 87 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile
index ca990dbc28ed..7a690b3a0af7 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -98,6 +98,7 @@
SUBDIR += p5-SyslogScan
SUBDIR += p5-Unix-ConfigFile
SUBDIR += p5-Unix-Syslog
+ SUBDIR += paicc
SUBDIR += perf
SUBDIR += personality
SUBDIR += pib
diff --git a/sysutils/paicc/Makefile b/sysutils/paicc/Makefile
new file mode 100644
index 000000000000..3628011cc0f0
--- /dev/null
+++ b/sysutils/paicc/Makefile
@@ -0,0 +1,19 @@
+# New ports collection makefile for: paicc
+# Date created: 28 Apr 2001
+# Whom: peter
+#
+# $FreeBSD$
+#
+
+PORTNAME= paicc
+PORTVERSION= 1.4
+CATEGORIES= sysutils
+MASTER_SITES= ${MASTER_SITE_SUNSITE}
+MASTER_SITE_SUBDIR= utils/shell
+
+MAINTAINER= peter@FreeBSD.org
+
+MAKE_ENV= BIN=${PREFIX}/bin MAN=${PREFIX}/man DATA=${PREFIX}/libdata
+MAN1= paicc.1
+
+.include <bsd.port.mk>
diff --git a/sysutils/paicc/distinfo b/sysutils/paicc/distinfo
new file mode 100644
index 000000000000..7db977583a2d
--- /dev/null
+++ b/sysutils/paicc/distinfo
@@ -0,0 +1 @@
+MD5 (paicc-1.4.tar.gz) = 4cb525f74b9708c5ea3cc2e9ef7c3552
diff --git a/sysutils/paicc/files/patch-aa b/sysutils/paicc/files/patch-aa
new file mode 100644
index 000000000000..9e4737ce1fef
--- /dev/null
+++ b/sysutils/paicc/files/patch-aa
@@ -0,0 +1,47 @@
+--- Makefile.orig Mon Sep 2 19:13:20 1996
++++ Makefile Sat Apr 28 16:34:34 2001
+@@ -13,8 +13,8 @@
+ # 3) make install
+
+-BIN=/usr/local/bin
+-MAN=/usr/local/man
+-CC=cc -O
+-SHELL=/bin/sh
++#BIN=/usr/local/bin
++#MAN=/usr/local/man
++#CC=cc -O
++#SHELL=/bin/sh
+
+
+@@ -22,5 +22,5 @@
+ all:
+ @echo "Making PAICC ..."
+- @make paicc CFLAGS=" -O" LFLAGS=" -lcurses"
++ @make paicc CFLAGS="${CFLAGS}" LFLAGS=" -lcurses"
+
+ clean:
+@@ -35,5 +35,5 @@
+ evap.o: evap/evap.h evap/evap.c
+ @echo ' making evap.o ...'
+- $(CC) -DP_EVAP_MM_PATH=\"$(BIN)/paiccmm.a\" -c $$CFLAGS evap/evap.c
++ $(CC) -DP_EVAP_MM_PATH=\"$(DATA)/paiccmm.a\" -c $$CFLAGS evap/evap.c
+
+ paicc.o: paicc.c evap.o evap/evap.h evap/paicc_pdt_out
+@@ -47,14 +47,10 @@
+ cp paicc $(BIN)/paicc
+ chmod 755 $(BIN)/paicc
+- -rm -fr $(BIN)/paint_changed_characters
+- -ln -s $(BIN)/paicc $(BIN)/paint_changed_characters
+ @echo "Updating message module archive $(BIN)/paiccmm.a ..."
+- ar rcv $(BIN)/paiccmm.a evap/*.mm
+- ranlib $(BIN)/paiccmm.a
+- chmod 755 $(BIN)/paiccmm.a
++ ar rcv $(DATA)/paiccmm.a evap/*.mm
++ ranlib $(DATA)/paiccmm.a
++ chmod 755 $(DATA)/paiccmm.a
+ cp paicc.1 $(MAN)/man1/paicc.1
+ chmod 755 $(MAN)/man1/paicc.1
+- -rm -fr $(MAN)/man1/paint_changed_characters.1
+- -ln -s $(MAN)/man1/paicc.1 $(MAN)/man1/paint_changed_characters.1
+
+ # Unix flavor-dependent section!
diff --git a/sysutils/paicc/files/patch-ab b/sysutils/paicc/files/patch-ab
new file mode 100644
index 000000000000..6dc57ead8831
--- /dev/null
+++ b/sysutils/paicc/files/patch-ab
@@ -0,0 +1,10 @@
+--- evap/evap.c.dist Sun Aug 25 08:36:46 1996
++++ evap/evap.c Sat Apr 28 16:24:54 2001
+@@ -19,7 +19,6 @@
+
+ #include <stdio.h>
+ #include <ctype.h>
+-#include <malloc.h>
+ #include <sys/types.h>
+ #include <pwd.h>
+ #include <string.h>
diff --git a/sysutils/paicc/pkg-comment b/sysutils/paicc/pkg-comment
new file mode 100644
index 000000000000..78328403bdd8
--- /dev/null
+++ b/sysutils/paicc/pkg-comment
@@ -0,0 +1 @@
+Paint Changed Characters
diff --git a/sysutils/paicc/pkg-descr b/sysutils/paicc/pkg-descr
new file mode 100644
index 000000000000..da91ecb79280
--- /dev/null
+++ b/sysutils/paicc/pkg-descr
@@ -0,0 +1,6 @@
+This command turns the static output from one or more Unix
+commands into a dynamic, pageable, real-time display. You
+specify the command(s) and the delay period between screen
+refreshes and Paint Changed Characters does the rest, including
+optimizations to minimize cursor movement and the number of
+transmitted characters.
diff --git a/sysutils/paicc/pkg-plist b/sysutils/paicc/pkg-plist
new file mode 100644
index 000000000000..3523654950b9
--- /dev/null
+++ b/sysutils/paicc/pkg-plist
@@ -0,0 +1,2 @@
+bin/paicc
+libdata/paiccmm.a