source: trunk/dports/net/mudix/Portfile

Last change on this file was 139469, checked in by jmr@…, 2 years ago

ncurses: update to 6.0, rev bump dependents due to new ABI

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