2007-07-28 11:56:18 +02:00
|
|
|
# New ports collection makefile for: usbhotkey
|
|
|
|
# Date created: 16 July 2007
|
|
|
|
# Whom: ntarmos@ceid.upatras.gr
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= usbhotkey
|
2007-09-05 17:02:11 +02:00
|
|
|
PORTVERSION= 0.3.1
|
2007-07-28 11:56:18 +02:00
|
|
|
CATEGORIES= sysutils
|
- 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
|
|
|
MASTER_SITES= SF/usbhotkey
|
2007-07-28 11:56:18 +02:00
|
|
|
|
|
|
|
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
|
- 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
|
|
|
CONFIGURE_ENV+= CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib"
|
2007-07-28 11:56:18 +02:00
|
|
|
|
|
|
|
.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>
|