2007-02-21 12:30:41 +01:00
|
|
|
# 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
|
2008-03-24 14:03:55 +01:00
|
|
|
PORTREVISION= 2
|
2007-02-21 12:30:41 +01:00
|
|
|
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
|
|
|
|
|
2008-03-24 14:03:55 +01:00
|
|
|
USE_XORG= x11 xtst xext xfixes xi
|
2009-03-25 15:12:22 +01:00
|
|
|
MAKE_JOBS_SAFE= yes
|
2007-02-21 12:30:41 +01:00
|
|
|
|
|
|
|
PLIST_FILES= bin/${PORTNAME}
|
|
|
|
|
|
|
|
do-build:
|
|
|
|
@cd ${WRKSRC} && \
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
${CC} -L${LOCALBASE}/lib -I${LOCALBASE}/include click.c \
|
2007-02-21 12:30:41 +01:00
|
|
|
-lX11 -lXtst -o ${PORTNAME}
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
@${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
|
|
|
|
|
2008-03-07 22:47:50 +01:00
|
|
|
.include <bsd.port.mk>
|