1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-19 08:13:21 +00:00
freebsd-ports/x11/keynav/Makefile
Alexey Dokuchaev 2b6c91fbb5 - 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
2020-07-03 19:17:45 +00:00

48 lines
1.2 KiB
Makefile

# $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>