aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorkevlo <kevlo@FreeBSD.org>2000-12-28 23:58:58 +0800
committerkevlo <kevlo@FreeBSD.org>2000-12-28 23:58:58 +0800
commit2be7df5bc8b41d8a3341f5a1b231c8d1e30fbcfa (patch)
tree558ddbb81ea3f5f7b06290b074f4e9cc020efc93 /textproc
parentdd594ba0fcfdb1385c302462bbb9274529cb1a67 (diff)
downloadfreebsd-ports-gnome-2be7df5bc8b41d8a3341f5a1b231c8d1e30fbcfa.tar.gz
freebsd-ports-gnome-2be7df5bc8b41d8a3341f5a1b231c8d1e30fbcfa.tar.zst
freebsd-ports-gnome-2be7df5bc8b41d8a3341f5a1b231c8d1e30fbcfa.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
Diffstat (limited to 'textproc')
-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