Index: Makefile =================================================================== RCS file: /home/ncvs/ports/textproc/gsed/Makefile,v retrieving revision 1.13 diff -u -r1.13 Makefile --- Makefile 21 Feb 2003 13:42:35 -0000 1.13 +++ Makefile 30 Apr 2003 22:21:07 -0000 @@ -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 @@ 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 @@ # 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 # Index: distinfo =================================================================== RCS file: /home/ncvs/ports/textproc/gsed/distinfo,v retrieving revision 1.3 diff -u -r1.3 distinfo --- distinfo 2 Feb 2003 14:48:27 -0000 1.3 +++ distinfo 30 Apr 2003 21:55:40 -0000 @@ -1 +1 @@ -MD5 (sed-4.0.5.tar.gz) = ede56d576aa7be4ed44e2d868616d00d +MD5 (sed-4.0.7.tar.gz) = 005738e7f97bd77d95b6907156c8202a Index: pkg-plist =================================================================== RCS file: /home/ncvs/ports/textproc/gsed/pkg-plist,v retrieving revision 1.2 diff -u -r1.2 pkg-plist --- pkg-plist 28 Dec 2000 15:58:55 -0000 1.2 +++ pkg-plist 30 Apr 2003 22:16:49 -0000 @@ -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