source: trunk/dports/graphics/metapixel/Portfile

Last change on this file was 115019, checked in by ryandesign@…, 4 years ago

revbump ports depending on libpng following libpng 1.6.x update (#41842)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.1 KB
Line 
1# -*- 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
2# $Id: Portfile 115019 2013-12-22 09:29:46Z ryandesign@macports.org $
3
4PortSystem              1.0
5
6name                    metapixel
7version                 1.0.2
8revision                4
9categories              graphics
10platforms               darwin
11maintainers             free.fr:fclaire
12
13description             A Photomosaic Generator
14
15long_description        Metapixel is a program for generating photomosaics. \
16                        It can generate classical photomosaics, in which the \
17                        source image is viewed as a matrix of equally sized \
18                        rectangles for each of which a matching image is \
19                        substitued, as well as collage-style photomosaics, \
20                        in which rectangular parts of the source image at \
21                        arbitrary positions (i.e. not aligned to a matrix) \
22                        are substituted by matching images.
23
24homepage                http://www.complang.tuwien.ac.at/schani/metapixel/
25master_sites            ${homepage}files/
26
27checksums               md5     af5d77d38826756af213a08e3ada9941 \
28                        sha1    f917aec91430b1bdbcc7b3dea29cb93f15a04c77 \
29                        rmd160  7343c66e925e5b55cfe63624be18159717b1295e
30
31depends_lib             port:jpeg \
32                        port:giflib \
33                        port:libpng
34
35patchfiles              patch-Makefile.diff \
36                        patch-rwimg-Makefile.diff
37
38use_configure           no
39
40variant universal {}
41if {[variant_isset universal]} {
42    set archflags       ${configure.universal_cflags}
43} else {
44    set archflags       ${configure.cc_archflags}
45}
46
47build.args              PREFIX=${prefix} \
48                        CC="${configure.cc}" \
49                        MACOS_CCOPTS="${archflags}" \
50                        MACOS_LDOPTS="${archflags}"
51
52destroot.destdir        PREFIX=${destroot}${prefix} \
53                        CC="${configure.cc}" \
54                        MACOS_CCOPTS="${archflags}" \
55                        MACOS_LDOPTS="${archflags}"
Note: See TracBrowser for help on using the repository browser.