1 # Created by: Mikhail Teterin
8 MASTER_SITES= http://fossies.org/unix/misc/old/ \
9 http://linuxfocus.org/~guido/ \
10 http://truffula.com/rlpr/
12 MAINTAINER= mi@aldan.algebra.com
13 COMMENT= Send print jobs to lpd servers anywhere on a network
18 # rlpr supports gettext/libintl, but does not currently come with ANY
19 # translation .po files. When this changes, it would make sense to
20 # enable the use of gettext in this port:
22 #CONFIGURE_ENV= CPPFLAGS="-I${PREFIX}/include" LDFLAGS="-L${PREFIX}/lib -lintl"
23 CONFIGURE_ARGS= --disable-nls --without-catgets
24 PLIST_FILES= bin/rlpr bin/rlpq bin/rlprm bin/rlprd
27 # Replacing references to /etc/rlprrc to ${PREFIX}/etc/rlprrc
28 ${REINPLACE_CMD} -e 's%/etc/rlprrc%${PREFIX}/etc/rlprrc%g' \
29 ${WRKSRC}/src/rlprrc.h \
30 `${GREP} -Fl /etc/rlprrc ${WRKSRC}/man/*.[0-9n]`
33 # Making the installed binaries suid,\
34 for the remote lpds to talk to them
35 ${CHMOD} 4555 ${STAGEDIR}${PREFIX}/bin/rlpq \
36 ${STAGEDIR}${PREFIX}/bin/rlpr \
37 ${STAGEDIR}${PREFIX}/bin/rlprm
39 PLIST_FILES+= man/man1/rlpq.1.gz man/man1/rlpr.1.gz man/man1/rlprm.1.gz \
40 man/man5/rlprrc.5.gz man/man8/rlprd.8.gz
42 .include <bsd.port.mk>