Ticket #39755: Portfile

File Portfile, 1.4 KB (added by ballapete (Peter "Pete" Dyballa), 11 years ago)

Updated Portfile

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 74121 2010-12-05 01:26:00Z jmr@macports.org $
3
4PortSystem      1.0
5
6name            libemf
7version         1.0.7
8platforms       darwin
9categories      graphics
10maintainers     nomaintainer
11description     Enhanced Metafile Library
12
13long_description \
14 libEMF is a C/C++ library which provides a drawing toolkit based on \
15 ECMA-234. The general purpose of this library is to create vector \
16 graphics files on POSIX systems which can be imported into \
17 StarOffice/OpenOffice (and Microsoft Office).
18
19homepage        http://libemf.sourceforge.net/
20checksums       md5 f1011f5cc254aa228be78704fe5f9960 \
21                sha1 ef61f8d73b6e68785b973cbbe8c449138f40b740 \
22                rmd160 cad46f73982f5e22fee51e6278053dcb5ea29b98
23master_sites    sourceforge
24distname        libEMF-${version}
25
26use_autoreconf  yes
27#platform darwin {
28#    # this would be one line if it didn't have to work on tiger
29#    if {${os.major} >= 9} {
30#        configure.cppflags-append -Xarch_ppc -D__PPC__=1
31#    } else {
32#        universal_variant no
33#        if {${configure.build_arch} == "ppc"} {
34#            configure.cppflags-append -D__PPC__=1
35#        }
36#    }
37#}
38
39livecheck.type  regex
40livecheck.url   http://sourceforge.net/projects/libemf/files/
41livecheck.regex {libEMF-(\d+(?:\.\d+)*)}