aboutsummaryrefslogtreecommitdiffstats
path: root/print/rlpr/Makefile
diff options
context:
space:
mode:
authorjedgar <jedgar@FreeBSD.org>2000-03-24 08:11:03 +0800
committerjedgar <jedgar@FreeBSD.org>2000-03-24 08:11:03 +0800
commite9ba1f3a82024c71d7010d5477d650076f30a765 (patch)
tree1cf21ebfb1dcfd0afcd88a103596a0d2ba40387c /print/rlpr/Makefile
parent80a3d3b854ce5897a58bd093b976afa09e9af197 (diff)
downloadfreebsd-ports-gnome-e9ba1f3a82024c71d7010d5477d650076f30a765.tar.gz
freebsd-ports-gnome-e9ba1f3a82024c71d7010d5477d650076f30a765.tar.zst
freebsd-ports-gnome-e9ba1f3a82024c71d7010d5477d650076f30a765.zip
Update port to 2.02
* Remove nonfunctional nls support PR: 17553 Submitted by: Maintainer
Diffstat (limited to 'print/rlpr/Makefile')
-rw-r--r--print/rlpr/Makefile32
1 files changed, 15 insertions, 17 deletions
diff --git a/print/rlpr/Makefile b/print/rlpr/Makefile
index 8d0f0968fa61..cc33dddda0ea 100644
--- a/print/rlpr/Makefile
+++ b/print/rlpr/Makefile
@@ -5,35 +5,33 @@
#
# $FreeBSD$
-DISTNAME= rlpr-2.00
+DISTNAME= rlpr-2.02
CATEGORIES= print net
-MASTER_SITES= ftp://sherilyn.ne.mediaone.net/pub/
+MASTER_SITES= ${MASTER_SITE_SUNSITE}
+MASTER_SITE_SUBDIR= system/printing
MAINTAINER= mi@aldan.algebra.com
-LIB_DEPENDS= intl.1:${PORTSDIR}/devel/gettext
+#LIB_DEPENDS= intl.1:${PORTSDIR}/devel/gettext
GNU_CONFIGURE= yes
-CONFIGURE_ENV= CPPFLAGS="-I${PREFIX}/include" LDFLAGS="-L${PREFIX}/lib -lintl"
-CONFIGURE_ARGS= --with-catgets
-
-RLPRRC= ${WRKSRC}/src/rlprrc.h
+#CONFIGURE_ENV= CPPFLAGS="-I${PREFIX}/include" LDFLAGS="-L${PREFIX}/lib -lintl"
+CONFIGURE_ARGS= --disable-nls --without-catgets
post-patch:
- @${ECHO_MSG} "Replacing references to /etc/rlprrc to ${PREFIX}/etc/rlprrc"
- @test -e ${RLPRRC}.orig || ${MV} ${RLPRRC} ${RLPRRC}.orig && \
- ${SED} s%/etc/%${PREFIX}/etc/% ${RLPRRC}.orig > ${RLPRRC}
- @for man in `${GREP} -l /etc/rlprrc ${WRKSRC}/man/*.[0-9n]`; do \
- if test -e $$man.orig; then continue; fi; \
- ${MV} $$man $$man.orig ; \
- ${SED} s%/etc/rlprrc%${PREFIX}/etc/rlprrc%g < $$man.orig > \
- $$man ; \
+ # 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
post-install:
- @${ECHO_MSG} "Making the installed binaries suid,\
+ # Making the installed binaries suid,\
for the remote lpds to talk to them"
- ${CHMOD} u+s ${PREFIX}/bin/rlpq ${PREFIX}/bin/rlpr ${PREFIX}/bin/rlprm
+ ${CHMOD} 4511 ${PREFIX}/bin/rlpq ${PREFIX}/bin/rlpr ${PREFIX}/bin/rlprm
MAN1= rlpr.1 rlpq.1 rlprm.1
MAN5= rlprrc.5