Files
Joshua Root 13c9b53840 sysutils/[m-z]*: set github.tarball_from explicitly
In preparation for changing the default.
2025-01-29 14:53:11 +11:00

37 lines
1.0 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 cargo 1.0
PortGroup github 1.0
github.setup mitsuhiko when 0.4.0
# Change github.tarball_from to 'releases' or 'archive' next update
github.tarball_from tarball
revision 0
description Timezones from the command line
long_description \
${name} is a small utility which tells you what time it is somewhere or \
what some time is somewhere.
categories sysutils
installs_libs no
license Apache-2
maintainers {gmail.com:herby.gillot @herbygillot} \
openmaintainer
fetch.type git
build.pre_args --release -v -j${build.jobs}
post-fetch {
system -W ${worksrcpath} "git submodule update --init --recursive"
}
destroot {
xinstall -m 0755 \
${worksrcpath}/target/[cargo.rust_platform]/release/${name} \
${destroot}${prefix}/bin/
}