diff options
Diffstat (limited to 'textproc')
-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 |