aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Stolz <vs@FreeBSD.org>2005-02-21 08:36:03 +0000
committerVolker Stolz <vs@FreeBSD.org>2005-02-21 08:36:03 +0000
commitb6b9e38b3a55da30d369d95d911e49c13528d7b5 (patch)
treef5819bb2940f002284f89c5a9b71af6bc2c5d9c8
parentf1e8f269ec6a7d995bbee4e73bb7b622639b3b30 (diff)
downloadports-b6b9e38b3a55da30d369d95d911e49c13528d7b5.tar.gz
ports-b6b9e38b3a55da30d369d95d911e49c13528d7b5.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
Notes
Notes: svn path=/head/; revision=129445
-rw-r--r--MOVED1
-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
7 files changed, 1 insertions, 131 deletions
diff --git a/MOVED b/MOVED
index 93a1c0ce40dd..ed4c317b6208 100644
--- a/MOVED
+++ b/MOVED
@@ -1438,3 +1438,4 @@ x11-wm/wmx||2005-02-18|port was broken or obsolete
x11/wmessage||2005-02-18|port was broken or obsolete
lang/aleph|lang/afnix|2005-02-19|project renamed
net/ipw||2005-02-19|abandoned
+misc/pg|sysutils/heirloom|2005-02-21|abandoned
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