# $Id: Portfile,v 1.3 2005/11/30 08:03:39 mww Exp $

PortSystem	1.0
name		libpaper
version		1.1.14-3
set base_version	1.1.14
revision	1
categories	print
maintainers	gwright@opendarwin.org
platforms	darwin
description	A library providing routines for paper size management
long_description	\
		The paper library and accompanying files are intended	\
		to provide a simple way for applications to take	\
		actions based on a system- or user-specified paper size.

homepage	http://packages.qa.debian.org/libp/libpaper.html
master_sites	http://ftp.us.debian.org/debian/pool/main/libp/${name}/ \
		ftp://ftp.us.debian.org/debian/pool/main/libp/${name}/

distfiles	${name}_${version}${extract.suffix}

checksums	md5 ce8aa414571fb5afd278e2a6de0fac29

worksrcdir	${name}-${base_version}

patchfiles	patch-config.guess	\
		patch-paper.c		\
		patch-paperconf.c	\
		patch-Makefile.in

pre-configure	{ system "touch ${worksrcpath}/config.sub" }

configure.args	--mandir=${prefix}/share/man	\
		--sysconfdir=${prefix}/etc

