aboutsummaryrefslogtreecommitdiff
path: root/textproc/gsed
diff options
context:
space:
mode:
authorKevin Lo <kevlo@FreeBSD.org>2000-12-28 15:58:58 +0000
committerKevin Lo <kevlo@FreeBSD.org>2000-12-28 15:58:58 +0000
commit4f68b306f3aa6699bc10696d84a1f5e2a8f546d4 (patch)
treec86b174ba24d0f4ab2c351adbcc787e52c720cdd /textproc/gsed
parent42e4cd50e6f7c2faacf28e4b10bc4cee006df0ff (diff)
downloadports-4f68b306f3aa6699bc10696d84a1f5e2a8f546d4.tar.gz
ports-4f68b306f3aa6699bc10696d84a1f5e2a8f546d4.zip
- Fix PORTNAME
- Use do-install target (instead of playing with regex) - Add 'GNU' prefix to directory entry of info file (similer to devel/gmake) - Add missing @dirrm PR: 23892 Submitted by: Ports Fury
Notes
Notes: svn path=/head/; revision=36425
Diffstat (limited to 'textproc/gsed')
-rw-r--r--textproc/gsed/Makefile21
-rw-r--r--textproc/gsed/files/patch-aa11
-rw-r--r--textproc/gsed/pkg-plist3
3 files changed, 21 insertions, 14 deletions
diff --git a/textproc/gsed/Makefile b/textproc/gsed/Makefile
index c233213ec6a4..d11e5259bb38 100644
--- a/textproc/gsed/Makefile
+++ b/textproc/gsed/Makefile
@@ -5,11 +5,12 @@
# $FreeBSD$
#
-PORTNAME= sed
+PORTNAME= gsed
PORTVERSION= 3.02
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_GNU}
-MASTER_SITE_SUBDIR= sed
+MASTER_SITE_SUBDIR= sed
+DISTNAME= sed-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
@@ -20,18 +21,12 @@ GNU_CONFIGURE= yes
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
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/sed/sed ${PREFIX}/bin/gsed
+ ${INSTALL_MAN} ${WRKSRC}/doc/sed.1 ${PREFIX}/man/man1/gsed.1
+ ${INSTALL_DATA} ${WRKSRC}/doc/sed.info ${PREFIX}/info
@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
+ ${INSTALL_DATA} ${WRKSRC}/dc.sed ${PREFIX}/share/examples/gsed
.include <bsd.port.mk>
diff --git a/textproc/gsed/files/patch-aa b/textproc/gsed/files/patch-aa
new file mode 100644
index 000000000000..63373e5050c0
--- /dev/null
+++ b/textproc/gsed/files/patch-aa
@@ -0,0 +1,11 @@
+--- doc/sed.texi.orig Mon Jun 29 08:01:51 1998
++++ doc/sed.texi Thu Dec 28 02:05:37 2000
+@@ -25,7 +25,7 @@
+
+ @ifinfo
+ @direntry
+-* sed: (sed). Stream EDitor.
++* GNU sed: (sed). Stream EDitor.
+ @end direntry
+ This file documents @sc{sed}, a stream editor.
+
diff --git a/textproc/gsed/pkg-plist b/textproc/gsed/pkg-plist
index 82100fc7b1dc..96d202f0fd86 100644
--- a/textproc/gsed/pkg-plist
+++ b/textproc/gsed/pkg-plist
@@ -1,5 +1,6 @@
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
+share/examples/gsed/dc.sed
+@dirrm share/examples/gsed