diff options
author | dch <dch@FreeBSD.org> | 2017-10-08 02:31:16 +0800 |
---|---|---|
committer | dch <dch@FreeBSD.org> | 2017-10-08 02:31:16 +0800 |
commit | 9c361bf1de59cbca008c0dbabe8ce34aa134d643 (patch) | |
tree | 73ee887c1ec229ab833249ee634f41d6d00bf250 /x11 | |
parent | c508ec39a4880876d2a4627b2e4e982d3ab86b01 (diff) | |
download | freebsd-ports-gnome-9c361bf1de59cbca008c0dbabe8ce34aa134d643.tar.gz freebsd-ports-gnome-9c361bf1de59cbca008c0dbabe8ce34aa134d643.tar.zst freebsd-ports-gnome-9c361bf1de59cbca008c0dbabe8ce34aa134d643.zip |
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
Diffstat (limited to 'x11')
-rw-r--r-- | x11/Makefile | 1 | ||||
-rw-r--r-- | x11/urxvt-font-size/Makefile | 33 | ||||
-rw-r--r-- | x11/urxvt-font-size/distinfo | 3 | ||||
-rw-r--r-- | x11/urxvt-font-size/files/pkg-message.in | 12 | ||||
-rw-r--r-- | x11/urxvt-font-size/pkg-descr | 4 |
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 |