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

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

Closes #12334. New master_site.

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