mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
* upgrade hashes format * disable livecheck * homepage is dead since 2020 Closes: https://trac.macports.org/ticket/61770
60 lines
1.8 KiB
Tcl
60 lines
1.8 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 makeicns
|
|
version 1.4.10a
|
|
revision 2
|
|
categories graphics
|
|
maintainers nomaintainer
|
|
installs_libs no
|
|
license MIT
|
|
|
|
description This program lets you convert all kinds of images to Apple icns format on the command line.
|
|
long_description ${description}
|
|
|
|
homepage https://web.archive.org/web/20170331190459/https://bitbucket.org/mkae/makeicns
|
|
master_sites macports_distfiles
|
|
|
|
use_bzip2 yes
|
|
|
|
worksrcdir ${name}
|
|
|
|
checksums rmd160 8bf438b375dbc3d84a7dc47cef39c5c290a4c2ed \
|
|
sha256 10e44b8d84cb33ed8d92b9c2cfa42f46514586d2ec11ae9832683b69996ddeb8 \
|
|
size 74091
|
|
|
|
use_configure no
|
|
|
|
variant universal {
|
|
}
|
|
|
|
platform darwin {
|
|
# This patch is only needed from Mavericks on
|
|
if {${os.major} >= 13} {
|
|
patchfiles patch-IconFamily.m.diff
|
|
}
|
|
}
|
|
|
|
if {[string match *clang* ${configure.cxx}]} {
|
|
configure.cxxflags-append -stdlib=${configure.cxx_stdlib}
|
|
configure.ldflags-append -stdlib=${configure.cxx_stdlib}
|
|
}
|
|
|
|
build.env-append CC=${configure.cc} \
|
|
CXX=${configure.cxx} \
|
|
"CFLAGS=${configure.cflags} [get_canonical_archflags cc]" \
|
|
"CXXFLAGS=${configure.cxxflags} [get_canonical_archflags cxx]" \
|
|
"LDFLAGS=${configure.ldflags} [get_canonical_archflags ld]"
|
|
|
|
# https://trac.macports.org/ticket/50678
|
|
# if {${configure.sdkroot} != ""} {
|
|
build.env-append SDK=${configure.sdkroot}
|
|
# }
|
|
|
|
destroot {
|
|
xinstall ${worksrcpath}/${name} ${destroot}${prefix}/bin/${name}
|
|
}
|
|
|
|
livecheck.type none
|