summaryrefslogtreecommitdiff
path: root/textproc/gsed
diff options
context:
space:
mode:
authorWill Andrews <will@FreeBSD.org>2000-12-19 08:13:28 +0000
committerWill Andrews <will@FreeBSD.org>2000-12-19 08:13:28 +0000
commit4566ce779e5b09d60c0998d651d05c238398b980 (patch)
tree6e9fe3b1d7a9ccdfaf090f00e57c21888a81bdbf /textproc/gsed
parent- Update to version 0.16.0. (diff)
Add gsed 3.02, the GNU version of sed(1), the stream editor.
PR: 22632 Submitted by: Cyrille Lefevre <clefevre@citeweb.net>
Notes
Notes: svn path=/head/; revision=36082
Diffstat (limited to 'textproc/gsed')
-rw-r--r--textproc/gsed/Makefile37
-rw-r--r--textproc/gsed/distinfo1
-rw-r--r--textproc/gsed/pkg-comment1
-rw-r--r--textproc/gsed/pkg-descr10
-rw-r--r--textproc/gsed/pkg-plist5
5 files changed, 54 insertions, 0 deletions
diff --git a/textproc/gsed/Makefile b/textproc/gsed/Makefile
new file mode 100644
index 000000000000..c233213ec6a4
--- /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 000000000000..ef2707d67850
--- /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 000000000000..f5783dc6c1dc
--- /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 000000000000..814263961c9c
--- /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 000000000000..82100fc7b1dc
--- /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