source: trunk/dports/graphics/exempi/Portfile @ 54140

Last change on this file since 54140 was 54140, checked in by devans@…, 10 years ago

exempi: some versions of port fail if patchfiles is empty so change patch logic to avoid that.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.3 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 54140 2009-07-21 23:04:28Z devans@macports.org $
3
4PortSystem      1.0
5
6name            exempi
7version         2.1.1
8categories      graphics
9maintainers     devans openmaintainer
10platforms       darwin
11homepage        http://libopenraw.freedesktop.org/wiki/Exempi
12master_sites    http://libopenraw.freedesktop.org/download/
13
14description \
15    Exempi is an implementation of XMP.
16
17long_description \
18    Exempi is an implementation of XMP. Version 2.x is based on Adobe XMP SDK 4.1.1 \
19    and is released under a BSD-style license like Adobe's.
20
21checksums       md5     62ecb5a01387b9f940a5429b3df67e65 \
22                sha1    f05a4c1d609c0e3cafdf839c16ec46afae1b160d \
23                rmd160  e79500f804e162df340e669deea620408e4926b4
24
25# see http://trac.macports.org/ticket/19894
26
27if { ${os.platform} == "darwin" &&  ${os.major} > 8 } {
28    patchfiles      patch-source__common__LargeFileAccess.cpp
29    patch.args      -p1
30}
31
32configure.args  --enable-unittest=no
33
34variant unit_test description {Enable unit test}  {
35     depends_lib-append port:boost
36     configure.args-delete  --enable-unittest=no
37     configure.args-append  --enable-unittest=yes
38}
39
40livecheck.check regex
41livecheck.url   ${homepage}
42livecheck.regex {version\ (\d+(?:\.\d+)*)}
Note: See TracBrowser for help on using the repository browser.