# $Id: Portfile,v 1.1 2003/08/06 05:19:09 fenner Exp $
PortSystem 1.0
name		rlpr
version		2.04
categories	print net
maintainers	fenner@research.att.com
homepage	http://truffula.com/rlpr/
master_sites	ftp://www.truffula.com/pub/
checksums	md5 d4560cad31b0f031796a260b6d6b7123
description	Tools to spool to remote printers without modifying printcap
long_description rlpr includes versions of lpr, lpq and lprm that permit \
 printing to remote printers without modifying the system printcap.

post-extract {
	file attributes ${worksrcpath}/src/rlprrc.h -permissions +w
	reinplace s,/etc,${prefix}/etc, ${worksrcpath}/src/rlprrc.h
	foreach file [glob ${worksrcpath}/man/*.\[15\]] {
		file attributes $file -permissions +w
		reinplace s,/etc/rlprrc,${prefix}/etc/rlprrc, $file
	}
}
