diff options
author | kevlo <kevlo@FreeBSD.org> | 2000-12-28 23:58:58 +0800 |
---|---|---|
committer | kevlo <kevlo@FreeBSD.org> | 2000-12-28 23:58:58 +0800 |
commit | 2be7df5bc8b41d8a3341f5a1b231c8d1e30fbcfa (patch) | |
tree | 558ddbb81ea3f5f7b06290b074f4e9cc020efc93 /textproc/gsed | |
parent | dd594ba0fcfdb1385c302462bbb9274529cb1a67 (diff) | |
download | freebsd-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/gsed')
-rw-r--r-- | textproc/gsed/Makefile | 21 | ||||
-rw-r--r-- | textproc/gsed/files/patch-aa | 11 | ||||
-rw-r--r-- | textproc/gsed/pkg-plist | 3 |
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 |