summaryrefslogtreecommitdiff
path: root/textproc/gsed/Makefile
diff options
context:
space:
mode:
authorPete Fritchman <petef@FreeBSD.org>2003-05-19 01:46:43 +0000
committerPete Fritchman <petef@FreeBSD.org>2003-05-19 01:46:43 +0000
commit690764f0e217126853f077fc8ff9dfce7b29a38b (patch)
tree83bed9d1e9a0b49ccbff86d360dab625a51c2e46 /textproc/gsed/Makefile
parent- update to elm+ME-2.4.99f (diff)
- update to 4.0.7
- install docs PR: 51792 Submitted by: maintainer
Diffstat (limited to 'textproc/gsed/Makefile')
-rw-r--r--textproc/gsed/Makefile17
1 files changed, 14 insertions, 3 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
#