Files
Marcus Calhoun-Lopez 377d0cc1a1 MailtoMutt: allow build on newer systems
No revbump because port either builds correctly or not at all.
See https://trac.macports.org/ticket/57137
Fixes https://trac.macports.org/ticket/58455
2019-05-11 09:52:28 -07:00

41 lines
1.4 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
PortGroup xcode 1.0
PortGroup deprecated 1.0
name MailtoMutt
version 0.4.1
revision 1
categories aqua mail
license GPL-2
platforms darwin
maintainers nomaintainer
description MailtoMutt is a very simple application which handles \
mailto URLs, and hands them off to the Mutt MUA.
long_description ${description}
homepage http://mailtomutt.sourceforge.net/
master_sites sourceforge:project/mailtomutt/${name}/v${version}
distname mailtomutt-${version}
checksums rmd160 3e70d7d609afc5c000e9aefb07e13e6abbbb392a \
sha256 2a0dd170e381d0a2cd9ab2304f96c162c817cd88edbf8dd593f801e87a743f0c \
size 55829
# last update was 2004-05-31
deprecated.upstream_support no
if {[vercmp $xcodeversion 4.0] >= 0} {
post-patch {
file copy -force ${filespath}/project.pbxproj ${worksrcpath}/${name}.xcode/
}
}
# see https://trac.macports.org/ticket/57137
if {${os.platform} eq "darwin" && ([vercmp $xcodeversion 10.0] > 0)} {
build.pre_args-append -UseModernBuildSystem=NO
destroot.pre_args-append -UseModernBuildSystem=NO
}
livecheck.regex mailtomutt-(\[0-9.\]+)${extract.suffix}