ports/61309: x11-toolkits/wxgtk-docs: Added tuturial to documentation
Simon Barner
barner at in.tum.de
Tue Jan 13 12:30:23 UTC 2004
>Number: 61309
>Category: ports
>Synopsis: x11-toolkits/wxgtk-docs: Added tuturial to documentation
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Tue Jan 13 04:30:20 PST 2004
>Closed-Date:
>Last-Modified:
>Originator: Simon Barner
>Release: FreeBSD 4.9-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD zi025.glhnet.mhn.de 4.9-PRERELEASE FreeBSD 4.9-PRERELEASE #1: Thu Sep 4 20:49:53 CEST 2003 simon at zi025.glhnet.mhn.de:/usr/src/sys/compile/KISTE i386
>Description:
The documentation contains a link to a nice tuturial in pdf format,
which is currently not installed by the port.
>How-To-Repeat:
Click on the tuturial link which is found at the following page of the
documentation:
file:///usr/local/share/doc/wxgtk_doc/html/index.htm
>Fix:
Index: wxgtk-docs/Makefile
===================================================================
RCS file: /home/ncvs/ports/x11-toolkits/wxgtk-docs/Makefile,v
retrieving revision 1.2
diff -u -r1.2 Makefile
--- wxgtk-docs/Makefile 4 Nov 2003 04:43:34 -0000 1.2
+++ wxgtk-docs/Makefile 13 Jan 2004 12:17:50 -0000
@@ -7,10 +7,15 @@
PORTNAME= wxgtk_doc
PORTVERSION= 2.4.2
+PORTREVISION= 1
CATEGORIES= x11-toolkits
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITES= http://users.skynet.be/saw/download/wxWindows/ \
+ ${MASTER_SITE_SOURCEFORGE} \
MASTER_SITE_SUBDIR= wxwindows
DISTNAME= wxWindows-${PORTVERSION}-HTML
+DISTFILES= wxWindows-${PORTVERSION}-HTML.zip \
+ wxTutorial.pdf
+EXTRACT_ONLY= wxWindows-${PORTVERSION}-HTML.zip
MAINTAINER= dotz at irc.pl
COMMENT= wxWindows documentation in HTML
@@ -18,17 +23,21 @@
NO_BUILD= YES
USE_ZIP= YES
-WXGTKDOCDIR= ${PREFIX}/share/doc/${PORTNAME}/html/
+WXGTKDOCDIR= ${PREFIX}/share/doc/${PORTNAME}
WRKSRC= ${WRKDIR}/wxWindows-${PORTVERSION}/docs/html/
do-install:
- @${MKDIR} ${WXGTKDOCDIR}
- @${CP} -R ${WRKSRC}/* ${WXGTKDOCDIR}
+ @${MKDIR} ${WXGTKDOCDIR}/html
+ @${CP} -R ${WRKSRC}/* ${WXGTKDOCDIR}/html
+ @${MKDIR} ${WXGTKDOCDIR}/pdf
+ @${CP} ${DISTDIR}/wxTutorial.pdf ${WXGTKDOCDIR}/pdf
post-install:
@(cd ${WRKSRC} && ${FIND} * -type f | ${XARGS} printf "share/doc/${PORTNAME}/html/%s\n" >> ${TMPPLIST})
@(cd ${WRKSRC} && ${FIND} * -type d | ${XARGS} printf "@dirrm share/doc/${PORTNAME}/html/%s\n" >> ${TMPPLIST})
+ @${ECHO} share/doc/${PORTNAME}/pdf/wxTutorial.pdf >> ${TMPPLIST}
@${ECHO} @dirrm share/doc/${PORTNAME}/html >> ${TMPPLIST}
+ @${ECHO} @dirrm share/doc/${PORTNAME}/pdf >> ${TMPPLIST}
@${ECHO} @dirrm share/doc/${PORTNAME} >> ${TMPPLIST}
.include <bsd.port.mk>
Index: wxgtk-docs/distinfo
===================================================================
RCS file: /home/ncvs/ports/x11-toolkits/wxgtk-docs/distinfo,v
retrieving revision 1.2
diff -u -r1.2 distinfo
--- wxgtk-docs/distinfo 4 Nov 2003 04:43:34 -0000 1.2
+++ wxgtk-docs/distinfo 13 Jan 2004 12:17:50 -0000
@@ -1 +1,2 @@
MD5 (wxWindows-2.4.2-HTML.zip) = 700292c9f97114f7f65e6d023b1dd9c5
+MD5 (wxTutorial.pdf) = 52ec24f069cada2e70baaa281a4dab55
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list