Files
Joshua Root 6bc89507c5 Revert "sgrep: Update to 1.94a"
This reverts commit 183f378143.

Added epoch to facilitate downgrades. The sgrep and sgrep2 ports were
added at the same time (9d48cc0) and were pretty clearly intended to
be for the two upstream release series.

Closes: https://trac.macports.org/ticket/71417
2024-11-28 12:31:52 +11:00

32 lines
1.3 KiB
Plaintext

PortSystem 1.0
name sgrep
epoch 1
version 0.99
categories textproc
license GPL-2+
maintainers nomaintainer
description structured grep is a tool for searching SGML, XML and HTML files
long_description sgrep (structured grep) is a tool for searching and \
indexing text, SGML, XML and HTML files and filtering text streams \
using structural criteria.
homepage http://www.cs.helsinki.fi/u/jjaakkol/sgrep.html
master_sites ftp://ftp.cs.helsinki.fi/pub/Software/Local/Sgrep/ freebsd
checksums md5 af09a90c4f1929bfae4818c8962a8907
use_configure no
build.args BINDIR=${prefix}/bin LIBDIR=${prefix}/lib \
MANFILE=${prefix}/share/man/man1/sgrep.1 \
RCFILE=${prefix}/etc/sgreprc
destroot.destdir BINDIR=${destroot}${prefix}/bin \
LIBDIR=${destroot}${prefix}/lib \
MANFILE=${destroot}${prefix}/share/man/man1/sgrep.1 \
RCFILE=${destroot}${prefix}/etc/sgreprc
post-destroot {
xinstall -m 644 ${worksrcpath}/sample.sgreprc \
${destroot}${prefix}/etc/sgreprc.sample
}