# -*- 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.3.1
go.offline_build    no
github.tarball_from archive
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  bbe2ff2cff0c146be2de601dac7d936dc4003575 \
                    sha256  f692cc2ce2ccb0e35e9919fc0e11529cc897b54145c9e269c15d0abc6a5b5c91 \
                    size    35549

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

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