aboutsummaryrefslogtreecommitdiff
path: root/x11/rxvt-unicode
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2010-12-28 11:28:50 +0000
committerThierry Thomas <thierry@FreeBSD.org>2010-12-28 11:28:50 +0000
commita1f1018854363c1825be595fb29e2867a5011c82 (patch)
treeb8bf001f5dea620692fcee7e83666bf83b53c151 /x11/rxvt-unicode
parent5a8cd00aada5bbae51797254aea00c02316e4882 (diff)
downloadports-a1f1018854363c1825be595fb29e2867a5011c82.tar.gz
ports-a1f1018854363c1825be595fb29e2867a5011c82.zip
Notes
Diffstat (limited to 'x11/rxvt-unicode')
-rw-r--r--x11/rxvt-unicode/Makefile79
-rw-r--r--x11/rxvt-unicode/distinfo5
-rw-r--r--x11/rxvt-unicode/files/patch-src-Makefile.in18
-rw-r--r--x11/rxvt-unicode/files/patch-src_ptytty.h11
-rw-r--r--x11/rxvt-unicode/pkg-plist9
5 files changed, 37 insertions, 85 deletions
diff --git a/x11/rxvt-unicode/Makefile b/x11/rxvt-unicode/Makefile
index a7a3bdf532da..cedf965538f4 100644
--- a/x11/rxvt-unicode/Makefile
+++ b/x11/rxvt-unicode/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= rxvt-unicode
-PORTVERSION= 9.07
-PORTREVISION= 3
+PORTVERSION= 9.10
CATEGORIES= x11
MASTER_SITES= http://dist.schmorp.de/rxvt-unicode/%SUBDIR%/
MASTER_SITE_SUBDIR= . Attic
@@ -15,11 +14,17 @@ MASTER_SITE_SUBDIR= . Attic
MAINTAINER= thierry@FreeBSD.org
COMMENT= A clone of the terminal emulator rxvt modified to support Unicode
-USE_GNOME= pkgconfig
-USE_XORG= xpm xft
+BUILD_DEPENDS= tic:${PORTSDIR}/devel/ncurses \
+ ${LOCALBASE}/libdata/pkgconfig/fontconfig.pc:${PORTSDIR}/x11-fonts/fontconfig
+RUN_DEPENDS= ${LOCALBASE}/bin/fc-cache:${PORTSDIR}/x11-fonts/fontconfig \
+ ${LOCALBASE}/share/misc/terminfo.db:${PORTSDIR}/devel/ncurses
+
+USE_GNOME= pkgconfig
+USE_XORG= xpm xft xrender
GNU_CONFIGURE= yes
-CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include"
-CONFIGURE_ARGS= --enable-shared --enable-everything --with-term=rxvt
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LIBS="-lutil"
+CONFIGURE_ARGS= --enable-shared --enable-everything --with-term=rxvt \
+ --with-terminfo=${LOCALBASE}/share/misc/terminfo.db
USE_BZIP2= yes
WANT_PERL= yes
@@ -29,21 +34,16 @@ OPTIONS= \
UNICODE3 "Support Unicode codepoints above 65535" On \
ISO14755 "Support for extended ISO 14755 modes" On \
COMBINING "Automatic composition of combining chars" On \
- MENUBAR "Support for the menu bar system" On \
RXVT_SCROLLBAR "Support for the original rxvt scrollbar" On \
NEXT_SCROLLBAR "Support for a NeXT-like scrollbar" On \
XTERM_SCROLLBAR "Support for an Xterm-like scrollbar" On \
- PLAIN_SCROLLBAR "Support for a plain-looking scrollbar" On \
- HALF_SHADOW "Half width/height shadows rxvt scrollbar" Off \
BACKSPACE_KEY "Handling of the backspace key by rxvt" On \
DELETE_KEY "Handling of the delete key by rxvt" On \
- LINESPACE "Support for line-spacing" On \
MOUSEWHEEL "Support for scrolling via mouse wheel" On \
SMART_RESIZE "Smart growth/shrink behaviour" On \
IMLOCALE_FIX "imlocale encoding conversion fix" On \
- TERMINFO "Register urxvt in the terminfo database" On \
AFTERIMAGE "Use libAfterImage for background images" On \
- XTERM_COLOR "Support for xterm 256 colors" Off
+ 256_COLOR "Support for 256 colors" Off
.include <bsd.port.pre.mk>
@@ -90,11 +90,6 @@ CONFIGURE_ARGS+= --disable-iso14755
CONFIGURE_ARGS+= --disable-combining
.endif
-# disable support for menu bar system
-.if defined(WITHOUT_MENUBAR)
-CONFIGURE_ARGS+= --disable-menubar
-.endif
-
# disable support for the original rxvt scrollbar
.if defined(WITHOUT_RXVT_SCROLLBAR)
CONFIGURE_ARGS+= --disable-rxvt-scroll
@@ -110,16 +105,6 @@ CONFIGURE_ARGS+= --disable-next-scroll
CONFIGURE_ARGS+= --disable-xterm-scroll
.endif
-# disable support for a very unobtrusive, plain-looking scrollbar
-.if defined(WITHOUT_PLAIN_SCROLLBAR)
-CONFIGURE_ARGS+= --disable-plain-scroll
-.endif
-
-# enable half width/height shadows rxvt scrollbar
-.if defined(WITH_HALF_SHADOW)
-CONFIGURE_ARGS+= --enable-half-shadow
-.endif
-
# disable any handling of the backspace key by rxvt
# let the X server do it
.if defined(WITHOUT_BACKSPACE_KEY)
@@ -131,11 +116,6 @@ CONFIGURE_ARGS+= --disable-backspace-key
CONFIGURE_ARGS+= --disable-delete-key
.endif
-# disable support to provide user specified line spacing between text rows
-.if defined(WITHOUT_LINESPACE)
-CONFIGURE_ARGS+= --disable-linespace
-.endif
-
# enable scrolling via mouse wheel or buttons 4 & 5
.if defined(WITHOUT_MOUSEWHEEL)
CONFIGURE_ARGS+= --disable-mousewheel
@@ -148,16 +128,6 @@ CONFIGURE_ARGS+= --disable-smart-resize
CONFIGURE_ARGS+= --enable-smart-resize
.endif
-.if defined(WITHOUT_TERMINFO)
-CONFIGURE_ARGS+= --without-terminfo
-PLIST_SUB+= TERMINFO="@comment "
-.else
-BUILD_DEPENDS+= tic:${PORTSDIR}/devel/ncurses
-CONFIGURE_ARGS+= --with-terminfo=${LOCALBASE}/share/misc/terminfo.db
-RUN_DEPENDS+= ${LOCALBASE}/share/misc/terminfo.db:${PORTSDIR}/devel/ncurses
-PLIST_SUB+= TERMINFO=""
-.endif
-
# enable integration with libAfterImage for background images
.if defined(WITHOUT_AFTERIMAGE)
CONFIGURE_ARGS+= --disable-afterimage # To be upgraded
@@ -166,11 +136,9 @@ LIB_DEPENDS+= AfterImage.0:${PORTSDIR}/graphics/libafterimage
CONFIGURE_ARGS+= --enable-afterimage
.endif
-CONFIGURE_ENV+= LIBS="-lutil"
-
-# enable support for xterm 256 colors
-.if defined(WITH_XTERM_COLOR)
-CONFIGURE_ARGS+= --enable-xterm-colors=256
+# enable support for 256 colors
+.if defined(WITH_256_COLOR)
+CONFIGURE_ARGS+= --enable-256-color
.endif
# compile in support for additional codeset groups
@@ -206,28 +174,21 @@ pre-everything::
@${ECHO_MSG}
.endif
-.if !defined(WITHOUT_IMLOCALE_FIX) || defined(WITH_XTERM_COLOR)
-post-patch:
.if !defined(WITHOUT_IMLOCALE_FIX)
- @${PATCH} ${PATCH_ARGS} < ${PATCHDIR}/extra-patch-imlocale
- @cd ${WRKSRC}/src && ./gentables
-.endif
-.if defined(WITH_XTERM_COLOR)
- @${PATCH} ${PATCH_ARGS} -p1 < ${WRKSRC}/doc/urxvt-8.2-256color.patch
-.endif
+post-patch:
+ ${PATCH} ${PATCH_ARGS} < ${PATCHDIR}/extra-patch-imlocale
+ cd ${WRKSRC}/src && ./gentables
.endif
pre-configure:
- @${RM} ${WRKSRC}/src/perl/kuake.orig
- @${PERL} -pi -e 's|(PTYCHAR2\s+"[^"]+)"|\1ghijklmnopqrstuv"|' \
+ ${RM} ${WRKSRC}/src/perl/kuake.orig
+ ${PERL} -pi -e 's|(PTYCHAR2\s+"[^"]+)"|\1ghijklmnopqrstuv"|' \
${WRKSRC}/src/ptytty.C
post-install:
${CHMOD} 4711 ${PREFIX}/bin/urxvt ${PREFIX}/bin/urxvtd
-.if !defined(WITHOUT_TERMINFO)
${INSTALL_DATA} ${WRKSRC}/doc/etc/rxvt-unicode.terminfo \
${LOCALBASE}/share/misc/
-.endif
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
@${CP} ${PORTDOCS1:S|^|${WRKSRC}/|} ${WRKSRC}/doc
diff --git a/x11/rxvt-unicode/distinfo b/x11/rxvt-unicode/distinfo
index ad63d1148c17..c2fd747c368e 100644
--- a/x11/rxvt-unicode/distinfo
+++ b/x11/rxvt-unicode/distinfo
@@ -1,3 +1,2 @@
-MD5 (rxvt-unicode-9.07.tar.bz2) = 49bb52c99e002bf85eb41d8385d903b5
-SHA256 (rxvt-unicode-9.07.tar.bz2) = c5a0638ca8249968065076a6f17e6e499f31fdc9050f71aae4ea85cac6aac5a3
-SIZE (rxvt-unicode-9.07.tar.bz2) = 858616
+SHA256 (rxvt-unicode-9.10.tar.bz2) = 1c238f7e545b1a8da81239b826fb2a7d196c73effbcbd211db7a50995a0a067a
+SIZE (rxvt-unicode-9.10.tar.bz2) = 884501
diff --git a/x11/rxvt-unicode/files/patch-src-Makefile.in b/x11/rxvt-unicode/files/patch-src-Makefile.in
index be9029a5b9cc..b38eb2ea9670 100644
--- a/x11/rxvt-unicode/files/patch-src-Makefile.in
+++ b/x11/rxvt-unicode/files/patch-src-Makefile.in
@@ -1,14 +1,14 @@
---- src/Makefile.in.orig 2010-09-26 22:32:22.000000000 +0200
-+++ src/Makefile.in 2010-09-26 22:33:37.000000000 +0200
-@@ -42,6 +42,7 @@
- RXVT_BASENAME=`echo $(RXVTNAME)|sed 's/$(EXEEXT)$$//'|sed '$(transform)'`
- RXVT_BINNAME=$(DESTDIR)$(bindir)/$(RXVT_BASENAME)$(EXEEXT)
- RXVTC_BINNAME=$(DESTDIR)$(bindir)/$(RXVT_BASENAME)c$(EXEEXT)
-+RXVTCD_BINNAME=$(DESTDIR)$(bindir)/$(RXVT_BASENAME)cd$(EXEEXT)
- RXVTD_BINNAME=$(DESTDIR)$(bindir)/$(RXVT_BASENAME)d$(EXEEXT)
+--- src/Makefile.in.orig 2010-12-13 17:49:10.000000000 +0100
++++ src/Makefile.in 2010-12-28 10:10:42.000000000 +0100
+@@ -44,6 +44,7 @@
+
+ RXVT_BINNAME=$(DESTDIR)$(bindir)/$(RXVTNAME)$(EXEEXT)
+ RXVTC_BINNAME=$(DESTDIR)$(bindir)/$(RXVTNAME)c$(EXEEXT)
++RXVTCD_BINNAME=$(DESTDIR)$(bindir)/$(RXVTNAME)cd$(EXEEXT)
+ RXVTD_BINNAME=$(DESTDIR)$(bindir)/$(RXVTNAME)d$(EXEEXT)
#
-@@ -105,6 +106,7 @@
+@@ -107,6 +108,7 @@
$(INSTALL) -d $(DESTDIR)$(bindir)
$(INSTALL_PROGRAM) rxvt $(RXVT_BINNAME)
$(INSTALL_PROGRAM) rxvtc $(RXVTC_BINNAME)
diff --git a/x11/rxvt-unicode/files/patch-src_ptytty.h b/x11/rxvt-unicode/files/patch-src_ptytty.h
deleted file mode 100644
index 4c97b2a0e8ea..000000000000
--- a/x11/rxvt-unicode/files/patch-src_ptytty.h
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/ptytty.h
-+++ src/ptytty.h
-@@ -16,7 +16,7 @@
- #endif
-
- #if UTMP_SUPPORT
--# if !defined(UTMPX_FILE) || !defined(HAVE_STRUCT_UTMPX) || defined(__GLIBC__)
-+# if !defined(HAVE_STRUCT_UTMPX) || defined(__GLIBC__)
- # undef HAVE_UTMPX_H
- # undef HAVE_STRUCT_UTMPX
- # endif
diff --git a/x11/rxvt-unicode/pkg-plist b/x11/rxvt-unicode/pkg-plist
index be412d2f20ae..25dbc7bd4b98 100644
--- a/x11/rxvt-unicode/pkg-plist
+++ b/x11/rxvt-unicode/pkg-plist
@@ -3,10 +3,13 @@ bin/urxvtc
bin/urxvtcd
bin/urxvtd
%%PERL%%lib/urxvt/perl/block-graphics-to-ascii
+%%PERL%%lib/urxvt/perl/clipboard-osc
+%%PERL%%lib/urxvt/perl/confirm-paste
%%PERL%%lib/urxvt/perl/digital-clock
%%PERL%%lib/urxvt/perl/example-refresh-hooks
%%PERL%%lib/urxvt/perl/kuake
%%PERL%%lib/urxvt/perl/macosx-clipboard
+%%PERL%%lib/urxvt/perl/macosx-clipboard-native
%%PERL%%lib/urxvt/perl/matcher
%%PERL%%lib/urxvt/perl/option-popup
%%PERL%%lib/urxvt/perl/overlay-osc
@@ -23,7 +26,7 @@ bin/urxvtd
%%PERL%%lib/urxvt/urxvt.pm
%%PERL%%@dirrm lib/urxvt/perl
%%PERL%%@dirrm lib/urxvt
-%%TERMINFO%%@cwd %%LOCALBASE%%
-%%TERMINFO%%share/misc/rxvt-unicode.terminfo
-%%TERMINFO%%@exec tic %%LOCALBASE%%/share/misc/rxvt-unicode.terminfo
+@cwd %%LOCALBASE%%
+share/misc/rxvt-unicode.terminfo
+@exec tic %%LOCALBASE%%/share/misc/rxvt-unicode.terminfo
@comment No unexec tic available