Ticket #30672: sheepshaver.Portfile.diff
File sheepshaver.Portfile.diff, 2.7 KB (added by mojca (Mojca Miklavec), 11 years ago) |
---|
-
Portfile
2 2 # $Id$ 3 3 4 4 PortSystem 1.0 5 PortGroup github 1.0 5 6 7 set git_shasum 86c50b78fe 8 set git_date 2013-11-05 9 github.setup cebix macemu ${git_shasum} 6 10 name sheepshaver 7 cvs.date 20110101 8 version 2.3-${cvs.date} 11 version 2.3_git_${git_date}_${git_shasum} 9 12 categories emulators 10 13 platforms darwin 11 14 maintainers nomaintainer … … 21 24 22 25 homepage http://sheepshaver.cebix.net/ 23 26 24 fetch.type cvs 25 cvs.root :pserver:anoncvs@cvs.cebix.net:/home/cvs/cebix 26 cvs.password anoncvs 27 cvs.module BasiliskII SheepShaver 27 checksums rmd160 49ff473856b1db0ee802470f7b5d8f2d47d22e31 \ 28 sha256 90291cc63f93004f17003227bcc9347753e3487bf7345b64b9597ab14525fd83 28 29 29 30 depends_build port:autoconf \ 30 31 port:automake 31 32 32 depends_lib port:libsdl \ 33 port:gtk2 33 depends_lib port:libsdl 34 34 35 worksrcdir SheepShaver/src/Unix35 worksrcdir "${worksrcdir}/SheepShaver/src/Unix" 36 36 37 37 post-extract { 38 38 file mkdir ${worksrcpath}/Darwin … … 41 41 patchfiles patch-Makefile.in.diff 42 42 43 43 pre-configure { 44 system "cd ${worksrcpath}/../../ &&make links"45 system "cd ${worksrcpath} &&NO_CONFIGURE=yes ACLOCAL_FLAGS=\"-I m4\" ./autogen.sh"44 system -W "${worksrcpath}/../../" "make links" 45 system -W "${worksrcpath}" "NO_CONFIGURE=yes ACLOCAL_FLAGS=\"-I m4\" ./autogen.sh" 46 46 } 47 47 48 48 configure.args --enable-sdl-video \ 49 49 --enable-sdl-audio \ 50 50 --disable-vosf \ 51 --without- mon\52 --with -gtk \53 --without- esd51 --without-esd \ 52 --without-gtk \ 53 --without-mon 54 54 55 55 post-destroot { 56 56 xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name} … … 57 57 file copy ${worksrcpath}/../../doc/Linux ${destroot}${prefix}/share/doc/${name} 58 58 } 59 59 60 variant no_x11 { 61 configure.args-delete --with-gtk 62 configure.args-append --without-gtk 63 depends_lib-delete port:gtk2 60 # legacy variant - remove after January 2015 61 variant no_x11 conflicts gtk description {Legacy compatibility variant} {} 62 63 variant gtk conflicts no_x11 { 64 depends_lib-append port:gtk2 65 configure.args-replace --without-gtk --with-gtk 64 66 } 65 67 68 if {[variant_isset no_x11]} { 69 default_variants -gtk 70 } else { 71 default_variants +gtk 72 } 73 66 74 universal_variant no