Index: x11/Makefile =================================================================== --- x11/Makefile +++ x11/Makefile @@ -331,6 +331,7 @@ SUBDIR += trapproto SUBDIR += trayer SUBDIR += tycoon + SUBDIR += urxvt-font-size SUBDIR += urxvt-perls SUBDIR += vdesk SUBDIR += videoproto Index: x11/urxvt-font-size/Makefile =================================================================== --- /dev/null +++ x11/urxvt-font-size/Makefile @@ -0,0 +1,32 @@ +# $FreeBSD$ + +PORTNAME= urxvt-font-size +PORTVERSION= 0.1 +CATEGORIES= x11 + +MAINTAINER= dch@skunkwerks.at +COMMENT= Perl extension for rxvt-unicode terminal emulator to change font size + +LICENSE= MIT + +RUN_DEPENDS= ${LOCALBASE}/bin/urxvt:x11/rxvt-unicode + +NO_BUILD= yes +USE_GITHUB= yes +GH_ACCOUNT= majutsushi +GH_TAGNAME= b9a3c08 +PORTDOCS= README + +INSTDIR_REL= lib/urxvt/perl +SCRIPTS= font-size +PLIST_FILES+= ${SCRIPTS:C/^/${INSTDIR_REL}\//} + +do-install: + ${MKDIR} ${STAGEDIR}${PREFIX}/${INSTDIR_REL} +.for s in ${SCRIPTS} + ${INSTALL_DATA} ${WRKSRC}/${s} ${STAGEDIR}${PREFIX}/${INSTDIR_REL} +.endfor + ${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README.markdown ${STAGEDIR}${DOCSDIR}/README + +.include Index: x11/urxvt-font-size/distinfo =================================================================== --- /dev/null +++ x11/urxvt-font-size/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1496926992 +SHA256 (majutsushi-urxvt-font-size-0.1-b9a3c08_GH0.tar.gz) = 24eb7570caba930bb01fdd8de92f793f49c7b72e67949a20b80f8f375b287a6a +SIZE (majutsushi-urxvt-font-size-0.1-b9a3c08_GH0.tar.gz) = 6088 Index: x11/urxvt-font-size/pkg-descr =================================================================== --- /dev/null +++ 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 Index: x11/urxvt-font-size/pkg-message =================================================================== --- /dev/null +++ x11/urxvt-font-size/pkg-message @@ -0,0 +1,15 @@ +To enable this urxvt extension, modify your ~/.Xresources file and +ensure URxvt*perl-ext-common contains font-size: + +URxvt*perl-ext-common: default,font-size,matcher,keyboard-select + + +Example key bindings follow: + +URxvt*keysym.C-Up: font-size:increase +URxvt*keysym.C-Down: font-size:decrease +URxvt*keysym.C-S-Up: font-size:incglobal +URxvt*keysym.C-S-Down: font-size:decglobal +URxvt.keysym.C-equal: font-size:reset +URxvt.keysym.C-slash: font-size:show +