Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Jan 2025 12:13:19 GMT
From:      Rene Ladan <rene@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: c9b5602b2254 - main - textproc/sgrep: Remove expired port
Message-ID:  <202501011213.501CDJKi068878@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by rene:

URL: https://cgit.FreeBSD.org/ports/commit/?id=c9b5602b2254318de32536b88b061c453f242b11

commit c9b5602b2254318de32536b88b061c453f242b11
Author:     Rene Ladan <rene@FreeBSD.org>
AuthorDate: 2025-01-01 12:13:14 +0000
Commit:     Rene Ladan <rene@FreeBSD.org>
CommitDate: 2025-01-01 12:13:14 +0000

    textproc/sgrep: Remove expired port
    
    2024-12-31 textproc/sgrep: Abandonware, primary site is dead and according to website not touched in 20 years. Consider migrating to textproc/p5-ack
---
 MOVED                               |  1 +
 textproc/Makefile                   |  1 -
 textproc/sgrep/Makefile             | 27 -------------------------
 textproc/sgrep/distinfo             |  2 --
 textproc/sgrep/files/patch-Makefile | 39 -------------------------------------
 textproc/sgrep/files/patch-sgrep.1  | 11 -----------
 textproc/sgrep/pkg-descr            |  8 --------
 7 files changed, 1 insertion(+), 88 deletions(-)

diff --git a/MOVED b/MOVED
index 1e66299fefb5..9a5be545b826 100644
--- a/MOVED
+++ b/MOVED
@@ -3835,3 +3835,4 @@ devel/kdesvn||2025-01-01|Has expired: Dwindling amount of users and streamlining
 databases/compass||2025-01-01|Has expired: Depends on expired devel/electron29
 security/dirmngr|security/gnupg|2025-01-01|Has expired: Obsolete, now maintained within GNU Privacy Guard (GnuPG). Please use security/gnupg
 math/opensolaris-libm||2025-01-01|Has expired: Obsolete, consider using libm in base or math/openlibm
+textproc/sgrep||2025-01-01|Has expired: Abandonware, primary site is dead and according to website not touched in 20 years. Consider migrating to textproc/p5-ack
diff --git a/textproc/Makefile b/textproc/Makefile
index a7a1f5d35d0a..e862ae608f52 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -2036,7 +2036,6 @@
     SUBDIR += sexp
     SUBDIR += sgmlformat
     SUBDIR += sgmls
-    SUBDIR += sgrep
     SUBDIR += sgrep2
     SUBDIR += sift
     SUBDIR += sigil
diff --git a/textproc/sgrep/Makefile b/textproc/sgrep/Makefile
deleted file mode 100644
index 4b31fef5ea73..000000000000
--- a/textproc/sgrep/Makefile
+++ /dev/null
@@ -1,27 +0,0 @@
-PORTNAME=	sgrep
-PORTVERSION=	0.99
-PORTREVISION=	3
-CATEGORIES=	textproc
-MASTER_SITES=	ftp://ftp.cs.helsinki.fi/pub/Software/Local/Sgrep/ \
-		LOCAL/jkoshy
-
-MAINTAINER=	bofh@FreeBSD.org
-COMMENT=	Grep for structured text like SGML and HTML
-WWW=		https://www.cs.helsinki.fi/u/jjaakkol/sgrep.html
-
-LICENSE=	GPLv2
-
-DEPRECATED=	Abandonware, primary site is dead and according to website not touched in 20 years. Consider migrating to textproc/p5-ack 
-EXPIRATION_DATE=2024-12-31
-
-PORTSCOUT=	limit:^0\.
-CONFLICTS=	sgrep2-1.*
-
-PLIST_FILES=	bin/sgrep share/man/man1/sgrep.1.gz share/sgreprc
-# Override the install target in the supplied makefile
-do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/sgrep ${STAGEDIR}${PREFIX}/bin
-	${INSTALL_MAN} ${WRKSRC}/sgrep.1 ${STAGEDIR}${PREFIX}/share/man/man1
-	${INSTALL_DATA} ${WRKSRC}/sample.sgreprc ${STAGEDIR}${PREFIX}/share/sgreprc
-
-.include <bsd.port.mk>
diff --git a/textproc/sgrep/distinfo b/textproc/sgrep/distinfo
deleted file mode 100644
index e169df824de7..000000000000
--- a/textproc/sgrep/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (sgrep-0.99.tar.gz) = f07002dd94f2ac415f8b012e1b797954cddaa57caa599c2f4d400dcea10e6f60
-SIZE (sgrep-0.99.tar.gz) = 73060
diff --git a/textproc/sgrep/files/patch-Makefile b/textproc/sgrep/files/patch-Makefile
deleted file mode 100644
index 6339193264a0..000000000000
--- a/textproc/sgrep/files/patch-Makefile
+++ /dev/null
@@ -1,39 +0,0 @@
---- Makefile.orig	1996-05-02 11:58:24 UTC
-+++ Makefile
-@@ -10,11 +10,11 @@
- #
- 
- # This is where the executable goes
--BINDIR = /usr/local/bin/
-+BINDIR = ${PREFIX}/bin
- # Where sgrep library files are placed (sgreprc)
--LIBDIR = /usr/local/lib
-+LIBDIR = ${PREFIX}/share
- # Where the manual page goes
--MANFILE = /usr/local/man/man1/sgrep.1
-+MANFILE = ${PREFIX}/man/man1/sgrep.1
- # Where the sample rc file goes
- RCFILE = $(LIBDIR)/sgreprc
- # If you can't install as root you might wan't to use this as rc file
-@@ -25,7 +25,7 @@ VERSION = 0.99
- CFLAGS = -O -DVERSION=\"$(VERSION)\" -DLIBDIR=\"$(LIBDIR)\"
- LDFLAGS =
- # if cc fails to you use gcc
--CC = cc
-+#CC = cc
- CPPFLAGS =
- LIBS =
- 
-@@ -45,11 +45,7 @@ sgrep: $(OBJECTS)
- clean:
- 	-rm -f $(OBJECTS)
- 
--install: sgrep
--	cp sgrep $(BINDIR)/sgrep
--	chmod 755 $(BINDIR)/sgrep
--	cp sgrep.1 $(MANFILE)
--	chmod 644 $(MANFILE)
-+install:
- 
- install.rc: sample.sgreprc
- 	cp sample.sgreprc $(RCFILE)
diff --git a/textproc/sgrep/files/patch-sgrep.1 b/textproc/sgrep/files/patch-sgrep.1
deleted file mode 100644
index 7d6d318ae50b..000000000000
--- a/textproc/sgrep/files/patch-sgrep.1
+++ /dev/null
@@ -1,11 +0,0 @@
---- sgrep.1.orig	1996-04-30 06:38:09 UTC
-+++ sgrep.1
-@@ -91,7 +91,7 @@ are read by default first from file
- \fB$HOME/.sgreprc,\fP
- or if it doesn't exist,
- from file
--\fB/usr/lib/sgreprc, \fP
-+\fB/usr/local/share/sgreprc, \fP
- and then from the command line. Different behavior
- can be specified through command line options.
- .Pp
diff --git a/textproc/sgrep/pkg-descr b/textproc/sgrep/pkg-descr
deleted file mode 100644
index 9114aa269a2c..000000000000
--- a/textproc/sgrep/pkg-descr
+++ /dev/null
@@ -1,8 +0,0 @@
-`sgrep' (structured grep) is a tool for searching text files and
-filtering text streams using structural criteria.  Complex criteria
-can be specified as macros using M4.
-
-Sgrep was created by:
-
-	Jani Jaakkola, email:Jani.Jaakkola@helsinki.fi
-	Pekka Kilpelainen, email: Pekka.Kilpelainen@helsinki.fi



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202501011213.501CDJKi068878>