aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgarga <garga@FreeBSD.org>2005-12-03 01:44:28 +0800
committergarga <garga@FreeBSD.org>2005-12-03 01:44:28 +0800
commitcb5a1ed0c470fbe719c1d7f1a99a072c0ddcce59 (patch)
tree62fc7ad4cc7adbc86b58fb153b365d6ce0c2ca05
parent38a3a2795f86831fd763fb2cd52ba092ea143de2 (diff)
downloadfreebsd-ports-gnome-cb5a1ed0c470fbe719c1d7f1a99a072c0ddcce59.tar.gz
freebsd-ports-gnome-cb5a1ed0c470fbe719c1d7f1a99a072c0ddcce59.tar.zst
freebsd-ports-gnome-cb5a1ed0c470fbe719c1d7f1a99a072c0ddcce59.zip
- Update 4.1.4
- Add SHA256 - Cleanup - Pass maintainership to submitter PR: ports/89841 Submitted by: Gabor Kovesdan <gabor.kovesdan@t-hosting.hu>
-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%%