blob: 27cfeb4a114c7247a91e825872916a0668ca025d (
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
36
37
38
39
|
# New ports collection makefile for: click
# Date created: Ter 20 Fev 2007 07:53:32 UTC
# Whom: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= xclick
PORTVERSION= 0.1
CATEGORIES= x11
MASTER_SITES= http://members.shaw.ca/gehrehmee/ \
http://bg.rifetech.com/
DISTNAME= click
EXTRACT_SUFX= .tgz
MAINTAINER= lioux@FreeBSD.org
COMMENT= Generates X11 mouse button click events
USE_X_PREFIX= yes
USE_XLIB= yes
PLIST_FILES= bin/${PORTNAME}
do-build:
@cd ${WRKSRC} && \
${CC} -L${X11BASE}/lib -I${X11BASE}/include click.c \
-lX11 -lXtst -o ${PORTNAME}
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
.include <bsd.port.pre.mk>
# Requires XTEST extension from xorg
.if !defined(X_WINDOW_SYSTEM) || (defined(X_WINDOW_SYSTEM) && ${X_WINDOW_SYSTEM:L} != xorg)
IGNORE= cannot install: bad X_WINDOW_SYSTEM setting; xorg is required
.endif
.include <bsd.port.post.mk>
|