Ticket #12508: Portfile.diff
File Portfile.diff, 2.1 KB (added by jyrkiwahlstedt, 17 years ago) |
---|
-
Portfile
2 2 3 3 PortSystem 1.0 4 4 name TeXShop 5 version 2.09d 5 version 2.13 6 epoch 20070809 6 7 categories editors aqua 8 PortGroup xcode 1.0 7 9 maintainers waqar@macports.org 8 10 description TeX previewer for Mac OS X 9 11 long_description \ … … 17 19 master_sites http://www.uoregon.edu/~koch/texshop 18 20 use_zip yes 19 21 distname texshopsource 20 checksums md5 50316d4b37fefed9de554f272a435a57 \ 21 sha1 c7f75100862804a6ab3cf14dbd7be3980f8c4fa8 22 checksums md5 99ded2c48d9775384cc0af4f0f51103b \ 23 sha1 e2ff53199acf28ee330bc404d59a1304c3b5671b \ 24 rmd160 bfe938d6afd17e988dd52b1b9cccadeeeb824845 22 25 23 26 platform darwin 7 { 24 pre-fetch {25 ui_msg"\n27 pre-fetch { 28 return -code error "\n 26 29 TeXShop 2.x will not install on less than OS X 10.4 and there isn't a 27 TeXShop 1.x port contributed as yet to accommodate 10.3. 28 \n" 30 TeXShop 1.x port contributed as yet to accommodate 10.3.\n" 31 } 32 } 29 33 30 exit 1 34 post-extract { 35 reinplace "s/defaultConfigurationName = Debug/defaultConfigurationName = Release/" ${worksrcpath}/${name}.xcodeproj/project.pbxproj 31 36 } 32 }33 37 34 38 use_configure no 35 pre-build {36 # German.lproj has the help file with wrong case we have to move it to37 # tmp and then correct the case.38 file rename ${worksrcpath}/German.lproj/TexShopHelp \39 ${worksrcpath}/German.lproj/TexShopHelp140 file rename ${worksrcpath}/German.lproj/TexShopHelp1 \41 ${worksrcpath}/German.lproj/TeXShopHelp42 }43 39 44 build.type pbx 45 build.target -target ${name} 46 build.args build FRAMEWORK_SEARCH_PATHS=${worksrcpath} 40 xcode.project ${name}.xcodeproj 41 xcode.configuration Release 47 42 43 xcode.build.settings FRAMEWORK_SEARCH_PATHS=${worksrcpath} 44 48 45 destroot { 49 50 46 cd ${worksrcpath} 47 system "${build.cmd} DSTROOT=${destroot} \ 51 48 INSTALL_PATH=/Applications/MacPorts -target ${name} \ 52 49 install INSTALL_MODE_FLAG=755 \ 53 50 FRAMEWORK_SEARCH_PATHS=${worksrcpath}"