2003-06-12 20:13:41 +00:00
|
|
|
# New ports collection makefile for: hotkeys
|
2003-06-03 02:42:39 +00:00
|
|
|
# Date created: May 20th, 2003
|
|
|
|
# Whom: Andy Pavlo <amp0928@rit.edu>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= hotkeys
|
|
|
|
PORTVERSION= 0.5.7.1
|
2008-06-06 14:17:21 +00:00
|
|
|
PORTREVISION= 8
|
2003-06-03 02:42:39 +00:00
|
|
|
CATEGORIES= misc
|
|
|
|
MASTER_SITES= http://ypwong.org/hotkeys/${PORTVERSION}/ \
|
|
|
|
${MASTER_SITE_XCONTRIB}
|
|
|
|
DISTNAME= hotkeys_${PORTVERSION}
|
|
|
|
|
2006-11-24 15:54:51 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-06-03 02:42:39 +00:00
|
|
|
COMMENT= Allows usage of special keys on internet/multimedia keyboards
|
|
|
|
|
2007-03-06 07:49:55 +00:00
|
|
|
LIB_DEPENDS= xml2.5:${PORTSDIR}/textproc/libxml2
|
2003-06-03 02:42:39 +00:00
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
2007-03-06 07:49:55 +00:00
|
|
|
CONFIGURE_ARGS= --with-db3-inc=${BDB_INCLUDE_DIR} \
|
|
|
|
--with-db3-lib=${BDB_LIB_DIR} \
|
- 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
|
|
|
--with-db-name=${BDB_LIB_NAME}
|
2003-06-03 02:42:39 +00:00
|
|
|
|
- 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
|
|
|
USE_XORG= x11 xkbfile xmu
|
2006-05-21 14:24:55 +00:00
|
|
|
GNU_CONFIGURE= yes
|
2007-03-06 07:49:55 +00:00
|
|
|
USE_BDB= yes
|
2006-05-21 14:24:55 +00:00
|
|
|
USE_GMAKE= yes
|
2007-03-06 07:49:55 +00:00
|
|
|
|
2003-06-03 02:42:39 +00:00
|
|
|
MAN1= hotkeys.1
|
|
|
|
|
2006-05-21 14:24:55 +00:00
|
|
|
OPTIONS= XOSD "Enable On-Screen-Display support" on
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if !defined(WITHOUT_XOSD)
|
|
|
|
LIB_DEPENDS+= xosd.4:${PORTSDIR}/misc/xosd
|
|
|
|
CONFIGURE_ARGS+= --with-xosd
|
|
|
|
.endif
|
|
|
|
|
2003-06-03 02:42:39 +00:00
|
|
|
post-extract:
|
|
|
|
@${CP} ${PATCHDIR}/error.h ${WRKSRC}/src
|
|
|
|
@${CP} ${PATCHDIR}/eliteduo.def ${WRKSRC}/def
|
2005-12-01 00:08:43 +00:00
|
|
|
@${CP} ${PATCHDIR}/logitech-ultrax.def ${WRKSRC}/def
|
2003-06-03 02:42:39 +00:00
|
|
|
|
2007-03-06 07:49:55 +00:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e '/^install-exec-am/s/install-sysconfDATA//' \
|
|
|
|
${WRKSRC}/src/Makefile.in
|
|
|
|
|
2003-06-03 02:42:39 +00:00
|
|
|
post-install:
|
2007-03-06 07:49:55 +00:00
|
|
|
@${INSTALL_DATA} ${WRKSRC}/src/hotkeys.conf ${PREFIX}/etc/hotkeys.conf.sample
|
|
|
|
@if [ ! -f ${PREFIX}/etc/hotkeys.conf ]; then \
|
|
|
|
${CP} -p ${PREFIX}/etc/hotkeys.conf.sample ${PREFIX}/etc/hotkeys.conf ; \
|
|
|
|
fi
|
2003-06-03 02:42:39 +00:00
|
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
|
2006-05-21 14:24:55 +00:00
|
|
|
.include <bsd.port.post.mk>
|