aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2004-02-13 19:52:06 +0000
committerPav Lucistnik <pav@FreeBSD.org>2004-02-13 19:52:06 +0000
commitaf42342e335a132495406faab6c482d72dd18530 (patch)
tree5c17cd1d2ef61c1499152f68c4393687cfd5bcac /x11-toolkits
parentd2ff71757c9ef15a4524e9b50b7f598217d27548 (diff)
Notes
Diffstat (limited to 'x11-toolkits')
-rw-r--r--x11-toolkits/wxgtk-docs/Makefile4
-rw-r--r--x11-toolkits/wxgtk24-docs/Makefile4
2 files changed, 8 insertions, 0 deletions
diff --git a/x11-toolkits/wxgtk-docs/Makefile b/x11-toolkits/wxgtk-docs/Makefile
index ebbbd53c650d..5071eef36ed9 100644
--- a/x11-toolkits/wxgtk-docs/Makefile
+++ b/x11-toolkits/wxgtk-docs/Makefile
@@ -16,11 +16,15 @@ MAINTAINER= dotz@irc.pl
COMMENT= wxWindows documentation in HTML
NO_BUILD= YES
+USE_REINPLACE= YES
USE_ZIP= YES
WXGTKDOCDIR= ${PREFIX}/share/doc/${PORTNAME}/html/
WRKSRC= ${WRKDIR}/wxWindows-${PORTVERSION}/docs/html/
+post-patch:
+ @${REINPLACE_CMD} -e 's|../pdf/wxTutorial.pdf|http://users.skynet.be/saw/download/wxWindows/wxTutorial.pdf|' ${WRKSRC}/index.htm
+
do-install:
@${MKDIR} ${WXGTKDOCDIR}
@${CP} -R ${WRKSRC}/* ${WXGTKDOCDIR}
diff --git a/x11-toolkits/wxgtk24-docs/Makefile b/x11-toolkits/wxgtk24-docs/Makefile
index ebbbd53c650d..5071eef36ed9 100644
--- a/x11-toolkits/wxgtk24-docs/Makefile
+++ b/x11-toolkits/wxgtk24-docs/Makefile
@@ -16,11 +16,15 @@ MAINTAINER= dotz@irc.pl
COMMENT= wxWindows documentation in HTML
NO_BUILD= YES
+USE_REINPLACE= YES
USE_ZIP= YES
WXGTKDOCDIR= ${PREFIX}/share/doc/${PORTNAME}/html/
WRKSRC= ${WRKDIR}/wxWindows-${PORTVERSION}/docs/html/
+post-patch:
+ @${REINPLACE_CMD} -e 's|../pdf/wxTutorial.pdf|http://users.skynet.be/saw/download/wxWindows/wxTutorial.pdf|' ${WRKSRC}/index.htm
+
do-install:
@${MKDIR} ${WXGTKDOCDIR}
@${CP} -R ${WRKSRC}/* ${WXGTKDOCDIR}