mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
for pf in */*/Portfile
do
ed -s "$pf" <<-'EOF'
1,3g/^[[:space:]]*#[[:space:]]*\$Id.*\$[[:space:]]*$/d
1g/^[[:space:]]*$/d
w
q
EOF
done
23 lines
781 B
Plaintext
23 lines
781 B
Plaintext
PortSystem 1.0
|
|
name rlpr
|
|
version 2.06
|
|
categories print net
|
|
platforms darwin
|
|
maintainers nomaintainer
|
|
homepage http://truffula.com/rlpr/
|
|
master_sites ${homepage} ftp://www.truffula.com/pub/
|
|
checksums md5 c3192d0e84ccae432e754640f6003478
|
|
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.
|
|
|
|
depends_lib port:gettext port:libiconv
|
|
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
|
|
}
|
|
}
|