|
|||||||||
Sunday the 11th of May, 2008 |
|||||||||
jnethack most recent diff
Scroll down toward the bottom of the page to get installation instructions for jnethack. The raw portfile for jnethack 3.4.3-0.9 is located here: http://jnethack.darwinports.com/dports/games/jnethack/Portfile Find related portfiles with the unique DarwinPorts.com search feature. Check for any related Fink projects here: pdb.finkproject.org/pdb/package.php/jnethack # $Id: Portfile 31277 2007-11-19 06:42:03Z takanori PortSystem 1.0 Name: jnethack Version: 3.4.3-0.9 Category: games japanese Maintainers: rutiler.net:kyut takanori Description: Classic dungeon adventure game, translated in Japanese. Long Description: ${description} Platform: darwin Homepage: http://jnethack.sourceforge.jp/ #master_sites sourceforge_jp:${name}/9091/:nh # sourceforge_jp:${name}/25190/:jnh set sfjpid_nh 9091 set sfjpid_jnh 25190 master_sites http://keihanna.dl.sourceforge.jp/${name}/${sfjpid_nh}/:nh http://osdn.dl.sourceforge.jp/${name}/${sfjpid_nh}/:nh http://globalbase.dl.sourceforge.jp/${name}/${sfjpid_nh}/:nh http://jaist.dl.sourceforge.jp/${name}/${sfjpid_nh}/:nh http://keihanna.dl.sourceforge.jp/${name}/${sfjpid_jnh}/:jnh http://osdn.dl.sourceforge.jp/${name}/${sfjpid_jnh}/:jnh http://globalbase.dl.sourceforge.jp/${name}/${sfjpid_jnh}/:jnh http://jaist.dl.sourceforge.jp/${name}/${sfjpid_jnh}/:jnh set nethacksrc "nethack-343-src.tgz" set jnethackpatch "${name}-${version}.diff.gz" distfiles ${nethacksrc}:nh ${jnethackpatch}:jnh patchfiles patch-sys_unix_Makefile.doc.diff patch-sys_unix_Makefile.top.diff patch-sys_unix_nethack.sh.diff patch-win_tty_termcap.c.diff patch-src_options.c.diff checksums ${nethacksrc} sha1 c26537093c38152bc0fbcec20468d975b35f59fd ${jnethackpatch} sha1 547acd967c75a6bc8d464821b41ed026c1c2bb3a depends_build port:bison port:flex depends_run port:cocot ## extract ## extract.only ${nethacksrc} worksrcdir nethack-3.4.3 post-extract { system "cd ${worksrcpath} && gunzip -dc ${distpath}/${jnethackpatch} | patch -p 1" } ## patch ## pre-patch { if {[variant_isset x11]} { patchfiles-append x11/patch-include_config.h.diff x11/patch-sys_unix_Makefile.top.diff x11/patch-sys_unix_Makefile.src.diff x11/patch-win_X11_JNetHack.ad.diff } } post-patch { reinplace "s|__PREFIX__|${prefix}|" "${worksrcpath}/sys/unix/Makefile.doc" "${worksrcpath}/sys/unix/Makefile.top" "${worksrcpath}/sys/unix/nethack.sh" } ## configure ## configure.dir ${worksrcpath}/sys/unix configure.cmd /bin/sh configure.pre_args setup.sh ## destroot ## pre-destroot { addgroup games adduser games gid=[existsgroup games] xinstall -m 755 -d "${destroot}${prefix}/share/man/man6" xinstall -m 755 -d "${destroot}${prefix}/share/jnethackdir/save" } destroot.target install manpages destroot.keepdirs "${destroot}${prefix}/share/jnethackdir/save/" post-destroot { reinplace "s|${destroot}||" "${destroot}${prefix}/bin/jnethack" if {[variant_isset x11]} { copy ${worksrcpath}/win/X11/JNetHack.ad ${destroot}${prefix}/share/jnethackdir/ } } ## install ## pre-install { addgroup games adduser games gid=[existsgroup games] } ## variants ## Variant: x11 {} Variant: universal { post-patch { reinplace "s|^CFLAGS = -W -g -O -I../include$|CFLAGS = ${configure.cflags} ${configure.universal_cflags} -I../include|" ${worksrcpath}/sys/unix/Makefile.src reinplace "s|\$(LINK) \$(LFLAGS)|\$(LINK) \$(CFLAGS) \$(LFLAGS)|" ${worksrcpath}/sys/unix/Makefile.src reinplace "s|^CFLAGS = -O -I../include$|CFLAGS = ${configure.cflags} ${configure.universal_cflags} -I../include|" ${worksrcpath}/sys/unix/Makefile.utl reinplace "s|\$(CC) \$(LFLAGS)|\$(CC) \$(CFLAGS) \$(LFLAGS)|" ${worksrcpath}/sys/unix/Makefile.utl } } livecheck.check regex livecheck.url ${homepage} livecheck.regex If you haven't already installed Darwin Ports, you can find easy instructions for doing so at the main Darwin Ports page. Once Darwin Ports has been installed, in a terminal window and while online, type the following and hit return:
% cd /opt/local/bin/portslocation/dports/jnethackYou will then be prompted for your root password, which you should enter. You may have to wait for a few minutes while the software is retrieved from the network and installed for you. Y ou should see something that looks similar to: Make sure that you do not close the terminal window while Darwin Ports is working. Once the software has been installed, you can find further information about using jnethack with these commands: % man jnethack Where to find more information:
|
![]() |
![]() Digg jnethack on MacOSX
Other Helpful SitesMacOSForgeDebian Packages MacPorts - SVN Freshports - FreeBSD Fink Package List RPM for MacOSX Port Categories
aqua
archivers audio benchmarks cad comms cross databases devel editors emulators games genealogy gnome gnustep graphics irc java kde lang math multimedia net news palm perl python ruby science security shells sysutils textproc www x11 xfce zope
Current CVS DownloadsDarwin Ports Current :nightly CVS snapshot OpenDarwin CVSWeb SSH Key Gen |
|||||||
| |




