diff options
author | Alexey Dokuchaev <danfe@FreeBSD.org> | 2020-07-03 19:17:45 +0000 |
---|---|---|
committer | Alexey Dokuchaev <danfe@FreeBSD.org> | 2020-07-03 19:17:45 +0000 |
commit | 2b6c91fbb5b22eaf82feb817399dfa81274616f3 (patch) | |
tree | acd79e343ff344724c72779e7d4c96e3a7d897cc /x11/keynav/Makefile | |
parent | 3800f4922827c2481b31236c98367c028cabe02b (diff) | |
download | ports-2b6c91fbb5b22eaf82feb817399dfa81274616f3.tar.gz ports-2b6c91fbb5b22eaf82feb817399dfa81274616f3.zip |
Notes
Diffstat (limited to 'x11/keynav/Makefile')
-rw-r--r-- | x11/keynav/Makefile | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/x11/keynav/Makefile b/x11/keynav/Makefile new file mode 100644 index 000000000000..16aab8880834 --- /dev/null +++ b/x11/keynav/Makefile @@ -0,0 +1,47 @@ +# $FreeBSD$ + +PORTNAME= keynav +PORTVERSION= 0.20180821.0 # to match the output of `keynav -v' +PORTEPOCH= 1 +CATEGORIES= x11 + +MAINTAINER= karlo@klarinet.osamsb.hr +COMMENT= Quickly select a portion of the screen using minimal keystrokes + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/COPYRIGHT + +LIB_DEPENDS= libxdo.so:x11/xdotool + +USES= gmake gnome pkgconfig +USE_GITHUB= yes +GH_ACCOUNT= jordansissel +GH_TAGNAME= 78f9e07 +USE_GNOME= cairo glib20 +USE_XORG= x11 xext xinerama xrandr + +PLIST_FILES= bin/keynav +PORTDOCS= CHANGELIST README.md TODO +PORTEXAMPLES= keynavrc keynavrc.jordan test.sh + +OPTIONS_DEFINE= DOCS EXAMPLES + +post-extract: + @${MV} ${WRKSRC}/examples/keynavrc.jordan ${WRKSRC} +# default RELEASE="$(date +%Y%m%d)", should not depend on the build date + @${PRINTF} "MAJOR=0\nRELEASE=%s\nREVISION=0\n" \ + ${PORTVERSION:S/./ /g:[2]} > ${WRKSRC}/VERSION + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/keynav ${STAGEDIR}${PREFIX}/bin + +do-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} + +do-install-EXAMPLES-on: + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + ${INSTALL_DATA} ${PORTEXAMPLES:S,^,${WRKSRC}/,} \ + ${STAGEDIR}${EXAMPLESDIR} + +.include <bsd.port.mk> |