From 4c67d8c6877d3a28df5e4a7394d8d05d0e078573 Mon Sep 17 00:00:00 2001 From: petef Date: Mon, 19 May 2003 01:46:43 +0000 Subject: - update to 4.0.7 - install docs PR: 51792 Submitted by: maintainer --- textproc/gsed/Makefile | 17 ++++++++++++++--- textproc/gsed/distinfo | 2 +- textproc/gsed/pkg-plist | 11 ++++++++++- 3 files changed, 25 insertions(+), 5 deletions(-) diff --git a/textproc/gsed/Makefile b/textproc/gsed/Makefile index 234e89a25500..cc536e23f950 100644 --- a/textproc/gsed/Makefile +++ b/textproc/gsed/Makefile @@ -6,7 +6,7 @@ # PORTNAME= sed -PORTVERSION= 4.0.5 +PORTVERSION= 4.0.7 PKGNAMEPREFIX= g CATEGORIES= textproc MASTER_SITES= ${MASTER_SITE_GNU} @@ -35,6 +35,9 @@ PATCH_SUBDIRS= . doc lib sed SAMP_FILES= dc.sed SAMP_DIR= ${PREFIX}/share/examples/${PKGBASE} +DOC_FILES= AUTHORS BUGS COPYING COPYING.DOC NEWS README THANKS +DOCSDIR= ${PREFIX}/share/doc/${PKGBASE} + # Post-configure # @@ -48,13 +51,21 @@ patch-makefiles: # Post-install # -post-install: install-sample-files +post-install: install-sample-files install-doc-files install-sample-files: @${MKDIR} ${SAMP_DIR} .for file in ${SAMP_FILES} - @${INSTALL_DATA} ${WRKSRC}/testsuite/${file} ${SAMP_DIR}/${file} + @${INSTALL_DATA} ${WRKSRC}/testsuite/${file} ${SAMP_DIR} +.endfor + +install-doc-files: +.if !defined(NOPORTSDOC) + @${MKDIR} ${DOCSDIR} +.for file in ${DOC_FILES} + @${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} .endfor +.endif # Maintainer only # diff --git a/textproc/gsed/distinfo b/textproc/gsed/distinfo index 4d61ea30ae01..d3fe8f22876e 100644 --- a/textproc/gsed/distinfo +++ b/textproc/gsed/distinfo @@ -1 +1 @@ -MD5 (sed-4.0.5.tar.gz) = ede56d576aa7be4ed44e2d868616d00d +MD5 (sed-4.0.7.tar.gz) = 005738e7f97bd77d95b6907156c8202a diff --git a/textproc/gsed/pkg-plist b/textproc/gsed/pkg-plist index 96d202f0fd86..9866eda7bf89 100644 --- a/textproc/gsed/pkg-plist +++ b/textproc/gsed/pkg-plist @@ -1,6 +1,15 @@ +@comment $FreeBSD$ bin/gsed -@unexec install-info --delete %D/info/sed.info %D/info/dir +@unexec install-info --quiet --delete %D/info/sed.info %D/info/dir info/sed.info @exec install-info %D/info/sed.info %D/info/dir +%%PORTDOCS%%share/doc/gsed/AUTHORS +%%PORTDOCS%%share/doc/gsed/BUGS +%%PORTDOCS%%share/doc/gsed/COPYING +%%PORTDOCS%%share/doc/gsed/COPYING.DOC +%%PORTDOCS%%share/doc/gsed/NEWS +%%PORTDOCS%%share/doc/gsed/README +%%PORTDOCS%%share/doc/gsed/THANKS share/examples/gsed/dc.sed @dirrm share/examples/gsed +%%PORTDOCS%%@dirrm share/doc/gsed -- cgit