# -*- 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 java 1.0 name giter8 version 0.16.2 revision 0 categories devel license Apache-2 maintainers nomaintainer description A command line tool to apply templates defined on github long_description \ Giter8 is a command line tool to generate files and directories \ from templates published on github. It's implemented in Scala and \ runs through the Simple Build Tool launcher, but it can produce output \ for any purpose. homepage http://www.foundweekends.org/giter8/ checksums rmd160 383c691a0f18d2347ead3908dddf95e4a3f267d7 \ sha256 2b9100f8b43dbf473c717928171b5158e02be13da75ff06971a233791485705b \ size 123557 supported_archs noarch platforms any # Required java version java.version 1.8+ # LTS JDK port to install if required java not found java.fallback openjdk11 use_configure no build {} set scala 2.12 master_sites https://repo1.maven.org/maven2/org/foundweekends/${name}/${name}-bootstrap_${scala}/${version}/ distname ${name}-bootstrap_${scala}-${version} extract.suffix .sh extract.mkdir yes extract.only post-extract { copy ${distpath}/${distfiles} ${worksrcpath} } destroot { xinstall -m 0755 ${worksrcpath}/${distfiles} ${destroot}${prefix}/bin/g8 } livecheck.type regex livecheck.url https://repo1.maven.org/maven2/org/foundweekends/${name}/${name}-bootstrap_${scala}/maven-metadata.xml livecheck.regex >(\\d+\\.\\d+(\\.\\d+)*)