Port details |
- sgrep2 Grep for structured text like SGML and HTML
- 1.94a_1 textproc
=7 1.94a_1Version of this port present on the latest quarterly branch. - There is no maintainer for this port.
- Any concerns regarding this port should be directed to the FreeBSD Ports mailing list via ports@FreeBSD.org
 - Port Added: 2003-11-06 02:26:43
- Last Update: 2024-10-14 20:39:19
- Commit Hash: 8fe1e82
- People watching this port, also watch:: aspell, zip, unzip, wget, openssl
- License: not specified in port
- WWW:
- https://www.cs.helsinki.fi/u/jjaakkol/sgrep.html
- Description:
- sgrep (structured grep) is a tool for searching and indexing text, SGML,XML
and HTML files and filtering text streams using structural criteria. The data
model of sgrep is based on regions, which are nonempty substrings of text.
Regions are typically occurrences of constant strings, SGML-tags, or meaningful
text elements, which are recognizable through some delimiting strings or the
builtin SGML, XML and HTML parser. Regions can be arbitrarily long, arbitrarily
overlapping, and arbitrarily nested.
Sgrep is a convenient tool for making queries to almost any kind of text files
with some well kown structure. These include programs, mail folders, news
folders, HTML, SGML, etc... With relatively simple queries you can display mail
messages by their subject or sender, extract titles or links or any regions
from HTML files, function prototypes from C or make complex queries to SGML
files based on the DTD of the file.
¦ ¦ ¦ ¦ 
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- Conflicts:
- CONFLICTS:
- To install the port:
- cd /usr/ports/textproc/sgrep2/ && make install clean
- To add the package, run one of these commands:
- pkg install textproc/sgrep2
- pkg install sgrep2
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: sgrep2
- Flavors: there is no flavor information for this port.
- distinfo:
- SHA256 (sgrep-1.94a.tar.gz) = d5b16478e3ab44735e24283d2d895d2c9c80139c95228df3bdb2ac446395faf9
SIZE (sgrep-1.94a.tar.gz) = 193267
Packages (timestamps in pop-ups are UTC):
- This port has no dependencies.
- There are no ports dependent upon this port
Configuration Options:
- No options to configure
- Options name:
- textproc_sgrep2
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
1.94a_1 14 Oct 2024 20:39:19
    |
Daniel Engberg (diizzy)  |
textproc/sgrep2: Refresh MASTER_SITES and improve port
Remove dead mirrors and GNU_CONFIGURE_MANPREFIX definition |
1.94a_1 26 Feb 2024 12:35:26
    |
Muhammad Moinur Rahman (bofh)  |
textproc/sgrep2: Moved man to share/man
Approved by: portmgr (blanket) |
07 Sep 2022 21:58:51
    |
Stefan Eßer (se)  |
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner) |
1.94a 07 Sep 2022 21:10:59
    |
Stefan Eßer (se)  |
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above ) |
1.94a 20 Jul 2022 14:23:14
    |
Tobias C. Berner (tcberner)  |
textproc: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* "Choe, Cheng-Dae" whitekid
* -
* <glewis@FreeBSD.org>
* <koshy@india.hp.com>
* Aaron Dalton <aaron@FreeBSD.org>
* Aaron Dalton <aaron@daltons.ca>
* Aaron Straup Cope
* Aaron Straup Cope <ascope@cpan.org>
* Ache
* Adam Herzog <adam@herzogdesigns.com>
* Adam Weinberger <adamw@FreeBSD.org> (Only the first 15 lines of the commit message are shown above ) |
1.94a 06 Apr 2021 14:31:07
    |
Mathieu Arnold (mat)  |
Remove # $FreeBSD$ from Makefiles. |
1.94a 14 May 2015 10:15:09
  |
mat  |
MASTER_SITES cleanup.
- Replace ${MASTER_SITE_FOO} with FOO.
- Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9%
of the time.)
- Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and
no hint of what it should be was present.
- Fix some logic.
- And generally, make things more simple and easy to understand.
While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and
SAMBA macros.
Also, replace some EXTRACT_SUFX occurences with USES=tar:*.
Checked by: make fetch-urlall-list
With hat: portmgr
Sponsored by: Absolight |
1.94a 15 Nov 2014 16:26:33
  |
antoine  |
Cleanup plist |
1.94a 06 Jan 2014 21:23:32
  |
antoine  |
Stage support |
1.94a 20 Sep 2013 23:17:32
  |
bapt  |
Add NO_STAGE all over the place in preparation for the staging support (cat:
textproc) |
1.94a 03 Jul 2011 14:40:25
 |
ohauer  |
-remove MD5 |
1.94a 23 Mar 2008 07:41:09
 |
jkoshy  |
Reset maintainership. |
1.94a 15 Jun 2006 04:26:23
 |
jkoshy  |
- Update to version 1.94a, which contains bug fixes to the previous
version.
- Add a local master site; keep portlint happy.
- Correctly spell the 'CONFLICTS' line.
- Take over maintainership of this (orphaned) port. |
1.92a 25 Nov 2005 18:40:57
 |
pav  |
- Add SHA256 |
1.92a 29 Jan 2004 16:13:06
 |
trevor  |
SIZEify. |
1.92a 06 Nov 2003 02:24:42
 |
ijliao  |
repo-copy sgrep to sgrep2 and upgrade sgrep2 to 1.92a
set CONFLICT in sgrep and sgrep2 Makefile |