# $Id: Portfile,v 1.4 2004/12/17 13:45:28 toby Exp $

PortSystem 1.0

name	 		cups-headers
version			1.1.15
description		temporary port providing cups headers for jaguar
platforms		darwin
categories		devel
maintainers		darwinports@opendarwin.org

distname		cups
master_sites		http://www.opensource.apple.com/projects/cups/
checksums		md5 b2aed0b50372687a56f4e665fdd85bee

configure		{}
build			{
				system "perl -pi -e 's,includedir=/usr/include,includedir=${prefix}/include,' '${workpath}/${worksrcdir}/cups-config'"
			}

destroot		{
				system "install -d -m 755 '${destroot}${prefix}/bin'"
				system "install -c -m 755 '${workpath}/${worksrcdir}/cups-config' '${destroot}${prefix}/bin/'cups-config"
				system "cd '${workpath}/${worksrcdir}' && make installhdrs INCLUDEDIR='${destroot}${prefix}/include'"
			}
