# -*- 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
# $Id: Portfile 83808 2011-09-11 11:10:53Z afb@macports.org $

PortSystem 1.0

name            xfprint
version         4.6.1
revision        2
categories      xfce
platforms       darwin
license         GPL-2+
maintainers     afb
description     Print dialog and printer manager for Xfce 4
long_description ${description}
homepage        http://www.xfce.org/
master_sites    http://www.ca-us.xfce.org/archive/xfce-${version}/src/
use_bzip2       yes
checksums       md5 d92fca97a42816085080baf07a99a62e \
                sha1 4ce98c49d49b2d4c1a8fb5d76597b8e9ab9a51e8 \
                rmd160 8df81375cbc72eabd95911997210c8fa864bcf0b

depends_lib     port:libxfcegui4 port:a2ps
depends_build   port:libxfce4util port:libxfcegui4 port:xfconf \
                port:intltool port:perl5.12 port:p5.12-xml-parser \
                port:pkgconfig
configure.env   INTLTOOL_PERL=${prefix}/bin/perl5.12
configure.args  --enable-cups

configure.ldflags-append        "-lXft -lfontconfig -lXrender -lXext -lXinerama -lXrandr"
