[39496] trunk/dports/office/taskjuggler/Portfile
rene at macports.org
rene at macports.org
Fri Aug 22 01:28:15 PDT 2008
Revision: 39496
http://trac.macosforge.org/projects/macports/changeset/39496
Author: rene at macports.org
Date: 2008-08-22 01:28:14 -0700 (Fri, 22 Aug 2008)
Log Message:
-----------
office/taskjuggler: Fix 'docs' variant.
Modified Paths:
--------------
trunk/dports/office/taskjuggler/Portfile
Modified: trunk/dports/office/taskjuggler/Portfile
===================================================================
--- trunk/dports/office/taskjuggler/Portfile 2008-08-22 08:18:00 UTC (rev 39495)
+++ trunk/dports/office/taskjuggler/Portfile 2008-08-22 08:28:14 UTC (rev 39496)
@@ -16,12 +16,18 @@
platforms darwin
-master_sites http://www.taskjuggler.org/download/
+use_bzip2 yes
+master_sites http://www.taskjuggler.org/download/:source
distname ${name}-${version}
-use_bzip2 yes
-checksums md5 18e0cec8b2ec69220ae7c9a790c16819 \
- sha1 f690e57554488b85375ad96cd6a7635bd4ff6507 \
- rmd160 e1648e818610776efd0f7f9241e987b92a5413ef
+distfiles ${distname}${extract.suffix}:source
+checksums ${distname}${extract.suffix} \
+ md5 18e0cec8b2ec69220ae7c9a790c16819 \
+ sha1 f690e57554488b85375ad96cd6a7635bd4ff6507 \
+ rmd160 e1648e818610776efd0f7f9241e987b92a5413ef \
+ manual-${version}${extract.suffix} \
+ md5 ba4e0eead0b198872cfa7447cdc5d1ef \
+ sha1 4a505bacd2e6719c41e851fbd5a2f6ab87d65f9d \
+ rmd160 6294c914812cfa45d1ae9894cda8fc2155146921
depends_build port:automake \
port:autoconf
@@ -55,6 +61,16 @@
kde_locale=${destroot}/share/locale \
docprefix=${destroot}/share/doc
+post-destroot {
+ if {[variant_isset docs]} {
+ # move handbook to destroot
+ set manual_path ${prefix}/share/doc/${name}/manual
+ xinstall -d ${destroot}${manual_path}
+ eval xinstall -m 640 [glob ${workpath}/manual-${version}/*.html] \
+ ${destroot}${manual_path}
+ }
+}
+
variant qt3mac description {Use qt3mac instead of qt3} {
configure.args-delete --with-qt-dir=${prefix}/lib/qt3
depends_lib-delete port:qt3
@@ -70,10 +86,9 @@
port:kdepim3
}
-variant docs description {Create docbook documentation} {
- configure.args-delete --disable-docs
- depends_build-append port:openjade \
- port:docbook-xml-4.5
+variant docs description {Install handbook} {
+ master_sites-append http://www.taskjuggler.org/download/:docs
+ distfiles-append manual-${version}${extract.suffix}:docs
}
variant arts description {Disable arts support} {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080822/3b58a9ec/attachment.html
More information about the macports-changes
mailing list