Bug 29298 - Installation of documentation for vcdgear port
Summary: Installation of documentation for vcdgear port
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: cpiazza
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-07-29 15:30 UTC by Dirk Gouders
Modified: 2003-01-18 15:55 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dirk Gouders 2001-07-29 15:30:00 UTC
It would be nice if the installation of the port vcdgear would
also install documentation files (i.e. faq.txt and manual.txt) in a 
directory, for example /usr/local/share/doc/vcdgear.
Comment 1 Pete Fritchman 2001-08-01 14:10:54 UTC
++ 29/07/01 07:22 -0700 - Dirk Gouders:
| >Description:
| It would be nice if the installation of the port vcdgear would
| also install documentation files (i.e. faq.txt and manual.txt) in a 
| directory, for example /usr/local/share/doc/vcdgear.
| 
| >Fix:

How about:

Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/graphics/vcdgear/Makefile,v
retrieving revision 1.7
diff -u -r1.7 Makefile
--- Makefile	2001/02/05 15:57:19	1.7
+++ Makefile	2001/08/01 09:08:36
@@ -28,5 +28,11 @@
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/vcdgear16_static ${PREFIX}/bin/vcdgear
+.if !defined(NOPORTDOCS)
+	@${MKDIR} ${DOCSDIR}
+.for file in faq.txt manual.txt whatsnew.txt
+	${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
+.endfor
+.endif
 
 .include <bsd.port.post.mk>
Index: pkg-plist
===================================================================
RCS file: /home/ncvs/ports/graphics/vcdgear/pkg-plist,v
retrieving revision 1.1
diff -u -r1.1 pkg-plist
--- pkg-plist	2000/01/06 08:46:08	1.1
+++ pkg-plist	2001/08/01 09:07:46
@@ -1 +1,5 @@
 bin/vcdgear
+%%PORTDOCS%%share/doc/vcdgear/faq.txt
+%%PORTDOCS%%share/doc/vcdgear/manual.txt
+%%PORTDOCS%%share/doc/vcdgear/whatsnew.txt
+%%PORTDOCS%%@dirrm share/doc/vcdgear

--
Pete Fritchman <petef@databits.net>
Databits Network Services, Inc. <http://databits.net>
finger petef@databits.net for PGP key
Comment 2 Mario Sergio Fujikawa Ferreira freebsd_committer freebsd_triage 2001-08-02 20:20:56 UTC
Responsible Changed
From-To: freebsd-ports->cpiazza

Over to maintainer.
Comment 3 hank 2001-08-07 12:55:06 UTC
Looks good to me!

I noticed that in message "Re: ports/29298: Installation of documentation for v
cdgear port", Pete Fritchman wrote:
 > ++ 29/07/01 07:22 -0700 - Dirk Gouders:
 > | >Description:
 > | It would be nice if the installation of the port vcdgear would
 > | also install documentation files (i.e. faq.txt and manual.txt) in a 
 > | directory, for example /usr/local/share/doc/vcdgear.
 > | 
 > | >Fix:
 > 
 > How about:
 > 
 > Index: Makefile
 > ===================================================================
 > RCS file: /home/ncvs/ports/graphics/vcdgear/Makefile,v
 > retrieving revision 1.7
 > diff -u -r1.7 Makefile
 > --- Makefile	2001/02/05 15:57:19	1.7
 > +++ Makefile	2001/08/01 09:08:36
 > @@ -28,5 +28,11 @@
 >  
 >  do-install:
 >  	${INSTALL_PROGRAM} ${WRKSRC}/vcdgear16_static ${PREFIX}/bin/vcdgear
 > +.if !defined(NOPORTDOCS)
 > +	@${MKDIR} ${DOCSDIR}
 > +.for file in faq.txt manual.txt whatsnew.txt
 > +	${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
 > +.endfor
 > +.endif
 >  
 >  .include <bsd.port.post.mk>
 > Index: pkg-plist
 > ===================================================================
 > RCS file: /home/ncvs/ports/graphics/vcdgear/pkg-plist,v
 > retrieving revision 1.1
 > diff -u -r1.1 pkg-plist
 > --- pkg-plist	2000/01/06 08:46:08	1.1
 > +++ pkg-plist	2001/08/01 09:07:46
 > @@ -1 +1,5 @@
 >  bin/vcdgear
 > +%%PORTDOCS%%share/doc/vcdgear/faq.txt
 > +%%PORTDOCS%%share/doc/vcdgear/manual.txt
 > +%%PORTDOCS%%share/doc/vcdgear/whatsnew.txt
 > +%%PORTDOCS%%@dirrm share/doc/vcdgear
 > 
 > --
 > Pete Fritchman <petef@databits.net>
 > Databits Network Services, Inc. <http://databits.net>
 > finger petef@databits.net for PGP key
Comment 4 Tilman Keskinoz freebsd_committer freebsd_triage 2003-01-18 15:55:13 UTC
State Changed
From-To: open->closed

petef's fix was finally committed :), thanks for reporting