mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
See https://github.com/macports/macports-ports/pull/26909#issuecomment-3339115770
75 lines
2.5 KiB
Tcl
75 lines
2.5 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 github 1.0
|
|
PortGroup ruby 1.0
|
|
|
|
ruby.branches 3.3 3.2 3.1
|
|
ruby.setup sup 2024.01.01 fetch
|
|
revision 0
|
|
# Using GitHub version due to https://github.com/sup-heliotrope/sup/issues/613
|
|
github.setup sup-heliotrope sup 88779f92368cb85057d10dce751c04ef15cee803
|
|
version 2024.01.01
|
|
checksums rmd160 ed5a4a1db3020476154c2dc85c6c4d4ef052ab74 \
|
|
sha256 41be46a467fbdc73810dc49379f8a518dd8a4497c50d02a03b9aecce44b10f99 \
|
|
size 195332
|
|
github.tarball_from archive
|
|
|
|
categories-append mail
|
|
license GPL-2
|
|
maintainers nomaintainer
|
|
description Console-based e-mail client for people with a lot of e-mail
|
|
long_description {*}${description}
|
|
homepage https://sup-heliotrope.github.io
|
|
|
|
if {${name} ne ${subport}} {
|
|
depends_lib-append \
|
|
port:xapian-bindings-ruby${ruby.suffix}
|
|
depends_run-append \
|
|
port:rb${ruby.suffix}-chronic \
|
|
port:rb${ruby.suffix}-gpgme \
|
|
port:rb${ruby.suffix}-highline \
|
|
port:rb${ruby.suffix}-locale \
|
|
port:rb${ruby.suffix}-lockfile \
|
|
port:rb${ruby.suffix}-mime-types \
|
|
port:rb${ruby.suffix}-ncursesw \
|
|
port:rb${ruby.suffix}-optimist \
|
|
port:rb${ruby.suffix}-rmail \
|
|
port:rb${ruby.suffix}-unicode \
|
|
port:rb${ruby.suffix}-unicode-display_width
|
|
|
|
patchfiles patch-fix-xapian.diff \
|
|
patch-set-version.diff
|
|
|
|
post-patch {
|
|
reinplace "s|@VERSION@|${version}|" ${worksrcpath}/sup.gemspec
|
|
}
|
|
|
|
use_configure no
|
|
|
|
build.cmd ${ruby.gem}
|
|
build.target build
|
|
build.args ${ruby.module}.gemspec
|
|
|
|
build {
|
|
command_exec build
|
|
}
|
|
|
|
destroot.cmd ${ruby.gem}
|
|
destroot.target install
|
|
destroot.args --local --force --install-dir ${destroot}${ruby.gemdir}
|
|
destroot.env-append rake=${ruby.rake}
|
|
destroot.post_args ${ruby.module}-${version}.gem
|
|
|
|
destroot {
|
|
command_exec destroot
|
|
|
|
set binDir ${destroot}${ruby.gemdir}/bin
|
|
if {[file isdirectory $binDir]} {
|
|
foreach file [readdir $binDir] {
|
|
file copy [file join $binDir $file] ${destroot}${ruby.bindir}
|
|
}
|
|
}
|
|
}
|
|
}
|