source: trunk/dports/graphics/libemf/Portfile @ 114328

Last change on this file since 114328 was 114328, checked in by ryandesign@…, 6 years ago

use eq and ne instead of == and != when comparing ${os.arch}, ${configure.build_arch}, ${build_arch}, and some port-specific variables for referring to architectures

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 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 114328 2013-12-05 10:21:52Z ryandesign@macports.org $
3
4PortSystem      1.0
5
6name            libemf
7version         1.0.4
8platforms       darwin
9supported_archs i386 ppc
10categories      graphics
11license         GPL-2+
12maintainers     nomaintainer
13description     Enhanced Metafile Library
14
15long_description \
16 libEMF is a C/C++ library which provides a drawing toolkit based on \
17 ECMA-234. The general purpose of this library is to create vector \
18 graphics files on POSIX systems which can be imported into \
19 StarOffice/OpenOffice (and Microsoft Office).
20
21homepage        http://libemf.sourceforge.net/
22checksums       md5 23effe03c1b2eeb5229f14e461204198 \
23                sha1 e73f0725f10455ed00026df04bf4798137bf6a1f \
24                rmd160 a93842ac19797af58ae451d9629fd5bd359bc141
25master_sites    sourceforge
26distname        libEMF-${version}
27
28use_autoreconf  yes
29platform darwin {
30    # this would be one line if it didn't have to work on tiger
31    if {${os.major} >= 9} {
32        configure.cppflags-append -Xarch_ppc -D__PPC__=1
33    } else {
34        universal_variant no
35        if {${configure.build_arch} eq "ppc"} {
36            configure.cppflags-append -D__PPC__=1
37        }
38    }
39}
40
41livecheck.type  regex
42livecheck.url   http://sourceforge.net/projects/libemf/files/
43livecheck.regex {libEMF-(\d+(?:\.\d+)*)}
Note: See TracBrowser for help on using the repository browser.