# -*- 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.11.0
go.offline_build    no
revision            0

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

long_description    {*}${description}

categories          www devel
installs_libs       no
license             CC-BY-SA-4
maintainers         {gmail.com:herby.gillot @herbygillot} \
                    openmaintainer

checksums           rmd160  273f2baf9c96e96d099db48b29583a8cc6f7da66 \
                    sha256  f4a879c8dd66812a82571ab92526a600dfdf98ccf7b793b9d4a556716470a334 \
                    size    57732

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

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