# -*- 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
PortGroup           xcode 1.0

name                PRICE-aqua
version             1.3.0
maintainers         nomaintainer

description         Image filtering, enhancing and manipulation application
long_description    PRICE, which stands for Precision Raster Image \
                    Convolution Engine, aims to be a high quality Image \
                    filtering, enhancing and manipulation application. It \
                    is written in Objective-C and AppKit.

categories          aqua graphics
license             GPL-2+
homepage            http://price.sourceforge.net/

distname            PRICE-${version}
master_sites        sourceforge:price

checksums           rmd160  624d551c9b188244fd35b11aaf6c2f57076a9467 \
                    sha256  464bca113731023b43949992456cfa054f2d0fa3e1c5e7b5ca399f3f6f0af49b \
                    size    275904

xcode.project       PRICE.xcodeproj

# see https://trac.macports.org/ticket/57137
if {${os.platform} eq "darwin" && ([vercmp $xcodeversion 10.0] > 0)} {
    build.pre_args-append    -UseModernBuildSystem=NO
    destroot.pre_args-append -UseModernBuildSystem=NO
}

livecheck.type      sourceforge
livecheck.regex     PRICE-((\\d+(\\.)*)+)\\.tar\\.gz
