aboutsummaryrefslogtreecommitdiff
path: root/textproc/gsed
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2005-12-02 17:44:28 +0000
committerRenato Botelho <garga@FreeBSD.org>2005-12-02 17:44:28 +0000
commite0f2f09c974b4941d9282634833d359e3b72c1a5 (patch)
treeb9b8c842db04f876cc07536bdca21eed6cf28707 /textproc/gsed
parent7f87cb816017a517546a0625469216798ff2b8b6 (diff)
downloadports-e0f2f09c974b4941d9282634833d359e3b72c1a5.tar.gz
ports-e0f2f09c974b4941d9282634833d359e3b72c1a5.zip
Notes
Diffstat (limited to 'textproc/gsed')
-rw-r--r--textproc/gsed/Makefile49
-rw-r--r--textproc/gsed/distinfo5
-rw-r--r--textproc/gsed/files/patch-aa10
-rw-r--r--textproc/gsed/pkg-plist8
4 files changed, 20 insertions, 52 deletions
diff --git a/textproc/gsed/Makefile b/textproc/gsed/Makefile
index 0c244aa4005b..c8b4e110b940 100644
--- a/textproc/gsed/Makefile
+++ b/textproc/gsed/Makefile
@@ -6,72 +6,57 @@
#
PORTNAME= sed
-PORTVERSION= 4.0.9
-PORTREVISION= 1
+PORTVERSION= 4.1.4
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= ${PORTNAME}
PKGNAMEPREFIX= g
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= gkovesdan@t-hosting.hu
COMMENT= The GNU stream editor
# Global variables
-#
-
USE_REINPLACE= yes
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
-CONFIGURE_ENV= MAKEINFO="makeinfo --no-split"
-CONFIGURE_ARGS= --disable-nls
+CONFIGURE_ENV+= MAKEINFO="makeinfo --no-split"
+CONFIGURE_ARGS+=--disable-nls
USE_GMAKE= yes
-
INFO= sed
MAN1= gsed.1
# Local variables
-#
-
PATCH_SUBDIRS= . doc lib sed
DATADIR= ${PREFIX}/share/${PKGBASE}
-
SAMP_FILES= binary*.sed dc.sed
EXAMPLESDIR= ${PREFIX}/share/examples/${PKGBASE}
-
-DOC_FILES= AUTHORS BUGS COPYING COPYING.DOC NEWS README THANKS
+PORTDOCS= AUTHORS BUGS COPYING COPYING.DOC NEWS README THANKS
DOCSDIR= ${PREFIX}/share/doc/${PKGBASE}
-# Post-configure
-#
-
-post-configure: patch-makefiles
+post-patch:
+ @${REINPLACE_CMD} -e 's,^\* sed:,* CNU sed:,' \
+ ${WRKSRC}/doc/config.texi
-patch-makefiles:
+post-configure:
.for subdir in ${PATCH_SUBDIRS}
- @${REINPLACE_CMD} -e 's|s,x,x,|s,^,g,|' ${WRKSRC}/${subdir}/Makefile
+ @${REINPLACE_CMD} -e 's|s,x,x,|s,^,g,|' \
+ -e 's|^doc_DATA|#doc_DATA|' \
+ ${WRKSRC}/${subdir}/Makefile
.endfor
-# Post-install
-#
-
-post-install: install-sample-files install-doc-files
-
-install-sample-files:
+post-install:
@${MKDIR} ${EXAMPLESDIR}
-.for file in ${SAMP_FILES}
- @${INSTALL_DATA} ${WRKSRC}/testsuite/${file} ${EXAMPLESDIR}
+.for f in ${SAMP_FILES}
+ @${INSTALL_DATA} ${WRKSRC}/testsuite/${f} ${EXAMPLESDIR}
.endfor
-
-install-doc-files:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
-.for file in ${DOC_FILES}
- @${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
+.for f in ${PORTDOCS}
+ @${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
.endfor
.endif
# Maintainer only
-#
test:
@cd ${WRKSRC}/testsuite; ${MAKE} check
diff --git a/textproc/gsed/distinfo b/textproc/gsed/distinfo
index b08eb69b13ec..0d96b8b7cccf 100644
--- a/textproc/gsed/distinfo
+++ b/textproc/gsed/distinfo
@@ -1,2 +1,3 @@
-MD5 (sed-4.0.9.tar.gz) = d8fb554bc6577aaedd39b94b3cb3df70
-SIZE (sed-4.0.9.tar.gz) = 769849
+MD5 (sed-4.1.4.tar.gz) = 2a62ceadcb571d2dac006f81df5ddb48
+SHA256 (sed-4.1.4.tar.gz) = 0e0b9cb024362fff707566ae684d70b664178b583c26e0d4adcdc1a2be102393
+SIZE (sed-4.1.4.tar.gz) = 794257
diff --git a/textproc/gsed/files/patch-aa b/textproc/gsed/files/patch-aa
deleted file mode 100644
index 05cd305918e9..000000000000
--- a/textproc/gsed/files/patch-aa
+++ /dev/null
@@ -1,10 +0,0 @@
---- doc/config.texi.orig Fri Dec 13 04:05:56 2002
-+++ doc/config.texi Wed Jan 15 06:15:33 2003
-@@ -1,6 +1,6 @@
- @dircategory Text creation and manipulation
- @direntry
--* sed: (sed). Stream EDitor.
-+* GNU sed: (sed). Stream EDitor.
-
- @end direntry
-
diff --git a/textproc/gsed/pkg-plist b/textproc/gsed/pkg-plist
index 7279d1ce283b..254344e2dcb4 100644
--- a/textproc/gsed/pkg-plist
+++ b/textproc/gsed/pkg-plist
@@ -1,15 +1,7 @@
@comment $FreeBSD$
bin/gsed
-%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
-%%PORTDOCS%%%%DOCSDIR%%/BUGS
-%%PORTDOCS%%%%DOCSDIR%%/COPYING
-%%PORTDOCS%%%%DOCSDIR%%/COPYING.DOC
-%%PORTDOCS%%%%DOCSDIR%%/NEWS
-%%PORTDOCS%%%%DOCSDIR%%/README
-%%PORTDOCS%%%%DOCSDIR%%/THANKS
%%EXAMPLESDIR%%/binary.sed
%%EXAMPLESDIR%%/binary2.sed
%%EXAMPLESDIR%%/binary3.sed
%%EXAMPLESDIR%%/dc.sed
@dirrm %%EXAMPLESDIR%%
-%%PORTDOCS%%@dirrm %%DOCSDIR%%