15 | | distname angband-${version} |
16 | | master_sites ftp://ftp.thangorodrim.net/pub/angband/Source/ |
17 | | checksums md5 4c31b1b3679dff20db6a5fcb182c3e96 |
18 | | configure.args --with-setgid=games --with-libpath=${prefix}/lib/angband --bindir=${prefix}/games |
| 17 | master_sites ftp://ftp.thangorodrim.net/pub/angband/Source/:source \ |
| 18 | ftp://ftp.thangorodrim.net/pub/angband/Extra/:extras \ |
| 19 | ftp://ftp.thangorodrim.net/pub/angband/Macintosh/:mac |
| 20 | |
| 21 | distfiles ${name}-${version}.tar.gz:source |
| 22 | checksums ${name}-${version}.tar.gz md5 4c31b1b3679dff20db6a5fcb182c3e96 |
| 23 | extract.only ${name}-${version}.tar.gz |
| 24 | |
| 25 | configure.args --with-setgid=games --with-libpath=${prefix}/var/games/angband --bindir=${prefix}/bin --without-x |
| 47 | |
| 48 | post-destroot { system "mkdir ${worksrcpath}/graf; \ |
| 49 | unzip ${distpath}/angband-graf.zip -d ${worksrcpath}/graf/" |
| 50 | xinstall -m 755 -d ${destroot}${prefix}/var/games/angband/xtra/graf |
| 51 | xinstall -m 644 -c ${worksrcpath}/graf/16x16.bmp ${destroot}${prefix}/var/games/angband/xtra/graf |
| 52 | xinstall -m 644 -c ${worksrcpath}/graf/8X8.bmp ${destroot}${prefix}/var/games/angband/xtra/graf |
| 53 | xinstall -m 644 -c ${worksrcpath}/graf/8x13.bmp ${destroot}${prefix}/var/games/angband/xtra/graf |
| 54 | xinstall -m 644 -c ${worksrcpath}/graf/backgrnd.bmp ${destroot}${prefix}/var/games/angband/xtra/graf |
| 55 | xinstall -m 644 -c ${worksrcpath}/graf/mask.bmp ${destroot}${prefix}/var/games/angband/xtra/graf } |
| 56 | } |
| 57 | |
| 58 | # variant aqua { |
| 59 | # distfiles-append ext-mac-306.zip:mac ext-graf-mac-306.zip:mac ext-sound-mac-306.zip:mac |
| 60 | # checksums-append ext-mac-306.zip md5 e8989e1c4acf9efb10e0ab078e7303f2 \ |
| 61 | # ext-graf-mac-306.zip md5 263d33545a8be198a4a014c73f581035 \ |
| 62 | # ext-sound-mac-306.zip md5 7886ff8cd9ac98bdfec50c50131c406e |
| 63 | # |
| 64 | # post-extract { |
| 65 | # system "unzip ${distpath}/ext-mac-306.zip -d ${worksrcpath}/src/; \ |
| 66 | # unzip ${distpath}/ext-graf-mac-306.zip -d ${worksrcpath}/src/; \ |
| 67 | # unzip ${distpath}/ext-sound-mac-306.zip -d ${worksrcpath}/src/" |
| 68 | # } |
| 69 | # |
| 70 | # configure { reinplace "s|# define SET_UID||" ${worksrcpath}/src/h-config.h } |
| 71 | # |
| 72 | # build { |
| 73 | # cd ${worksrcpath}/src |
| 74 | # system "make -f Makefile.osx; \ |
| 75 | # make -f Makefile.osx install-tiles; \ |
| 76 | # make -f Makefile.osx install-sound" |
| 77 | # } |
| 78 | # |
| 79 | # destroot { xinstall -d ${destroot}/Applications/DarwinPorts/ |
| 80 | # system "cp -r ${worksrcpath}/Angband.app ${destroot}/Applications/DarwinPorts/." } |
| 81 | # } |