freebsd-ports/sysutils/usbhotkey/Makefile
Martin Wilke 3e4ed01146 - 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 17:56:05 +00:00

35 lines
804 B
Makefile

# New ports collection makefile for: usbhotkey
# Date created: 16 July 2007
# Whom: ntarmos@ceid.upatras.gr
#
# $FreeBSD$
#
PORTNAME= usbhotkey
PORTVERSION= 0.3.1
CATEGORIES= sysutils
MASTER_SITES= SF/usbhotkey
MAINTAINER= ntarmos@ceid.upatras.gr
COMMENT= A utility to remap USB keyboards under X11
LIB_DEPENDS= hid.0:${PORTSDIR}/devel/libhid \
Xtst.6:${PORTSDIR}/x11/libXtst
OPTIONS= GUI "Enable GUI bits (Imlib dependency)" on
USE_RUBY= yes
USE_GMAKE= yes
HAS_CONFIGURE= yes
CONFIGURE_ENV+= CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib"
.include <bsd.port.pre.mk>
.if !defined(WITHOUT_GUI)
LIB_DEPENDS+= Imlib.5:${PORTSDIR}/graphics/imlib
.else
CONFIGURE_ARGS+= --without-Imlib
.endif
.include <bsd.port.post.mk>