diff --git a/x11/rxvt-unicode/Makefile b/x11/rxvt-unicode/Makefile index 5c275de02077..a7a3bdf532da 100644 --- a/x11/rxvt-unicode/Makefile +++ b/x11/rxvt-unicode/Makefile @@ -7,7 +7,7 @@ PORTNAME= rxvt-unicode PORTVERSION= 9.07 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= x11 MASTER_SITES= http://dist.schmorp.de/rxvt-unicode/%SUBDIR%/ MASTER_SITE_SUBDIR= . Attic @@ -47,7 +47,7 @@ OPTIONS= \ .include -MAN1= urxvt.1 urxvtc.1 urxvtd.1 +MAN1= urxvt.1 urxvtc.1 urxvtcd.1 urxvtd.1 MAN7= urxvt.7 PORTDOCS1= Changes README.FAQ README.configure diff --git a/x11/rxvt-unicode/files/patch-doc-Makefile.in b/x11/rxvt-unicode/files/patch-doc-Makefile.in new file mode 100644 index 000000000000..1de6a2d5fbbe --- /dev/null +++ b/x11/rxvt-unicode/files/patch-doc-Makefile.in @@ -0,0 +1,10 @@ +--- doc/Makefile.in.orig 2010-09-26 22:34:30.000000000 +0200 ++++ doc/Makefile.in 2010-09-26 22:33:53.000000000 +0200 +@@ -94,6 +94,7 @@ + $(INSTALL) -d $(DESTDIR)$(man7dir) + $(INSTALL_DATA) rxvt.1.man $(DESTDIR)$(man1dir)/$(RXVTNAME).$(man1ext) + $(INSTALL_DATA) rxvtc.1.man $(DESTDIR)$(man1dir)/$(RXVTNAME)c.$(man1ext) ++ $(INSTALL_DATA) urxvtcd.1.man $(DESTDIR)$(man1dir)/$(RXVTNAME)cd.$(man1ext) + $(INSTALL_DATA) rxvtd.1.man $(DESTDIR)$(man1dir)/$(RXVTNAME)d.$(man1ext) + $(INSTALL_DATA) rxvt.7.man $(DESTDIR)$(man7dir)/$(RXVTNAME).$(man7ext) + @IF_PERL@ $(INSTALL) -d $(DESTDIR)$(man3dir) diff --git a/x11/rxvt-unicode/files/patch-doc-urxvtcd.1.man b/x11/rxvt-unicode/files/patch-doc-urxvtcd.1.man new file mode 100644 index 000000000000..ae2ec5444b13 --- /dev/null +++ b/x11/rxvt-unicode/files/patch-doc-urxvtcd.1.man @@ -0,0 +1,26 @@ +--- doc/urxvtcd.1.man.orig 2010-09-26 22:16:01.000000000 +0200 ++++ doc/urxvtcd.1.man 2010-09-26 22:16:01.000000000 +0200 +@@ -0,0 +1,23 @@ ++.TH rxvt-unicode 1 "2006-04-27" ++.SH NAME ++urxvtcd \- start a urxvtc and/or urxvtd ++.SH SYNOPSIS ++.B urxvtcd ++.RI [ options ] ++.SH DESCRIPTION ++The ++.B urxvtcd ++script automatically starts ++.BR urxvtd (1) ++if it is not running, and then runs ++.BR urxvtc (1) ++with the specified arguments. ++.SH OPTIONS ++All options are passed to ++.BR urxvtc (1) ++as-is. ++.SH AUTHOR ++rxvt\-unicode was written by Marc Alexander Lehmann . ++.PP ++This manual page was written by Decklin Foster , ++for the Debian project (but may be used by others). diff --git a/x11/rxvt-unicode/files/patch-src-Makefile.in b/x11/rxvt-unicode/files/patch-src-Makefile.in new file mode 100644 index 000000000000..be9029a5b9cc --- /dev/null +++ b/x11/rxvt-unicode/files/patch-src-Makefile.in @@ -0,0 +1,18 @@ +--- 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) + + # +@@ -105,6 +106,7 @@ + $(INSTALL) -d $(DESTDIR)$(bindir) + $(INSTALL_PROGRAM) rxvt $(RXVT_BINNAME) + $(INSTALL_PROGRAM) rxvtc $(RXVTC_BINNAME) ++ $(INSTALL_PROGRAM) urxvtcd $(RXVTCD_BINNAME) + $(INSTALL_PROGRAM) rxvtd $(RXVTD_BINNAME) + + install: install-bin install-perl diff --git a/x11/rxvt-unicode/files/patch-src-urxvtcd b/x11/rxvt-unicode/files/patch-src-urxvtcd new file mode 100644 index 000000000000..cff0fecebde1 --- /dev/null +++ b/x11/rxvt-unicode/files/patch-src-urxvtcd @@ -0,0 +1,10 @@ +--- src/urxvtcd.orig 2010-09-26 22:16:01.000000000 +0200 ++++ src/urxvtcd 2010-09-26 22:16:01.000000000 +0200 +@@ -0,0 +1,7 @@ ++#!/bin/sh ++ ++urxvtc "$@" ++if [ $? -eq 2 ]; then ++ urxvtd -q -f ++ exec urxvtc "$@" ++fi diff --git a/x11/rxvt-unicode/pkg-plist b/x11/rxvt-unicode/pkg-plist index c73f6c17e0c2..be412d2f20ae 100644 --- a/x11/rxvt-unicode/pkg-plist +++ b/x11/rxvt-unicode/pkg-plist @@ -1,5 +1,6 @@ bin/urxvt bin/urxvtc +bin/urxvtcd bin/urxvtd %%PERL%%lib/urxvt/perl/block-graphics-to-ascii %%PERL%%lib/urxvt/perl/digital-clock