# -*- 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 autotrace autotrace 20200219.65 travis- version 0.40.0-${github.version} revision 0 checksums rmd160 cbb9bb78ac51ab24835043cac02d4aef99db3d95 \ sha256 74ca2555aff1a968290f13602a90f836872e08d37ecaf80c5296ad223f6cd69a \ size 7880004 categories graphics platforms darwin maintainers {ryandesign @ryandesign} openmaintainer license GPL-2+ description Convert bitmap to vector graphics long_description The aim of the AutoTrace project is the development of a \ freely available application with a functionality similar \ to CorelTrace or Adobe Streamline. I hope that it will \ become better than all commercially available programs. \ In some aspects it is already better. github.tarball_from archive # No pre-generated configure script provided. use_autoreconf yes autoreconf.cmd ./autogen.sh autoreconf.args depends_build port:autoconf \ port:automake \ port:intltool \ port:libtool \ port:pkgconfig depends_lib port:ImageMagick \ path:lib/pkgconfig/glib-2.0.pc:glib2 \ port:libpng \ port:ming \ port:pstoedit worksrcdir ${github.project}-${github.tag_prefix}${github.version} post-extract { set configure_version [exec sed -En {s/^AC_INIT\(\[autotrace\], \[([^]]*)\]\)$/\1/p} ${worksrcpath}/configure.ac] if {${configure_version} ne [lindex [split ${version} -] 0]} { ui_error "Port version is ${version} but configure.ac says version is ${configure_version}" return -code error "Portfile version is wrong" } } patchfiles echo-n.patch configure.args --with-magick \ --with-png \ --with-pstoedit post-destroot { set docdir ${prefix}/share/doc/${subport} xinstall -m 0755 -d ${destroot}${docdir} xinstall -m 0644 -W ${worksrcpath} AUTHORS COPYING COPYING.LIB \ FAQ README.md THANKS TODO doc/HACKING doc/despeckle.txt \ ${destroot}${docdir} }