Files
2026-01-30 00:22:41 -05:00

44 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 golang 1.0
go.setup github.com/makeworld-the-better-one/didder 1.3.0 v
go.offline_build no
github.tarball_from archive
revision 0
description An extensive, fast, and accurate command-line image \
dithering tool.
long_description ${name} is an extensive, fast, and accurate command-line \
image dithering tool. It is designed to work well for \
both power users as well as pipeline scripting.
categories graphics
installs_libs no
license GPL-3
maintainers {gmail.com:herby.gillot @herbygillot} \
openmaintainer
checksums rmd160 1c8499556e88d3cd71d116098fe8cb2fa6edbc56 \
sha256 6c9124eb5aa5b432065dc81d164055d94940aac3a8f14c8fb9e2f17027bd5901 \
size 47299
build.cmd make
build.pre_args-append \
VERSION=${version} COMMIT=""
build.args ${name}
patch {
reinplace {s|GO111MODULE=on||g} ${worksrcpath}/Makefile
}
destroot {
xinstall -m 0755 ${worksrcpath}/${name} ${destroot}${prefix}/bin/
xinstall -d ${destroot}${prefix}/share/man/man1
xinstall -m 0644 ${worksrcpath}/${name}.1 \
${destroot}${prefix}/share/man/man1/
}