[51633] trunk/dports/graphics/fontforge/Portfile
ryandesign at macports.org
ryandesign at macports.org
Fri May 29 14:54:00 PDT 2009
Revision: 51633
http://trac.macports.org/changeset/51633
Author: ryandesign at macports.org
Date: 2009-05-29 14:53:59 -0700 (Fri, 29 May 2009)
Log Message:
-----------
fontforge: use ${curlybrackets} around variable names as is our custom
Modified Paths:
--------------
trunk/dports/graphics/fontforge/Portfile
Modified: trunk/dports/graphics/fontforge/Portfile
===================================================================
--- trunk/dports/graphics/fontforge/Portfile 2009-05-29 21:52:18 UTC (rev 51632)
+++ trunk/dports/graphics/fontforge/Portfile 2009-05-29 21:53:59 UTC (rev 51633)
@@ -27,17 +27,17 @@
dist_subdir ${name}/${version}_${revision}
use_bzip2 yes
-set docdistname ${name}_htdocs-$version
+set docdistname ${name}_htdocs-${version}
distfiles-append \
cidmaps.tgz:cidmaps \
- [suffix $docdistname]
+ [suffix ${docdistname}]
patchfiles patch-Makefile.dynamic.in.diff \
patch-fontforge_start.c.diff \
patch-gutils_dynamic.c.diff
-checksums [suffix $distname] \
+checksums [suffix ${distname}] \
md5 5b564437e5e3db660b0202647b6f733b \
sha1 2e4a57d9c13f0d220e80d413c93cc559b6c14ed4 \
rmd160 82468be875c444cf5c9259f8226395ba05850f78 \
@@ -45,31 +45,31 @@
md5 063691163e592515b31514515bb3ce8c \
sha1 efbc7c9d3e95159f5600dc71f9cccb370e46bb94 \
rmd160 d194355e61813d31fe4813bdf10a62d66a9f6d04 \
- [suffix $docdistname] \
+ [suffix ${docdistname}] \
md5 fdd4420934fe12575e7240642c0ffbe4 \
sha1 2e96ff2b62693ea51c5d57d4a05c72832cf69817 \
rmd160 599677649e0908a0a5326f050aec559c9768a250 \
- [suffix freetype-$ftversion] \
+ [suffix freetype-${ftversion}] \
md5 d76233108aca9c9606cdbd341562ad9a \
sha1 db08969cb5053879ff9e973fe6dd2c52c7ea2d4e \
rmd160 c0351c2a3f43e64d26d2a964b1131a3dbf2fa162
-worksrcdir $name-$version
+worksrcdir ${name}-${version}
-extract.only [suffix $distname]
+extract.only [suffix ${distname}]
post-extract {
xinstall -d \
- $worksrcpath/cidmap \
- $worksrcpath/htdocs
+ ${worksrcpath}/cidmap \
+ ${worksrcpath}/htdocs
- system "tar xzf $distpath/cidmaps.tgz -C $worksrcpath/cidmap"
- system "tar xjf $distpath/[suffix $docdistname] -C $worksrcpath/htdocs"
+ system "tar xzf ${distpath}/cidmaps.tgz -C ${worksrcpath}/cidmap"
+ system "tar xjf ${distpath}/[suffix ${docdistname}] -C ${worksrcpath}/htdocs"
}
post-patch {
reinplace "s|@PREFIX@|${prefix}|g" \
- $worksrcpath/gutils/dynamic.c
+ ${worksrcpath}/gutils/dynamic.c
reinplace "/^applicationsdir/s|/Applications|${applications_dir}|" \
${worksrcpath}/Makefile.dynamic.in
}
@@ -89,30 +89,30 @@
port:tiff \
port:zlib
-configure.args --mandir=$prefix/share/man \
+configure.args --mandir=${prefix}/share/man \
--without-python \
--without-freetype-bytecode
use_parallel_build yes
-set docdir $prefix/share/doc/$name-$version
+set docdir ${prefix}/share/doc/${name}-${version}
-destroot.args docdir=$docdir
+destroot.args docdir=${docdir}
post-destroot {
- xinstall -d $destroot$docdir
- xinstall -m 644 -W $worksrcpath \
+ xinstall -d ${destroot}${docdir}
+ xinstall -m 644 -W ${worksrcpath} \
AUTHORS INSTALL LICENSE README-Mac.html README-Unix.html README-unix \
- $destroot$docdir
+ ${destroot}${docdir}
}
variant with_freetype_bytecode description {Enable support for bytecode interpreter} {
distfiles-append freetype-${ftversion}${extract.suffix}:freetype
extract.only-append freetype-${ftversion}${extract.suffix}
configure.args-delete --without-freetype-bytecode
- configure.args-append --with-freetype-src=$workpath/freetype-$ftversion
+ configure.args-append --with-freetype-src=${workpath}/freetype-${ftversion}
}
-livecheck.distname $name-source
+livecheck.distname ${name}-source
universal_variant no
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090529/ae4e0930/attachment.html>
More information about the macports-changes
mailing list