aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authorvs <vs@FreeBSD.org>2005-02-21 16:36:03 +0800
committervs <vs@FreeBSD.org>2005-02-21 16:36:03 +0800
commitfd19a2b5d573da05d1a2777c1aef2230bc472a0e (patch)
tree1cf769026efa2bd49ec3de425804a8a5f7b3c569 /misc
parentedfaef7c6e1c5ddc2151dd2be6328bc72222a9c8 (diff)
downloadfreebsd-ports-gnome-fd19a2b5d573da05d1a2777c1aef2230bc472a0e.tar.gz
freebsd-ports-gnome-fd19a2b5d573da05d1a2777c1aef2230bc472a0e.tar.zst
freebsd-ports-gnome-fd19a2b5d573da05d1a2777c1aef2230bc472a0e.zip
Removed: It hasn't been available for quite some time and the 'pg'
utility is available from syutils/heirloom. PR: ports/77714 Submitted by: Sam Lawrance
Diffstat (limited to 'misc')
-rw-r--r--misc/Makefile1
-rw-r--r--misc/pg/Makefile21
-rw-r--r--misc/pg/distinfo2
-rw-r--r--misc/pg/files/patch-aa15
-rw-r--r--misc/pg/files/patch-ab84
-rw-r--r--misc/pg/pkg-descr8
6 files changed, 0 insertions, 131 deletions
diff --git a/misc/Makefile b/misc/Makefile
index b1eb4aec946d..5a8b60b72b65 100644
--- a/misc/Makefile
+++ b/misc/Makefile
@@ -334,7 +334,6 @@
SUBDIR += pear-Services_Weather
SUBDIR += pear-Text_Figlet
SUBDIR += peq
- SUBDIR += pg
SUBDIR += php4-calendar
SUBDIR += php4-mcal
SUBDIR += php5-calendar
diff --git a/misc/pg/Makefile b/misc/pg/Makefile
deleted file mode 100644
index 9ce1b27a002f..000000000000
--- a/misc/pg/Makefile
+++ /dev/null
@@ -1,21 +0,0 @@
-# New ports collection makefile for: pg
-# Date created: 3 January 2001
-# Whom: George Reid <greid@ukug.uk.freebsd.org>
-#
-# $FreeBSD$
-#
-
-PORTNAME= pg
-PORTVERSION= 010103
-CATEGORIES= misc
-MASTER_SITES= # none
-
-MAINTAINER= ports@FreeBSD.org
-COMMENT= An implementation of System V's pg pager
-
-MAKEFILE= makefile
-
-MAN1= pg.1
-PLIST_FILES= bin/pg
-
-.include <bsd.port.mk>
diff --git a/misc/pg/distinfo b/misc/pg/distinfo
deleted file mode 100644
index 3a7bd87fdfa4..000000000000
--- a/misc/pg/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-MD5 (pg-010103.tar.gz) = 36f495569fd8987f5a85684b7bbe5637
-SIZE (pg-010103.tar.gz) = 12507
diff --git a/misc/pg/files/patch-aa b/misc/pg/files/patch-aa
deleted file mode 100644
index 2ff51df239c7..000000000000
--- a/misc/pg/files/patch-aa
+++ /dev/null
@@ -1,15 +0,0 @@
---- makefile.orig Wed Jan 3 05:06:51 2001
-+++ makefile Wed Jan 3 13:37:36 2001
-@@ -3,11 +3,10 @@
- # CONFIGURATION
-
- #WARN = -Wall -Wno-parentheses -Wno-implicit-int -Wshadow
--PREFIX = /usr/local
- BINDIR = $(PREFIX)/bin
- MANDIR = $(PREFIX)/man
- MANSECT = $(MANDIR)/man1
--INSTALL = /usr/ucb/install
-+INSTALL = /usr/bin/install
- # For Linux, enable both of the following flags.
- # For Solaris 8, disable SUSF (other versions untested).
- SUSF = -D_XOPEN_SOURCE=500L
diff --git a/misc/pg/files/patch-ab b/misc/pg/files/patch-ab
deleted file mode 100644
index 07fbfb88250e..000000000000
--- a/misc/pg/files/patch-ab
+++ /dev/null
@@ -1,84 +0,0 @@
---- pg.c.orig Wed Jan 3 13:29:40 2001
-+++ pg.c Wed Jan 3 13:34:48 2001
-@@ -59,8 +59,6 @@
- #include <signal.h>
- #include <setjmp.h>
- #include <locale.h>
--#include <wctype.h>
--#include <wchar.h>
- #ifndef sun
- #include <curses.h>
- #include <term.h>
-@@ -786,7 +784,7 @@
- if ((wl = xmbstowcs(wbuf, t, sizeof wbuf)) == -1)
- return;
- while (wl--) {
-- if (!iswprint(*wp) && *wp != L'\n' && *wp != L'\r'
-+ if (!isprint(*wp) && *wp != L'\n' && *wp != L'\r'
- && *wp != L'\b' && *wp != L'\t')
- *wp = L'?';
- wp++;
-@@ -988,7 +986,6 @@
- * We got a signal.
- */
- canjump = 0;
-- sigrelse(sig);
- fseeko(fbuf, pos, SEEK_SET);
- *b = '\0';
- dline = pagelen;
-@@ -1086,7 +1083,6 @@
- * We got a signal.
- */
- canjump = 0;
-- sigrelse(sig);
- dline = pagelen;
- } else {
- p = endline(ttycols, b);
-@@ -1386,8 +1382,8 @@
- write(STDOUT_FILENO, cmd.cmdline,
- strlen(cmd.cmdline));
- write(STDOUT_FILENO, "\n", 1);
-- sigset(SIGINT, SIG_IGN);
-- sigset(SIGQUIT, SIG_IGN);
-+ signal(SIGINT, SIG_IGN);
-+ signal(SIGQUIT, SIG_IGN);
- switch (cpid = fork()) {
- case 0:
- p = getenv("SHELL");
-@@ -1402,9 +1398,9 @@
- } else {
- fclose(f);
- }
-- sigset(SIGINT, oldint);
-- sigset(SIGQUIT, oldquit);
-- sigset(SIGTERM, oldterm);
-+ signal(SIGINT, oldint);
-+ signal(SIGQUIT, oldquit);
-+ signal(SIGTERM, oldterm);
- execl(p, p, "-c",
- cmd.cmdline + 1, NULL);
- eof = errno;
-@@ -1420,8 +1416,8 @@
- default:
- while (wait(NULL) != cpid);
- }
-- sigset(SIGINT, sighandler);
-- sigset(SIGQUIT, sighandler);
-+ signal(SIGINT, sighandler);
-+ signal(SIGQUIT, sighandler);
- mesg("!\n");
- }
- goto newcmd;
-@@ -1504,9 +1500,9 @@
- progname = argv[0];
- if (tcgetattr(STDOUT_FILENO, &otio) == 0) {
- ontty = 1;
-- oldint = sigset(SIGINT, sighandler);
-- oldquit = sigset(SIGQUIT, sighandler);
-- oldterm = sigset(SIGTERM, sighandler);
-+ oldint = signal(SIGINT, sighandler);
-+ oldquit = signal(SIGQUIT, sighandler);
-+ oldterm = signal(SIGTERM, sighandler);
- setlocale(LC_CTYPE, "");
- setlocale(LC_COLLATE, "");
- tty = ttyname(STDOUT_FILENO);
diff --git a/misc/pg/pkg-descr b/misc/pg/pkg-descr
deleted file mode 100644
index fc1bff126ac6..000000000000
--- a/misc/pg/pkg-descr
+++ /dev/null
@@ -1,8 +0,0 @@
-The pg command originates from System V and is a text file browser,
-like more. It lets the user scroll forward and backward even if input
-comes from a pipe. This free clone is intended to comply to the SVID 4
-and SUSv2 specifications of this utility; it can handle large files as
-well as files that contain multibyte characters.
-
-- George Reid
-greid@ukug.uk.freebsd.org