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

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

Ticket 10671. Removed ncurses dependency.

  • 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        3
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\\ -lcurses
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
34configure       { reinplace "s|MAN|MAN6|" ${worksrcpath}/Makefile
35                  reinplace "s|/usr/share|${prefix}/share|g" \
36                    ${worksrcpath}/pathnames.h
37                  reinplace "s|/var/games|${prefix}/var/games|g" \
38                    ${worksrcpath}/pathnames.h }
39
40destroot        { cd ${worksrcpath}
41          xinstall -m 755 -d ${destroot}${prefix}/share/games/larn
42                  xinstall -m 755 -c larn ${destroot}${prefix}/bin
43                  xinstall -m 644 -c larn.6.gz ${destroot}${prefix}/share/man/man6
44                  xinstall -m 644 -c datfiles/larn.help ${destroot}${prefix}/share/games/larn
45                  xinstall -m 644 -c datfiles/larnmaze ${destroot}${prefix}/share/games/larn
46                  destroot.keepdirs ${destroot}${prefix}/var/games/larn }
Note: See TracBrowser for help on using the repository browser.