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
This commit is contained in:
Dave Cottlehuber 2017-10-07 18:31:16 +00:00
parent 3e0f82b641
commit 3240eefaea
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=451471
5 changed files with 53 additions and 0 deletions

View File

@ -331,6 +331,7 @@
SUBDIR += trapproto
SUBDIR += trayer
SUBDIR += tycoon
SUBDIR += urxvt-font-size
SUBDIR += urxvt-perls
SUBDIR += vdesk
SUBDIR += videoproto

View File

@ -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>

View File

@ -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

View File

@ -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

View File

@ -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