Ticket #30867: Portfile-allegro5_v_allegro.diff
File Portfile-allegro5_v_allegro.diff, 2.0 KB (added by icaines77@…, 13 years ago) |
---|
-
Portfile
old new 3 3 PortSystem 1.0 4 4 PortGroup cmake 1.0 5 5 6 name allegro 6 name allegro5 7 7 epoch 1 8 version 4.4.29 revision 110 set branch [join [lrange [split ${version} .] 0 1] .]8 version 5.0.6 9 revision 0 10 #set branch [join [lrange [split ${version} .] 0 1] .] 11 11 description A game programming library for C/C++ developers. 12 12 long_description \ 13 13 Allegro is a game programming library for \ … … 19 19 platforms darwin 20 20 license Permissive 21 21 homepage http://alleg.sourceforge.net/ 22 worksrcdir allegro-${version} 23 distfiles allegro-${version}.tar.gz 22 24 master_sites sourceforge:project/alleg/allegro/${version} 23 25 24 checksums md5 4db71b0460fc99926ae91d223199c2e6 \ 25 sha1 ae0c15d2cb6b0337ef388dc98cefc620883720df \ 26 rmd160 a6f6a03d6748230dfb5f306d1a05ef45ffa49f42 27 28 patchfiles patch-main.m.diff patch-system.m.diff 26 checksums md5 c4b4384ef03ac5f6388f378f3eeff243 \ 27 sha1 9bcaeb88c886c66b1dfb6b9c4fde9704805721bb \ 28 rmd160 c6d0eed8882b314090ce81c4432f0a164ab60ab1 29 29 30 30 configure.args-append -DINFODIR=share/info -DDOCDIR=share/doc 31 31 32 post-destroot { 33 # some additional tools were build, let's install them 34 foreach tool {colormap dat dat2c dat2s exedat grabber pack pat2dat rgbmap textconv} { 35 xinstall -m 0755 -W ${worksrcpath}/tools/ ${tool} ${destroot}${prefix}/bin/ 36 } 37 } 38 39 pre-fetch { 40 if {${os.platform} == "darwin" && ${os.major} > 10} { 41 ui_error "${name} uses deprecated API which has been removed as of Mac OS X 10.7." 42 return -code error "incompatible Mac OS X version" 43 } 44 } 45 46 # Does not compile 64-bit due to NSQuickDraw 47 # and probably other old API usage 48 supported_archs i386 ppc 32 supported_archs x86_64 i386 49 33 50 34 livecheck.type regex 51 35 livecheck.url http://alleg.sourceforge.net/download.html