From 905999f0328d0d9daa03707584624aad05b5d998 Mon Sep 17 00:00:00 2001 From: Mario Sergio Fujikawa Ferreira Date: Wed, 5 Dec 2001 18:05:04 +0000 Subject: [PATCH] o Update to 2.7.8 o USE_GMAKE is no longer necessary o Add knobs WITHOUT_BACKSPACE_KEY, WITHOUT_DELETE_KEY, WITH_GRAPHICS, WITH_SMART_RESIZE o Change message target from pre-fetch to pre-everything o Re-indent the echo messages to visually align them Prompted by: statue --- x11/rxvt-devel/Makefile | 34 +++++++++++++++++---- x11/rxvt-devel/distinfo | 2 +- x11/rxvt-devel/files/patch-src::xdefaults.c | 12 ++++++++ x11/rxvt-devel/pkg-plist | 1 + 4 files changed, 42 insertions(+), 7 deletions(-) create mode 100644 x11/rxvt-devel/files/patch-src::xdefaults.c diff --git a/x11/rxvt-devel/Makefile b/x11/rxvt-devel/Makefile index 7c4ed43c5149..5d4ff734f725 100644 --- a/x11/rxvt-devel/Makefile +++ b/x11/rxvt-devel/Makefile @@ -9,8 +9,7 @@ # the same distfile. PORTNAME= rxvt -PORTVERSION= 2.7.7 -PORTREVISION= 1 +PORTVERSION= 2.7.8 CATEGORIES= x11 MASTER_SITES= ftp://ftp.rxvt.org/pub/rxvt/%SUBDIR%/ \ ftp://mason.primenet.com.au/pub/rxvt/%SUBDIR%/ \ @@ -30,17 +29,31 @@ GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-utmp --enable-wtmp --enable-languages \ --with-xpm --enable-xpm-background --enable-transparency \ --enable-shared -USE_GMAKE= yes INSTALLS_SHLIB= yes USE_BZIP2= yes MAN1= rxvt.1 +# disable backspace key +.if defined(WITHOUT_BACKSPACE_KEY) +CONFIGURE_ARGS+= --disable-backspace-key +.endif # WITHOUT_BACKSPACE_KEY +# +# disable delete key +.if defined(WITHOUT_DELETE_KEY) +CONFIGURE_ARGS+= --disable-delete-key +.endif # WITHOUT_DELETE_KEY +# # set the default encoding for multi-char glyph languages .if defined(WITH_ENCODING) CONFIGURE_ARGS+= --with-encoding=${WITH_ENCODING} .endif # WITH_ENCODING # +# enable graphics support +.if defined(WITH_GRAPHICS) +CONFIGURE_ARGS+= --enable-graphics +.endif # WITH_GRAPHICS +# # enable greek keyboard support .if defined(WITH_GREEK_KEYBOARD) CONFIGURE_ARGS+= --enable-greek @@ -66,6 +79,11 @@ CONFIGURE_ARGS+= --enable-next-scroll CONFIGURE_ARGS+= --enable-rxvt-scroll .endif # WITH_RXVT_SCROLLBAR # +# enable smart resize +.if defined(WITH_SMART_RESIZE) +CONFIGURE_ARGS+= --enable-smart-resize +.endif # WITH_SMART_RESIZE +# # XIM (X Input Method) protocol support .ifndef(WITHOUT_XIM) CONFIGURE_ARGS+= --enable-xim @@ -76,15 +94,19 @@ CONFIGURE_ARGS+= --enable-xim CONFIGURE_ARGS+= --enable-xterm-scroll .endif # WITH_XTERM_SCROLLBAR -pre-fetch: +pre-everything:: @${ECHO_MSG} @${ECHO_MSG} "You may use the following build options:" @${ECHO_MSG} - @${ECHO_MSG} "WITHOUT_XIM=yes disable support for XIM (X Input Method) protocol" + @${ECHO_MSG} "WITHOUT_BACKSPACE_KEY=yes disable handling of the backspace key" + @${ECHO_MSG} "WITHOUT_DELETE_KEY=yes disable handling of the delete key" + @${ECHO_MSG} "WITHOUT_XIM=yes disable support for XIM (X Input Method) protocol" + @${ECHO_MSG} "WITH_GRAPHICS=yes enable rxvt own graphics mode" @${ECHO_MSG} "WITH_GREEK_KEYBOARD=yes add support for greek keyboard" @${ECHO_MSG} "WITH_MENUBAR=yes add support for rxvt menu bar system" - @${ECHO_MSG} "WITH_MOUSEWHEEL=yes add support for scrolling via mouse wheel" + @${ECHO_MSG} "WITH_MOUSEWHEEL=yes add support for scrolling via mouse wheel" @${ECHO_MSG} " or buttons 4 & 5" + @${ECHO_MSG} "WITH_SMART_RESIZE=yes enable smart growth/shrink behaviour" @${ECHO_MSG} "WITH_NEXT_SCROLLBAR=yes add support for a NeXT-like scrollbar" @${ECHO_MSG} "WITH_RXVT_SCROLLBAR=yes add support for the original rxvt scrollbar" @${ECHO_MSG} "WITH_XTERM_SCROLLBAR=yes add support for an Xterm-like scrollbar" diff --git a/x11/rxvt-devel/distinfo b/x11/rxvt-devel/distinfo index fda76e0b1956..05bce13c373c 100644 --- a/x11/rxvt-devel/distinfo +++ b/x11/rxvt-devel/distinfo @@ -1 +1 @@ -MD5 (rxvt-2.7.7.tar.bz2) = bef3e08385b06268744f360d0070c205 +MD5 (rxvt-2.7.8.tar.bz2) = bacf6ab83464d4ede04c2407c0a76535 diff --git a/x11/rxvt-devel/files/patch-src::xdefaults.c b/x11/rxvt-devel/files/patch-src::xdefaults.c new file mode 100644 index 000000000000..1f31e6f8c23a --- /dev/null +++ b/x11/rxvt-devel/files/patch-src::xdefaults.c @@ -0,0 +1,12 @@ +--- src/xdefaults.c.orig Wed Dec 5 15:13:01 2001 ++++ src/xdefaults.c Wed Dec 5 15:15:37 2001 +@@ -278,7 +278,9 @@ + #endif + RSTRG(Rs_selectstyle, "selectstyle", "mode"), + RSTRG(Rs_scrollstyle, "scrollstyle", "mode"), ++#ifdef HAVE_SCROLLBARS + RSTRG(Rs_scrollBar_align, "scrollBar_align", "mode"), ++#endif + #ifdef PRINTPIPE + RSTRG(Rs_print_pipe, "print-pipe", "string"), + #endif diff --git a/x11/rxvt-devel/pkg-plist b/x11/rxvt-devel/pkg-plist index 955ac759797c..f4800a383070 100644 --- a/x11/rxvt-devel/pkg-plist +++ b/x11/rxvt-devel/pkg-plist @@ -1,4 +1,5 @@ bin/rxvt +include/rxvtlib.h lib/librxvt.a lib/librxvt.so lib/librxvt.so.1