Portfile

# $Id: Portfile 21855 2007-02-10 16:50:41Z rhwood@macports.org $

PortSystem 1.0

name Cenon
version 3.80
categories aqua graphics
platforms darwin
maintainers bfulgham@mac.com
description Modular Graphics Application
long_description Cenon is a graphical tool kernel. Built upon a modular \
graphical core, Cenon offers a wide variety of \
possible applications. The default install \
includes support for desktop publishing, vector \
graphics conversion (PostScript, PDF, DXF, HPGL \
Gerber, DIN, and more), graphics (TIFF, GIF, JPEG, \
etc.), Typopgraphy (font import, text rotation), and \
some rudimentary drafting features.

homepage http://www.cenon.info/
master_sites http://www.vhf-group.com/vhfInterservice/download/source/Apple
distfiles Cenon-${version}.tar.bz2 \
CenonLibrary-${version}-1.tar.bz2
checksums Cenon-${version}.tar.bz2 md5 6a8e28038cbcfb4b08edd6a81b480370 \
CenonLibrary-${version}-1.tar.bz2 md5 51121b22472c81efd0d4f4342e48004f
use_bzip2 yes

patchfiles patch-Cenon.pbproj-project.pbxproj patch-functions.h patch-VHFShared-vhfCommonFunctions.h

worksrcdir Cenon

use_configure no

set xcodebuilddir build
if {$xcodeversion == "2.1"} {
set xcodebuilddir build/Deployment
}

build.type pbx
build.dir ${workpath}/${name}
build.target -configuration Deployment

destroot {
xinstall -m 755 -d ${destroot}/Applications/MacPorts/
file copy ${worksrcpath}/${xcodebuilddir}/${name}.app \
${destroot}/Applications/MacPorts/
}

post-destroot {
system "cd ${destroot}/Library && tar -xjvf ${distpath}/CenonLibrary-${version}-1.tar.bz2"
}

files