summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--textproc/Makefile1
-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
6 files changed, 55 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index 64ab0fbb53c9..469f87a4ffdb 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 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