mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
d4f0d0048a
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}. - Bump PORTREVISION for ports intalling files in ${X11BASE}.
41 lines
953 B
Makefile
41 lines
953 B
Makefile
# 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
|
|
PORTREVISION= 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>
|