Changeset 98125
- Timestamp:
- Sep 25, 2012, 2:56:45 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dports/graphics/fontforge/Portfile
r98124 r98125 32 32 use_bzip2 yes 33 33 34 set docdist name ${name}_htdocs-${docversion}34 set docdistfile ${name}_htdocs-${docversion}${extract.suffix} 35 35 36 36 distfiles-append \ 37 37 cidmaps.tgz:cidmaps \ 38 [suffix ${docdistname}]:docs 38 ${docdistfile}:docs 39 40 checksums ${distname}${extract.suffix} \ 41 sha1 8fada07647f102351bb1d7d1c4da487356e7142f \ 42 rmd160 7f276e9e3ef673b78355bb7be50f6b2587aee633 \ 43 cidmaps.tgz \ 44 sha1 efbc7c9d3e95159f5600dc71f9cccb370e46bb94 \ 45 rmd160 d194355e61813d31fe4813bdf10a62d66a9f6d04 \ 46 ${docdistfile} \ 47 sha1 e966fea60a2f7f022af71669f67e15e258948e0e \ 48 rmd160 ac92a01aafbb39ccbecff2953f3b6f49c3721f71 \ 49 freetype-${ftversion}${extract.suffix} \ 50 sha1 1d136cbc51c67b212c91ba04dc5db797f35e64e6 \ 51 rmd160 6b9b37ccdc8d1bfe0883f0e25df6de49ab30379e 52 53 worksrcdir ${name}-${version} 54 55 extract.only ${distname}${extract.suffix} 56 57 post-extract { 58 xinstall -d \ 59 ${worksrcpath}/cidmap \ 60 ${worksrcpath}/htdocs 61 62 system "tar xzf ${distpath}/cidmaps.tgz -C ${worksrcpath}/cidmap" 63 system "tar xjf ${distpath}/${docdistfile} -C ${worksrcpath}/htdocs" 64 } 39 65 40 66 patchfiles patch-Makefile.dynamic.in.diff \ … … 44 70 patch-configure.in.diff 45 71 post-patch { 46 if {${os.major} > 11 } {47 foreach file [glob ${worksrcpath}/fontforge/*.c] {48 reinplace s|AnchorPoint|FFAnchorPoint|g $file49 }72 if {${os.major} > 11 && ${os.platform} == "darwin"} { 73 eval reinplace -W {${worksrcpath}/fontforge} "s|AnchorPoint|FFAnchorPoint|g" \ 74 [glob -tails -directory ${worksrcpath}/fontforge *.c] 75 splinefont.h baseviews.h views.h 50 76 } 51 }52 post-configure {53 if {${os.major} > 11} {54 reinplace s|AnchorPoint|FFAnchorPoint|g ${worksrcpath}/fontforge/splinefont.h \55 ${worksrcpath}/fontforge/baseviews.h \56 ${worksrcpath}/fontforge/views.h57 }58 }59 60 checksums [suffix ${distname}] \61 sha1 8fada07647f102351bb1d7d1c4da487356e7142f \62 rmd160 7f276e9e3ef673b78355bb7be50f6b2587aee633 \63 cidmaps.tgz \64 sha1 efbc7c9d3e95159f5600dc71f9cccb370e46bb94 \65 rmd160 d194355e61813d31fe4813bdf10a62d66a9f6d04 \66 [suffix ${docdistname}] \67 sha1 e966fea60a2f7f022af71669f67e15e258948e0e \68 rmd160 ac92a01aafbb39ccbecff2953f3b6f49c3721f71 \69 [suffix freetype-${ftversion}] \70 sha1 1d136cbc51c67b212c91ba04dc5db797f35e64e6 \71 rmd160 6b9b37ccdc8d1bfe0883f0e25df6de49ab30379e72 73 worksrcdir ${name}-${version}74 75 extract.only [suffix ${distname}]76 77 post-extract {78 xinstall -d \79 ${worksrcpath}/cidmap \80 ${worksrcpath}/htdocs81 82 system "tar xzf ${distpath}/cidmaps.tgz -C ${worksrcpath}/cidmap"83 system "tar xjf ${distpath}/[suffix ${docdistname}] -C ${worksrcpath}/htdocs"84 }85 86 post-patch {87 77 reinplace "s|@PREFIX@|${prefix}|g" \ 88 78 ${worksrcpath}/gutils/dynamic.c
Note: See TracChangeset
for help on using the changeset viewer.