1999-05-11 03:59:51 +02:00
|
|
|
# New ports collection makefile for: rlpr
|
|
|
|
# Date created: 11 April 1999
|
|
|
|
# Whom: Mikhail Teterin
|
|
|
|
#
|
1999-08-31 03:53:22 +02:00
|
|
|
# $FreeBSD$
|
2000-04-09 19:41:40 +02:00
|
|
|
#
|
1999-05-11 03:59:51 +02:00
|
|
|
|
2000-04-09 19:50:59 +02:00
|
|
|
PORTNAME= rlpr
|
2004-07-09 17:57:33 +02:00
|
|
|
PORTVERSION= 2.05
|
1999-05-11 03:59:51 +02:00
|
|
|
CATEGORIES= print net
|
2004-06-25 01:13:47 +02:00
|
|
|
MASTER_SITES= ftp://www.truffula.com/pub/
|
1999-05-11 03:59:51 +02:00
|
|
|
|
|
|
|
MAINTAINER= mi@aldan.algebra.com
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= Send print jobs to lpd servers anywhere on a network
|
1999-05-11 03:59:51 +02:00
|
|
|
|
2003-08-25 07:41:38 +02:00
|
|
|
#LIB_DEPENDS= intl.5:${PORTSDIR}/devel/gettext
|
1999-05-12 23:31:19 +02:00
|
|
|
|
1999-05-11 03:59:51 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2004-07-11 10:14:09 +02:00
|
|
|
USE_GETOPT_LONG=yes
|
2000-03-24 01:11:03 +01:00
|
|
|
#CONFIGURE_ENV= CPPFLAGS="-I${PREFIX}/include" LDFLAGS="-L${PREFIX}/lib -lintl"
|
2004-06-25 01:13:47 +02:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${FILESDIR}"
|
2000-03-24 01:11:03 +01:00
|
|
|
CONFIGURE_ARGS= --disable-nls --without-catgets
|
2004-06-25 01:13:47 +02:00
|
|
|
USE_REINPLACE= yes
|
1999-05-11 03:59:51 +02:00
|
|
|
|
|
|
|
post-patch:
|
2000-03-24 01:11:03 +01:00
|
|
|
# Replacing references to /etc/rlprrc to ${PREFIX}/etc/rlprrc
|
2004-06-25 01:13:47 +02:00
|
|
|
${REINPLACE_CMD} -e 's%/etc/rlprrc%${PREFIX}/etc/rlprrc%g' \
|
|
|
|
${WRKSRC}/src/rlprrc.h \
|
|
|
|
`${GREP} -Fl /etc/rlprrc ${WRKSRC}/man/*.[0-9n]`
|
1999-05-11 03:59:51 +02:00
|
|
|
|
|
|
|
post-install:
|
2000-03-24 01:11:03 +01:00
|
|
|
# Making the installed binaries suid,\
|
1999-08-28 00:30:39 +02:00
|
|
|
for the remote lpds to talk to them"
|
2000-03-24 01:11:03 +01:00
|
|
|
${CHMOD} 4511 ${PREFIX}/bin/rlpq ${PREFIX}/bin/rlpr ${PREFIX}/bin/rlprm
|
1999-05-11 03:59:51 +02:00
|
|
|
|
|
|
|
MAN1= rlpr.1 rlpq.1 rlprm.1
|
|
|
|
MAN5= rlprrc.5
|
|
|
|
MAN8= rlprd.8
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|