source: trunk/dports/games/larn/Portfile @ 19003

Last change on this file since 19003 was 19003, checked in by markd, 13 years ago

Bug: 3183
Submitted by: aschenke@…
Reviewed by: markd@…
Approved by:
Obtained from:
Committed patches for Intel Macs.

  • Property svn:eol-style set to native
File size: 1.5 KB
Line 
1# $Id: Portfile,v 1.12 2006/08/04 05:43:27 markd Exp $
2
3PortSystem 1.0
4name            larn
5version         4.6.2-RELEASE
6revision        2
7categories      games
8maintainers     eric@opendarwin.org
9description     Text-based cavern exploring game
10long_description Larn is text-based fantasy role-playing game similar to Rogue, \
11            Nethack, etc.
12platforms       darwin
13use_bzip2       yes
14master_sites    opendarwin
15checksums       md5 cea96f48caa057793f6bcaf3394ca388
16build.type      bsd
17build.args      LDADD+=-L${prefix}/lib\\ -lcompat\\ -lncurses
18worksrcdir      ${portname}
19patchfiles      patch-diag.c \
20            patch-display.c \
21            patch-global.c \
22            patch-help.c \
23            patch-io.c \
24            patch-main.c \
25            patch-monster.c \
26            patch-moreobj.c \
27            patch-movem.c \
28            patch-object.c \
29            patch-scores.c \
30            patch-store.c
31
32depends_lib port:libcompat \
33            port:ncurses
34
35configure       { reinplace "s|MAN|MAN6|" ${worksrcpath}/Makefile
36                  reinplace "s|/usr/share|${prefix}/share|g" \
37                    ${worksrcpath}/pathnames.h
38                  reinplace "s|/var/games|${prefix}/var/games|g" \
39                    ${worksrcpath}/pathnames.h }
40
41destroot        { cd ${worksrcpath}
42          xinstall -m 755 -d ${destroot}${prefix}/share/games/larn
43                  xinstall -m 755 -c larn ${destroot}${prefix}/bin
44                  xinstall -m 644 -c larn.6.gz ${destroot}${prefix}/share/man/man6
45                  xinstall -m 644 -c datfiles/larn.help ${destroot}${prefix}/share/games/larn
46                  xinstall -m 644 -c datfiles/larnmaze ${destroot}${prefix}/share/games/larn
47                  destroot.keepdirs ${destroot}${prefix}/var/games/larn }
Note: See TracBrowser for help on using the repository browser.