summaryrefslogtreecommitdiffstats
path: root/textproc/gsed
diff options
context:
space:
mode:
authorpetef <petef@FreeBSD.org>2003-05-19 01:46:43 +0000
committerpetef <petef@FreeBSD.org>2003-05-19 01:46:43 +0000
commit4c67d8c6877d3a28df5e4a7394d8d05d0e078573 (patch)
treed5524a99d56dd0aa530b16411686f1a5ff958b53 /textproc/gsed
parentb6f3f68358d156a0b0b4caf5d8bc29b445df92ef (diff)
downloadFreeBSD-ports-4c67d8c6877d3a28df5e4a7394d8d05d0e078573.zip
FreeBSD-ports-4c67d8c6877d3a28df5e4a7394d8d05d0e078573.tar.gz
- update to 4.0.7
- install docs PR: 51792 Submitted by: maintainer
Diffstat (limited to 'textproc/gsed')
-rw-r--r--textproc/gsed/Makefile17
-rw-r--r--textproc/gsed/distinfo2
-rw-r--r--textproc/gsed/pkg-plist11
3 files changed, 25 insertions, 5 deletions
diff --git a/textproc/gsed/Makefile b/textproc/gsed/Makefile
index 234e89a..cc536e2 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 4d61ea3..d3fe8f2 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 96d202f..9866eda 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
OpenPOWER on IntegriCloud