# $Id: Portfile,v 1.3 2005/02/22 15:31:08 gwright Exp $

PortSystem 1.0

name	 	psbind
version	   	20030617
revision	1
categories	textproc print
platforms	darwin
maintainers	gwright@opendarwin.org

description	psbind is a smarter psnup
long_description	\
		psbind examines the margins in a PostScript document	\
		and rearranges the pages to fit them onto paper		\
		efficiently. It outputs a transformed PostScript	\
		document.

extract.suffix

homepage	http://www.digitas.harvard.edu/~ken/${name}/
master_sites	http://www.cpan.org/authors/id/K/KE/KENSHAN/
checksums	md5 9faeb3eaf065e0087f45895e68c72135

depends_run	bin:ap2s:a2ps		\
		bin:gs:ghostscript	\
		bin:paperconf:libpaper

extract		{ }

use_configure	no

build		{ }

destroot	{ file copy ${distpath}/${distfiles} \
			    ${destroot}${prefix}/bin/${name}
		  system "chmod +x ${destroot}${prefix}/bin/${name}"
		}

