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

Last change on this file since 2123 was 2123, checked in by mij, 17 years ago

Add CVS Id tags.

  • Property svn:eol-style set to native
File size: 1.3 KB
Line 
1# $Id: Portfile,v 1.7 2003/03/03 06:31:21 mij Exp $
2
3PortSystem 1.0
4name            larn
5version         4.6.2-RELEASE
6categories      games
7maintainers     eric@opendarwin.org
8description     Text-based cavern exploring game
9platforms       darwin
10use_bzip2       yes
11master_sites    http://distfiles.opendarwin.org/
12checksums       md5 cea96f48caa057793f6bcaf3394ca388
13build.type      bsd
14build.args      LDADD+=-L${prefix}/lib\\ -lcompat\\ -lncurses
15worksrcdir      ${portname}
16patchfiles      patch-io.c
17
18configure       { reinplace "s|MAN|MAN6|" ${worksrcpath}/Makefile
19                  reinplace "s|/usr/share|${prefix}/share|g" \
20                    ${worksrcpath}/pathnames.h
21                  reinplace "s|/var/games|${prefix}/var/games|g" \
22                    ${worksrcpath}/pathnames.h }
23
24install         { cd ${worksrcpath}
25                  system "install -o root -m 755 -d ${destroot}${prefix}/var/games/larn"
26                  system "install -o root -m 755 -d ${destroot}${prefix}/man/man6"
27                  system "install -o root -m 755 -d ${destroot}${prefix}/share/games/larn"
28                  system "install -o root -m 755 -c larn ${destroot}${prefix}/bin"
29                  system "install -o root -m 644 -c larn.6.gz  \
30                    ${destroot}${prefix}/man/man6"
31                  cd datfiles
32                  system "install -o root -m 644 -c larn.help \
33                    ${destroot}${prefix}/share/games/larn"
34                  system "install -o root -m 644 -c larnmaze \
35                    ${destroot}${prefix}/share/games/larn" }
36
Note: See TracBrowser for help on using the repository browser.