source: trunk/dports/net/mudix/Portfile @ 78762

Last change on this file since 78762 was 78762, checked in by jmr@…, 9 years ago

remove ncursesw dependencies

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 KB
Line 
1# $Id: Portfile 78762 2011-05-21 15:29:21Z jmr@macports.org $
2
3PortSystem 1.0
4
5name                    mudix
6version                 4.3
7revision                6
8categories              net games
9platforms               darwin
10maintainers             nomaintainer
11
12description             ncurses-based MUD client with triggers, aliases, colors
13long_description        ncurses-based MUD client, targeted at people that dislike \
14                        tintin++, tinyfugue, and don't want to use an X11 MUD client.
15
16homepage                http://dw.nl.eu.org/mudix.html
17master_sites            http://dw.nl.eu.org/mudix/ \
18                        http://freebsd.unixfreunde.de/sources/ \
19                        http://mirror2.unixfreunde.de/
20checksums               sha1 bb69638c034e18825016ff37d1b32b974ade14ae \
21                        rmd160 db7f157e54765bcbfdd44628d8df218b3f7830a4
22
23depends_lib             port:ncurses
24
25livecheck.url     "http://www.freebsd.org/cgi/ports.cgi?query=${name}&stype=all"
26livecheck.regex   ">${name}-(.*?)<"
27
28pre-configure {
29    # modify the Makefile.in for ncurses
30    reinplace "s|-I../include|-I../include -I${prefix}/include|" \
31        ${worksrcpath}/src/Makefile.in
32    reinplace "s| -lpanel|-L${prefix}/lib -lpanel|" \
33        ${worksrcpath}/src/Makefile.in
34}
35configure.args          --enable-select
36
37platform darwin 10 {
38        # poll works
39        configure.args-delete --enable-select
40}
41
42destroot {
43    xinstall -m 555 -W ${worksrcpath} mudix ${destroot}${prefix}/bin
44    xinstall -m 755 -d ${destroot}${prefix}/share/${name}
45    xinstall -m 644 sample.usr README ${destroot}${prefix}/share/${name}
46}
Note: See TracBrowser for help on using the repository browser.