aboutsummaryrefslogtreecommitdiff
path: root/print/rlpr/Makefile
diff options
context:
space:
mode:
authorMikhail Teterin <mi@FreeBSD.org>2004-06-24 23:13:47 +0000
committerMikhail Teterin <mi@FreeBSD.org>2004-06-24 23:13:47 +0000
commite7506c04946adf85e5f7f20b2dfc8a22b50762c8 (patch)
treea2a0dd2fa8c85a92ae9eb5fff0e12cbdb5156de7 /print/rlpr/Makefile
parentd9d94a4774a906728c140e0f1406bee01dd321fd (diff)
downloadports-e7506c04946adf85e5f7f20b2dfc8a22b50762c8.tar.gz
ports-e7506c04946adf85e5f7f20b2dfc8a22b50762c8.zip
Update to 2.04 (only released 3 years ago). Unforbid by the new patch-msg
(reviewed by eik@). Reword pkg-descr and add WWW. Set MASTER_SITES to the author's own site -- SunSite still lists 2.02 as the latest.
Notes
Notes: svn path=/head/; revision=112179
Diffstat (limited to 'print/rlpr/Makefile')
-rw-r--r--print/rlpr/Makefile20
1 files changed, 7 insertions, 13 deletions
diff --git a/print/rlpr/Makefile b/print/rlpr/Makefile
index 458123768b6a..44358a0548c8 100644
--- a/print/rlpr/Makefile
+++ b/print/rlpr/Makefile
@@ -6,32 +6,26 @@
#
PORTNAME= rlpr
-PORTVERSION= 2.02
-PORTREVISION= 2
+PORTVERSION= 2.04
CATEGORIES= print net
-MASTER_SITES= ${MASTER_SITE_SUNSITE}
-MASTER_SITE_SUBDIR= system/printing
+MASTER_SITES= ftp://www.truffula.com/pub/
MAINTAINER= mi@aldan.algebra.com
COMMENT= Send print jobs to lpd servers anywhere on a network
-FORBIDDEN= "Local and remote exploitable buffer overflow (CAN-2004-0393, CAN-2004-0454)"
-
#LIB_DEPENDS= intl.5:${PORTSDIR}/devel/gettext
GNU_CONFIGURE= yes
#CONFIGURE_ENV= CPPFLAGS="-I${PREFIX}/include" LDFLAGS="-L${PREFIX}/lib -lintl"
+CONFIGURE_ENV= CPPFLAGS="-I${FILESDIR}"
CONFIGURE_ARGS= --disable-nls --without-catgets
+USE_REINPLACE= yes
post-patch:
# Replacing references to /etc/rlprrc to ${PREFIX}/etc/rlprrc
- @for f in ${WRKSRC}/src/rlprrc.h \
- `${GREP} -l /etc/rlprrc ${WRKSRC}/man/*.[0-9n]`; do \
- if test -e $$f.orig; then continue; fi; \
- ${MV} $$f $$f.orig ; \
- ${SED} s%/etc/rlprrc%${PREFIX}/etc/rlprrc%g < $$f.orig > \
- $$f ; \
- done
+ ${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,\