aboutsummaryrefslogtreecommitdiffstats
path: root/x11/keynav/Makefile
blob: b99c13cda5f48809b8425234741a569504d68c18 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# New ports collection makefile for:   keynav
# Date created:        29 June 2007
# Whom:                Wesley Shields <wxs@atarininja.org>
#
# $FreeBSD$
#

PORTNAME=   keynav
DISTVERSION=    20080614.01
CATEGORIES= x11
MASTER_SITES=   http://semicomplete.googlecode.com/files/

MAINTAINER= wxs@FreeBSD.org
COMMENT=    Quickly select a portion of the screen using minimal keystrokes

USE_GNOME=  pkgconfig
USE_XORG=   xtst x11
ALL_TARGET= ${PORTNAME}

PLIST_FILES=    bin/keynav
PORTEXAMPLES=   keynavrc
MAKE_JOBS_SAFE= yes

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/keynav ${PREFIX}/bin
.if !defined(NOPORTEXAMPLES)
    @${MKDIR} ${EXAMPLESDIR}
    ${INSTALL_DATA} ${WRKSRC}/keynavrc ${EXAMPLESDIR}
.endif

# Because gcc in RELENG_6 doesn't support -Wno-missing-field-initializers
post-patch:
    @${REINPLACE_CMD} -e 's,-Wno-missing-field-initializers,,' ${WRKSRC}/xdotool/Makefile

.include <bsd.port.mk>