source: trunk/dports/games/frotz/Portfile @ 30512

Last change on this file since 30512 was 30512, checked in by markd@…, 13 years ago

Closes #12152. Add dependency on ncurses.

This didn't actually fix #12152 at all. r39499 did.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 994 bytes
Line 
1# $Id: Portfile 30512 2007-10-30 04:43:45Z markd@macports.org $
2PortSystem        1.0
3
4name              frotz
5version           2.43
6categories        games
7maintainers       pack-darwinports@rattus.net
8description       an interpreter for Infocom Z-Code games
9long_description  Frotz provides a portable implementation of the zcode \
10                  virtual machine used for all Infocom text adventures and \
11                  many of those written by other authors.
12homepage          http://frotz.homeunix.org/frotz/
13master_sites      http://frotz.homeunix.org/frotz/files/
14checksums         frotz-2.43.tar.gz md5 efe51879e012b92bb8d5f4a82e982677
15depends_lib       port:ncurses
16patchfiles        patch-Makefile patch-src-common-main.c \
17                  patch-src-common-process.c
18configure        {
19        reinplace "s|^PREFIX = /usr/local|PREFIX = ${prefix}|" \
20                "${worksrcpath}/Makefile"
21        reinplace "s|MAN_PREFIX = \$(PREFIX)|MAN_PREFIX = \$(PREFIX)/share|" \
22                "${worksrcpath}/Makefile"
23}
24
25destroot {
26        reinplace "s|^PREFIX = ${prefix}|PREFIX = ${destroot}${prefix}|" \
27                "${worksrcpath}/Makefile"
28        system "cd ${worksrcpath} && make install"
29}
Note: See TracBrowser for help on using the repository browser.