Ticket #15209: cairo-quartz-font-universal.diff
File cairo-quartz-font-universal.diff, 1.0 KB (added by nox@…, 16 years ago) |
---|
-
Portfile
5 5 name cairo 6 6 set my_name cairo 7 7 version 1.6.4 8 revision 1 8 9 categories graphics 9 10 maintainers ryandesign 10 11 homepage http://cairographics.org/ 11 12 master_sites ${homepage}releases/ 12 platforms darwin13 platforms macosx 13 14 use_parallel_build yes 14 15 dist_subdir ${my_name} 15 16 distname ${my_name}-${version} … … 88 89 } 89 90 } 90 91 92 post-destroot { 93 if {[variant_isset universal]} { 94 set path ${workpath}/${first_arch} 95 } else { 96 set path ${worksrcpath} 97 } 98 99 xinstall -m 0644 ${path}/src/cairo-quartz-font.pc \ 100 ${destroot}${prefix}/lib/pkgconfig/ 101 } 102 91 103 set my_universal_archs {i386 ppc} 92 104 set first_arch [lindex ${my_universal_archs} 0] 93 105 set my_worksrcpaths {}