diff options
author | will <will@FreeBSD.org> | 2000-12-19 08:13:28 +0000 |
---|---|---|
committer | will <will@FreeBSD.org> | 2000-12-19 08:13:28 +0000 |
commit | 031781b3d59c2db2d051f9ae91009712a1e22d18 (patch) | |
tree | 20aa0320de6c00d05690eba0cda8680e7f567422 /textproc | |
parent | f529edc4a0e8f114a05306a38b4043855e50ce87 (diff) | |
download | FreeBSD-ports-031781b3d59c2db2d051f9ae91009712a1e22d18.zip FreeBSD-ports-031781b3d59c2db2d051f9ae91009712a1e22d18.tar.gz |
Add gsed 3.02, the GNU version of sed(1), the stream editor.
PR: 22632
Submitted by: Cyrille Lefevre <clefevre@citeweb.net>
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/Makefile | 1 | ||||
-rw-r--r-- | textproc/gsed/Makefile | 37 | ||||
-rw-r--r-- | textproc/gsed/distinfo | 1 | ||||
-rw-r--r-- | textproc/gsed/pkg-comment | 1 | ||||
-rw-r--r-- | textproc/gsed/pkg-descr | 10 | ||||
-rw-r--r-- | textproc/gsed/pkg-plist | 5 |
6 files changed, 55 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile index 64ab0fb..469f87a 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -38,6 +38,7 @@ SUBDIR += gdict SUBDIR += glimpse SUBDIR += grap + SUBDIR += gsed SUBDIR += gtkdiff SUBDIR += gxditview SUBDIR += hevea diff --git a/textproc/gsed/Makefile b/textproc/gsed/Makefile new file mode 100644 index 0000000..c233213 --- /dev/null +++ b/textproc/gsed/Makefile @@ -0,0 +1,37 @@ +# New ports collection makefile for: sed +# Date created: 12 October 2000 +# Whom: Cyrille Lefevre <clefevre@citeweb.net> +# +# $FreeBSD$ +# + +PORTNAME= sed +PORTVERSION= 3.02 +CATEGORIES= textproc +MASTER_SITES= ${MASTER_SITE_GNU} +MASTER_SITE_SUBDIR= sed + +MAINTAINER= ports@FreeBSD.org + +GNU_CONFIGURE= yes + +# sed's configure seems to be buggy ! +# CONFIGURE_ARGS= --program-prefix=g + +MAN1= gsed.1 + +post-configure: + @${PERL} -pi.fbsd -e 's/s,x,x,/s,^,g,/' \ + ${WRKSRC}/Makefile \ + ${WRKSRC}/doc/Makefile \ + ${WRKSRC}/lib/Makefile \ + ${WRKSRC}/sed/Makefile + +post-install: share-examples + @install-info ${PREFIX}/info/sed.info ${PREFIX}/info/dir + +share-examples: + @${MKDIR} ${PREFIX}/share/examples/gsed + @${INSTALL_DATA} ${WRKSRC}/dc.sed ${PREFIX}/share/examples/gsed + +.include <bsd.port.mk> diff --git a/textproc/gsed/distinfo b/textproc/gsed/distinfo new file mode 100644 index 0000000..ef2707d --- /dev/null +++ b/textproc/gsed/distinfo @@ -0,0 +1 @@ +MD5 (sed-3.02.tar.gz) = 74db866f052b47fa8ec1c2b8f967bc69 diff --git a/textproc/gsed/pkg-comment b/textproc/gsed/pkg-comment new file mode 100644 index 0000000..f5783dc --- /dev/null +++ b/textproc/gsed/pkg-comment @@ -0,0 +1 @@ +The GNU stream editor diff --git a/textproc/gsed/pkg-descr b/textproc/gsed/pkg-descr new file mode 100644 index 0000000..8142639 --- /dev/null +++ b/textproc/gsed/pkg-descr @@ -0,0 +1,10 @@ +The Free Software Foundation's "sed" stream editor. + +This utility exist in the FreeBSD base collection, but the GNU +versions have added functionality that is sometimes useful. + +Note that this port will install this utility with a `g' prefix, +eg., gsed, but the texinfo documentation will refer to these +utilities without the `g' prefix. + +WWW: http://www.gnu.org/software/sed/sed.html diff --git a/textproc/gsed/pkg-plist b/textproc/gsed/pkg-plist new file mode 100644 index 0000000..82100fc --- /dev/null +++ b/textproc/gsed/pkg-plist @@ -0,0 +1,5 @@ +bin/gsed +share/examples/gsed/dc.sed +@unexec install-info --delete %D/info/sed.info %D/info/dir +info/sed.info +@exec install-info %D/info/sed.info %D/info/dir |