Files
2026-04-26 16:32:56 +04:00

47 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
PortGroup legacysupport 1.1
# _fmemopen
legacysupport.newest_darwin_requires_legacy 16
epoch 1
github.setup Talinx jp2a 1.3.3 v
revision 0
checksums rmd160 e5c6a7527e6ff9bb10949a348a04e13529cf41df \
sha256 8c62f02051f0aa588b592ff8cc7d9ca799b312e47274044d46e70fe038018fd1 \
size 598957
github.tarball_from archive
categories graphics
license GPL-2
maintainers nomaintainer
description converts JPEG images to ASCII
long_description The jp2a program will read JPEG images and print them \
in ASCII characters. Options let you control the output \
size. You know you want it.
use_autoreconf yes
depends_build-append \
port:autoconf-archive \
port:pkgconfig
depends_lib-append port:curl \
port:libexif \
path:include/turbojpeg.h:libjpeg-turbo \
port:libpng \
port:ncurses \
port:webp
configure.args-append \
--enable-curl
# FIXME: two tests fail on PowerPC:
# https://github.com/Talinx/jp2a/issues/15
test.run yes
test.target check