Files

52 lines
2.1 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
name metapixel
version 1.0.2
revision 6
categories graphics
license GPL-2+
platforms darwin
maintainers nomaintainer
description A Photomosaic Generator
long_description Metapixel is a program for generating photomosaics. \
It can generate classical photomosaics, in which the \
source image is viewed as a matrix of equally sized \
rectangles for each of which a matching image is \
substitued, as well as collage-style photomosaics, \
in which rectangular parts of the source image at \
arbitrary positions (i.e. not aligned to a matrix) \
are substituted by matching images.
homepage http://www.complang.tuwien.ac.at/schani/metapixel/
master_sites ${homepage}files/
checksums md5 af5d77d38826756af213a08e3ada9941 \
sha1 f917aec91430b1bdbcc7b3dea29cb93f15a04c77 \
rmd160 7343c66e925e5b55cfe63624be18159717b1295e
depends_lib path:include/turbojpeg.h:libjpeg-turbo \
port:giflib \
port:libpng
patchfiles metapixel_1.0.2-libpng1.5.patch \
patch-Makefile.diff \
patch-rwimg-Makefile.diff
use_configure no
variant universal {}
build.args PREFIX=${prefix} \
CC="${configure.cc}" \
MACOS_CCOPTS="[get_canonical_archflags cc]" \
MACOS_LDOPTS="[get_canonical_archflags ld]"
destroot.destdir PREFIX=${destroot}${prefix} \
CC="${configure.cc}" \
MACOS_CCOPTS="[get_canonical_archflags cc]" \
MACOS_LDOPTS="[get_canonical_archflags ld]"