- upstream versioning change -> use EPOCH - MAKE_FLAGS instead of Makefile patching (bonus: respect DEBUG=-g) - patch to avoid a segfault at runtime This now uses libxdo from x11/xdotool instead of a bundled version, and cairo for drawing. Missing gettext MODULE spotted by ajacoutot@. ok landry@
35 lines
849 B
Makefile
35 lines
849 B
Makefile
# $OpenBSD: Makefile,v 1.8 2015/01/26 12:54:01 jca Exp $
|
|
|
|
COMMENT= turns your keyboard into a fast pointer mover
|
|
|
|
DISTNAME= keynav-0.20101014.3067
|
|
EPOCH= 0
|
|
|
|
CATEGORIES= x11
|
|
|
|
HOMEPAGE= http://www.semicomplete.com/projects/keynav/
|
|
|
|
# BSD
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
MASTER_SITES= https://semicomplete.googlecode.com/files/
|
|
|
|
WANTLIB += X11 Xext Xinerama c cairo glib-2.0 pthread xdo
|
|
|
|
MODULES= devel/gettext
|
|
LIB_DEPENDS= devel/glib2 \
|
|
graphics/cairo \
|
|
x11/xdotool
|
|
|
|
MAKE_FLAGS= CFLAGS="$$(pkg-config --cflags cairo-xlib xinerama glib-2.0) ${CFLAGS}" \
|
|
LDFLAGS="$$(pkg-config --libs cairo-xlib xinerama glib-2.0) ${LDFLAGS}"
|
|
|
|
NO_TEST= Yes
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/keynav ${PREFIX}/bin
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/keynav
|
|
${INSTALL_DATA} ${WRKSRC}/keynavrc ${PREFIX}/share/examples/keynav/
|
|
|
|
.include <bsd.port.mk>
|