1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-12 03:00:28 +00:00
freebsd-ports/print/rlpr/Makefile
Mikhail Teterin 360380cdc5 Change the MASTER_SITE to its (functional) http-equivalent and bump
the version from 2.05 to 2.06. The only change works around OSes
without vsyslog() and has no effect on FreeBSD, but the old distfile
has long disappeared...
2006-02-22 13:35:21 +00:00

42 lines
1.1 KiB
Makefile

# New ports collection makefile for: rlpr
# Date created: 11 April 1999
# Whom: Mikhail Teterin
#
# $FreeBSD$
#
PORTNAME= rlpr
PORTVERSION= 2.06
CATEGORIES= print net
MASTER_SITES= http://truffula.com/rlpr/
MAINTAINER= mi@aldan.algebra.com
COMMENT= Send print jobs to lpd servers anywhere on a network
GNU_CONFIGURE= yes
USE_GETOPT_LONG=yes
# rlpr supports gettext/libintl, but does not currently come with ANY
# translation .po files. When this changes, it would make sense to
# enable the use of gettext in this port:
#USE_GETTEXT= yes
#CONFIGURE_ENV= CPPFLAGS="-I${PREFIX}/include" LDFLAGS="-L${PREFIX}/lib -lintl"
CONFIGURE_ARGS= --disable-nls --without-catgets
USE_REINPLACE= yes
post-patch:
# Replacing references to /etc/rlprrc to ${PREFIX}/etc/rlprrc
${REINPLACE_CMD} -e 's%/etc/rlprrc%${PREFIX}/etc/rlprrc%g' \
${WRKSRC}/src/rlprrc.h \
`${GREP} -Fl /etc/rlprrc ${WRKSRC}/man/*.[0-9n]`
post-install:
# Making the installed binaries suid,\
for the remote lpds to talk to them"
${CHMOD} 4511 ${PREFIX}/bin/rlpq ${PREFIX}/bin/rlpr ${PREFIX}/bin/rlprm
MAN1= rlpr.1 rlpq.1 rlprm.1
MAN5= rlprrc.5
MAN8= rlprd.8
.include <bsd.port.mk>