[42509] trunk/dports/print/freetype/Portfile
ryandesign at macports.org
ryandesign at macports.org
Sat Nov 22 17:34:17 PST 2008
Revision: 42509
http://trac.macports.org/changeset/42509
Author: ryandesign at macports.org
Date: 2008-11-22 17:34:17 -0800 (Sat, 22 Nov 2008)
Log Message:
-----------
freetype: in the interest of having fewer variants, always install the extra documentation files (the additional download is tiny)
Modified Paths:
--------------
trunk/dports/print/freetype/Portfile
Modified: trunk/dports/print/freetype/Portfile
===================================================================
--- trunk/dports/print/freetype/Portfile 2008-11-23 00:51:35 UTC (rev 42508)
+++ trunk/dports/print/freetype/Portfile 2008-11-23 01:34:17 UTC (rev 42509)
@@ -4,7 +4,7 @@
name freetype
version 2.3.7
-revision 1
+revision 2
categories print graphics
maintainers ryandesign
homepage http://freetype.sourceforge.net/
@@ -30,6 +30,9 @@
set docdistfile \
${name}-doc-${version}
+distfiles-append \
+ [suffix ${docdistfile}]
+
checksums \
[suffix ${distname}] \
md5 83306194817ebdea554133b4232a34aa \
@@ -74,6 +77,12 @@
formats.txt \
raster.txt \
${destroot}${docdir}
+
+ xinstall -m 0755 -d ${destroot}${docdir}/html
+ xinstall -m 0644 -W ${worksrcpath}/docs ft2faq.html ${destroot}${docdir}/html
+ foreach dir {design glyphs reference tutorial} {
+ copy ${worksrcpath}/docs/${dir} ${destroot}${docdir}/html
+ }
}
variant bytecode description {Build bytecode interpreter into the TrueType driver} {
@@ -93,20 +102,5 @@
}
}
-variant doc description {Install extra documentation} {
- distfiles-append [suffix ${docdistfile}]
-
- post-destroot {
- xinstall -m 0755 -d ${destroot}${docdir}/html
- xinstall -m 0644 -W ${worksrcpath}/docs ft2faq.html ${destroot}${docdir}/html
-
- foreach dir {design glyphs reference tutorial} {
- xinstall -m 0755 -d ${destroot}${docdir}/html/${dir}
- eval xinstall -m 0644 [glob ${worksrcpath}/docs/${dir}/*.*] \
- ${destroot}${docdir}/html/${dir}
- }
- }
-}
-
livecheck.check sourceforge
livecheck.distname ${name}[strsed ${version} {s/\..*//}]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081122/b831f7ff/attachment.html>
More information about the macports-changes
mailing list