diff options
author | Pete Fritchman <petef@FreeBSD.org> | 2003-05-19 01:46:43 +0000 |
---|---|---|
committer | Pete Fritchman <petef@FreeBSD.org> | 2003-05-19 01:46:43 +0000 |
commit | 690764f0e217126853f077fc8ff9dfce7b29a38b (patch) | |
tree | 83bed9d1e9a0b49ccbff86d360dab625a51c2e46 /textproc/gsed | |
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')
-rw-r--r-- | textproc/gsed/Makefile | 17 | ||||
-rw-r--r-- | textproc/gsed/distinfo | 2 | ||||
-rw-r--r-- | 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 |