diff options
author | Chris D. Faulhaber <jedgar@FreeBSD.org> | 2000-03-24 00:11:03 +0000 |
---|---|---|
committer | Chris D. Faulhaber <jedgar@FreeBSD.org> | 2000-03-24 00:11:03 +0000 |
commit | 9e9ffbf1ac780be06fe875af41f338d6756e3417 (patch) | |
tree | 47a1ceddd6ea83e902741d338f74e6dbd2a25d25 | |
parent | 837a4626c4d65380bf7bc51703e152c18c640f80 (diff) | |
download | ports-9e9ffbf1ac780be06fe875af41f338d6756e3417.tar.gz ports-9e9ffbf1ac780be06fe875af41f338d6756e3417.zip |
Notes
-rw-r--r-- | print/rlpr/Makefile | 32 | ||||
-rw-r--r-- | print/rlpr/distinfo | 2 | ||||
-rw-r--r-- | print/rlpr/files/patch-ab | 16 | ||||
-rw-r--r-- | print/rlpr/files/patch-ac | 53 | ||||
-rw-r--r-- | print/rlpr/pkg-descr | 4 |
5 files changed, 88 insertions, 19 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 diff --git a/print/rlpr/distinfo b/print/rlpr/distinfo index 3686e8cfcdda..3b17fabb23ea 100644 --- a/print/rlpr/distinfo +++ b/print/rlpr/distinfo @@ -1 +1 @@ -MD5 (rlpr-2.00.tar.gz) = 09c78b2cbb4e32e841720c6adfb1ed9f +MD5 (rlpr-2.02.tar.gz) = ea80a4bcc9d3b4d2c9b94b92d11da387 diff --git a/print/rlpr/files/patch-ab b/print/rlpr/files/patch-ab new file mode 100644 index 000000000000..e015e61ac59f --- /dev/null +++ b/print/rlpr/files/patch-ab @@ -0,0 +1,16 @@ +--- src/Makefile.in Sat Sep 4 22:29:16 1999 ++++ src/Makefile.in Tue Mar 21 23:05:50 2000 +@@ -90,4 +90,4 @@ + LDFLAGS = -L../lib +-LIBS = @INTLLIBS@ -lrlpr +-INCLUDES = -I../intl -I../lib -DLOCALEDIR=\"$(localedir)\" ++LIBS = -lrlpr ++INCLUDES = -I../lib -DLOCALEDIR=\"$(localedir)\" + +--- Makefile.in Sat Sep 4 22:29:12 1999 ++++ Makefile.in Tue Mar 21 23:07:50 2000 +@@ -89,3 +89,3 @@ + EXTRA_DIST = INSTALL.generic $(PACKAGE)-$(VERSION).lsm +-SUBDIRS = po intl lib man src ++SUBDIRS = lib man src + ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 diff --git a/print/rlpr/files/patch-ac b/print/rlpr/files/patch-ac new file mode 100644 index 000000000000..c0803a738c57 --- /dev/null +++ b/print/rlpr/files/patch-ac @@ -0,0 +1,53 @@ +--- src/rlpq.c Mon May 3 21:50:22 1999 ++++ src/rlpq.c Tue Mar 21 23:29:36 2000 +@@ -65,4 +66,6 @@ + setlocale(LC_ALL, ""); ++#ifdef ENABLE_NLS + bindtextdomain(PACKAGE, LOCALEDIR); + textdomain(PACKAGE); ++#endif + +--- src/rlpr.c Sat Sep 4 22:09:36 1999 ++++ src/rlpr.c Tue Mar 21 23:24:48 2000 +@@ -79,4 +79,6 @@ + setlocale(LC_ALL, ""); ++#ifdef ENABLE_NLS + bindtextdomain(PACKAGE, LOCALEDIR); + textdomain(PACKAGE); ++#endif + +--- src/rlprd.c Mon May 3 21:50:29 1999 ++++ src/rlprd.c Tue Mar 21 23:31:12 2000 +@@ -75,4 +75,6 @@ + setlocale(LC_ALL, ""); ++#ifdef ENABLE_NLS + bindtextdomain(PACKAGE, LOCALEDIR); + textdomain(PACKAGE); ++#endif + +--- src/rlprm.c Mon May 3 21:50:22 1999 ++++ src/rlprm.c Tue Mar 21 23:30:22 2000 +@@ -63,4 +64,6 @@ + setlocale(LC_ALL, ""); ++#ifdef ENABLE_NLS + bindtextdomain(PACKAGE, LOCALEDIR); + textdomain(PACKAGE); ++#endif + +--- src/intl.h Mon May 3 21:48:39 1999 ++++ src/intl.h Wed Mar 22 12:40:02 2000 +@@ -19,7 +19,14 @@ + ++#ifdef ENABLE_NLS + #include <libintl.h> ++#endif + #include <locale.h> + ++#ifdef ENABLE_NLS + #define _(string) gettext(string) + #define N_(string) gettext_noop(string) ++#else ++#define _(string) (string) ++#define N_(string) (string) ++#endif + diff --git a/print/rlpr/pkg-descr b/print/rlpr/pkg-descr index b1a451907f69..bddc66cae544 100644 --- a/print/rlpr/pkg-descr +++ b/print/rlpr/pkg-descr @@ -15,4 +15,6 @@ also a number of user-visible changes: . shiny-new rlpr progress meter, useful for printing over slow links . all printing commands default to `lp' printer now, like bsd -Will use the installed gettext (see devel/gettext port) or its own. +Gettext (-lintl) is ripped out by this port because it adds bloat +without functionality -- there are no language files supplied with this +package yet. May be in future versions. |