# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4

PortSystem 1.0

name             arch
version          1.3.5
revision         1
distname         tla-${version}
categories       devel
license          GPL-2
maintainers      {jmr @jmroot} openmaintainer
description      GNU arch - revision control system
long_description \
	GNU arch is a revision control system, similar in purpose to \
	tools such as CVS, SCCS, and Subversion. It is used to keep \
	track of the changes made to a source tree and to help \
	programmers combine and otherwise manipulate changes made by \
	multiple people or at different times.
homepage         https://www.gnu.org/software/gnu-arch/

master_sites     gnu:gnu-arch
checksums        md5 db31ee89bc4788eef1eba1cee6c176ef \
                 sha1 0fb3b5bfa6b2fb5eb953fdca9e0f75ac1b35b15e \
                 rmd160 71b5e411ca48712edafb268c43d1380b2a026804

configure.dir    ${worksrcpath}/src/=build
build.dir        ${configure.dir}

pre-configure {
	file mkdir ${configure.dir}
}
configure.cmd    ../configure
configure.args   --destdir=${destroot} --with-cc=${configure.cc}

test.run         yes
use_parallel_build no
configure.ccache no

destroot.destdir

post-destroot {
    xinstall -d -m 755 ${destroot}${prefix}/share/doc
    copy ${worksrcpath}/src/docs-tla ${destroot}${prefix}/share/doc/${name}
}

livecheck.type   none
