1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

- Revive, update to the latest original author's GitHub snapshot

- Make sure reported version does not depend on the day of build
- Define LICENSE; install more complete set of documentation and
  example files; transfer maintainership to the new volunteer

PR:	240406
This commit is contained in:
Alexey Dokuchaev 2020-07-03 19:17:45 +00:00
parent 3800f49228
commit 2b6c91fbb5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=541129
5 changed files with 55 additions and 1 deletions

1
MOVED
View File

@ -9201,7 +9201,6 @@ databases/jdbm2||2017-04-30|Has expired: Unfetchable for more than six months (g
databases/akonadi-googledata||2017-04-30|Has expired: Unfetchable for more than six months (google code has gone away)
lang/ofc||2017-04-30|Has expired: Unfetchable for more than six months (google code has gone away)
comms/esmska||2017-04-30|Has expired: Unfetchable for more than six months (google code has gone away)
x11/keynav||2017-04-30|Has expired: Unfetchable for more than six months (google code has gone away)
x11/hotwire-shell||2017-04-30|Has expired: Unfetchable for more than six months (google code has gone away)
security/fuzzdb||2017-04-30|Has expired: Unfetchable for more than six months (google code has gone away)
security/truecrack||2017-04-30|Has expired: Unfetchable for more than six months (google code has gone away)

View File

@ -115,6 +115,7 @@
SUBDIR += keybinder
SUBDIR += keybinder-gtk3
SUBDIR += keyboardcast
SUBDIR += keynav
SUBDIR += kf5-frameworkintegration
SUBDIR += kf5-frameworks
SUBDIR += kf5-kactivities

47
x11/keynav/Makefile Normal file
View File

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

3
x11/keynav/distinfo Normal file
View File

@ -0,0 +1,3 @@
TIMESTAMP = 1534813771
SHA256 (jordansissel-keynav-0.20180821.0-78f9e07_GH0.tar.gz) = 448fbbddf5c7fa4888e67f6708089b04587ac33d36770cbc5bb79087d6cf1793
SIZE (jordansissel-keynav-0.20180821.0-78f9e07_GH0.tar.gz) = 28796

4
x11/keynav/pkg-descr Normal file
View File

@ -0,0 +1,4 @@
Quickly and easily select a piece of the screen using a minimal number of
keystrokes.
WWW: http://www.semicomplete.com/projects/keynav/