You've already forked macports-ports
mirror of
https://github.com/encounter/macports-ports.git
synced 2026-03-30 11:29:27 -07:00
48 lines
1.5 KiB
Tcl
48 lines
1.5 KiB
Tcl
# -*- 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 github 1.0
|
|
|
|
github.setup stathissideris ditaa 0.11.0 v
|
|
categories java editors
|
|
platforms darwin
|
|
license GPL-2+
|
|
|
|
maintainers {gmail.com:slewsys @slewsys} openmaintainer
|
|
|
|
description Java ASCII art to bitmap graphics conversion utility
|
|
|
|
long_description \
|
|
ditaa is a small command-line utility, written in Java, that can convert \
|
|
diagrams drawn using ASCII art (i.e., 'drawings' that contain characters \
|
|
that resemble lines like | / - ) into proper bitmap graphics.
|
|
|
|
github.tarball_from releases
|
|
|
|
distname ${name}-${version}-standalone.jar
|
|
|
|
checksums rmd160 16aa67b0501ceef9553f981c9fbdffec5fecd08e \
|
|
sha256 9418aa63ff6d89c5d2318396f59836e120e75bea7a5930c4d34aa10fe7a196a9 \
|
|
size 12621318
|
|
|
|
extract.suffix
|
|
extract.mkdir yes
|
|
extract.cmd cp
|
|
extract.pre_args
|
|
extract.post_args ${worksrcpath}/
|
|
|
|
post-extract {
|
|
xinstall -m 755 -d ${worksrcpath}/bin
|
|
xinstall -m 755 ${filespath}/${name}.sh ${worksrcpath}/
|
|
reinplace "s|@JARFILE@|${prefix}/share/java/${distname}|" ${name}.sh
|
|
}
|
|
|
|
use_configure no
|
|
build {}
|
|
|
|
destroot {
|
|
xinstall -m 755 -d ${destroot}${prefix}/share/java
|
|
xinstall -m 755 ${worksrcpath}/${distname} ${destroot}${prefix}/share/java/
|
|
xinstall -m 755 ${worksrcpath}/${name}.sh ${destroot}${prefix}/bin/${name}
|
|
}
|