# -*- 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/ashishb/wp2hugo 1.41.0
go.offline_build    no
go.toolchain_min    1.27.4
revision            0

description         The best WordPress to Hugo migrator \(written in Go\)

long_description    {*}${description}

categories          www devel
installs_libs       no
license             Apache-2
maintainers         {gmail.com:herby.gillot @herbygillot} \
                    openmaintainer

checksums           rmd160  8780bac6a9f4ce19e799df661e373e2519741eb3 \
                    sha256  d82e9199059cce01a6618e4fe97b560a4077e7a90333deffb87231654f44618f \
                    size    114704

build.dir           ${worksrcpath}/src/${name}
build.args          ./cmd/${name}

destroot {
    xinstall -m 0755 \
        ${worksrcpath}/src/${name}/${name} \
        ${destroot}${prefix}/bin/
}
