summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorDave Cottlehuber <dch@FreeBSD.org>2017-10-07 18:31:16 +0000
committerDave Cottlehuber <dch@FreeBSD.org>2017-10-07 18:31:16 +0000
commit3240eefaea1ec8bca8ca7ffda6d70171b82db87a (patch)
tree73ee887c1ec229ab833249ee634f41d6d00bf250 /x11
parentsecurity/shibboleth-sp: Fix wrongly placed USE_APACHE= (diff)
new port: x11/urxvt-font-size
A perl extension for x11/rxvt-unicode that allows changing the font size on the fly with keyboard shortcuts. WWW: https://github.com/majutsushi/urxvt-font-size Reviewed by: mat, jrm (mentor) Approved by: jrm (mentor) Differential Revision: https://reviews.freebsd.org/D12463
Notes
Notes: svn path=/head/; revision=451471
Diffstat (limited to 'x11')
-rw-r--r--x11/Makefile1
-rw-r--r--x11/urxvt-font-size/Makefile33
-rw-r--r--x11/urxvt-font-size/distinfo3
-rw-r--r--x11/urxvt-font-size/files/pkg-message.in12
-rw-r--r--x11/urxvt-font-size/pkg-descr4
5 files changed, 53 insertions, 0 deletions
diff --git a/x11/Makefile b/x11/Makefile
index 0fd07ad68a02..ce813aaf40a8 100644
--- a/x11/Makefile
+++ b/x11/Makefile
@@ -331,6 +331,7 @@
SUBDIR += trapproto
SUBDIR += trayer
SUBDIR += tycoon
+ SUBDIR += urxvt-font-size
SUBDIR += urxvt-perls
SUBDIR += vdesk
SUBDIR += videoproto
diff --git a/x11/urxvt-font-size/Makefile b/x11/urxvt-font-size/Makefile
new file mode 100644
index 000000000000..68a3da168bd8
--- /dev/null
+++ b/x11/urxvt-font-size/Makefile
@@ -0,0 +1,33 @@
+# $FreeBSD$
+
+PORTNAME= urxvt-font-size
+DISTVERSIONPREFIX= v
+DISTVERSION= 1.3
+CATEGORIES= x11
+
+MAINTAINER= dch@skunkwerks.at
+COMMENT= Perl extension for rxvt-unicode terminal emulator to change font size
+
+LICENSE= MIT
+
+RUN_DEPENDS= urxvt:x11/rxvt-unicode
+
+NO_ARCH= yes
+NO_BUILD= yes
+USE_GITHUB= yes
+GH_ACCOUNT= majutsushi
+OPTIONS_DEFINE= DOCS
+PORTDOCS= README
+
+INSTDIR_REL= lib/urxvt/perl
+SCRIPTS= font-size
+PLIST_FILES= ${LOCALBASE}/${INSTDIR_REL}/font-size
+SUB_FILES= pkg-message
+
+do-install:
+ ${MKDIR} ${STAGEDIR}${PREFIX}/${INSTDIR_REL}
+ ${INSTALL_DATA} ${WRKSRC}/font-size ${STAGEDIR}${PREFIX}/${INSTDIR_REL}
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README.markdown ${STAGEDIR}${DOCSDIR}/README
+
+.include <bsd.port.mk>
diff --git a/x11/urxvt-font-size/distinfo b/x11/urxvt-font-size/distinfo
new file mode 100644
index 000000000000..a234b8d1915f
--- /dev/null
+++ b/x11/urxvt-font-size/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1507313520
+SHA256 (majutsushi-urxvt-font-size-v1.3_GH0.tar.gz) = 98bddf0dbad4e11231b07121c1c10b10116985f0ae6019173b10eaa23491a4af
+SIZE (majutsushi-urxvt-font-size-v1.3_GH0.tar.gz) = 6276
diff --git a/x11/urxvt-font-size/files/pkg-message.in b/x11/urxvt-font-size/files/pkg-message.in
new file mode 100644
index 000000000000..61c91e6687db
--- /dev/null
+++ b/x11/urxvt-font-size/files/pkg-message.in
@@ -0,0 +1,12 @@
+To enable this urxvt extension, modify ~/.Xresources as follows:
+
+URxvt.perl-ext-common: ...,font-size
+
+The extension automatically binds:
+
+- Ctrl++ to 'increase'
+- Ctrl+- to 'decrease'
+- Ctrl+0 to 'reset'
+
+For further customization consult
+%%DOCSDIR%%/README
diff --git a/x11/urxvt-font-size/pkg-descr b/x11/urxvt-font-size/pkg-descr
new file mode 100644
index 000000000000..c4e593a69629
--- /dev/null
+++ b/x11/urxvt-font-size/pkg-descr
@@ -0,0 +1,4 @@
+A perl extension for rxvt-unicode that allows changing the font size on the fly
+with keyboard shortcuts
+
+WWW: https://github.com/majutsushi/urxvt-font-size