mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
Closes: https://trac.macports.org/ticket/61556 New versions of clang and gcc default to -fno-common which fails on this code due to multiple definitions of _world_decl. Fix this with -fcommon. Also modernize checksums, add modeline, and avoid HTTP redirects.
53 lines
1.7 KiB
Tcl
53 lines
1.7 KiB
Tcl
# -*- 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
|
|
|
|
PortSystem 1.0
|
|
|
|
name tf
|
|
version 5.0b8
|
|
revision 5
|
|
checksums rmd160 dd19528548c4139a1182ad7dc41bb561c17697ef \
|
|
sha256 3750a114cf947b1e3d71cecbe258cb830c39f3186c369e368d4662de9c50d989 \
|
|
size 719553
|
|
|
|
categories net games
|
|
maintainers gmail.com:darren.bane
|
|
description popular and powerful MUD client
|
|
long_description \
|
|
TinyFugue is a powerful, programmable MUD \
|
|
client with macro support and multi-worlding support.
|
|
platforms darwin linux
|
|
license GPL-2
|
|
|
|
homepage https://tinyfugue.sourceforge.net
|
|
master_sites sourceforge:project/tinyfugue/tinyfugue/[string map {b %20beta%20} ${version}]
|
|
regsub -all "\\." $version "" distVersion
|
|
distname ${name}-${distVersion}
|
|
|
|
configure.args --mandir=\\\${prefix}/share/man \
|
|
--enable-manpage \
|
|
--enable-getaddrinfo \
|
|
--enable-termcap=ncurses \
|
|
--disable-ssl
|
|
|
|
patchfiles patch-src-malloc.c.diff patch-src__signals.c \
|
|
patch-src__socket.c amd64_vSprintf_fix.patch \
|
|
patch-configure.diff patch-src-tfio.c.diff \
|
|
tf-508b-Fix-build-with-PCRE-8.30.patch
|
|
|
|
# duplicate symbol '_world_decl'
|
|
configure.cflags-append \
|
|
-fcommon
|
|
|
|
post-configure {
|
|
system "ed - ${worksrcpath}/src/tfconfig.h < ${filespath}/tfconfig.h.ed"
|
|
}
|
|
|
|
destroot.destdir prefix=${destroot}${prefix}
|
|
|
|
depends_lib port:ncurses port:pcre port:zlib
|
|
|
|
variant ssl description "Enable SSL support" {
|
|
configure.args-delete --disable-ssl
|
|
depends_lib-append path:lib/libssl.dylib:openssl
|
|
}
|