Ticket #758: Portfile

File Portfile, 779 bytes (added by fenner@…, 21 years ago)

rlpr Portfile

Line 
1# $Id: $
2PortSystem 1.0
3name            rlpr
4version         2.04
5categories      print net
6maintainers     fenner@research.att.com
7homepage        http://truffula.com/rlpr/
8master_sites    ftp://www.truffula.com/pub/
9checksums       md5 d4560cad31b0f031796a260b6d6b7123
10description     Tools to spool to remote printers without modifying printcap
11long-description rlpr includes versions of lpr, lpq and lprm that permit \
12 printing to remote printers without modifying the system printcap.
13
14post-extract {
15        system "chmod +w ${worksrcpath}/src/rlprrc.h"
16        reinplace s,/etc,${prefix}/etc, ${worksrcpath}/src/rlprrc.h
17        system "chmod +w ${worksrcpath}/man/*.\[15]"
18        reinplace s,/etc/rlprrc,${prefix}/etc/rlprrc, \
19                ${worksrcpath}/man/rlpq.1 ${worksrcpath}/man/rlpr.1 \
20                ${worksrcpath}/man/rlprm.1 ${worksrcpath}/man/rlprrc.5
21}