2000-11-26 15:03:56 +01:00
|
|
|
# New ports collection makefile for: xvkbd
|
|
|
|
# Date created: 26 November 2000
|
|
|
|
# Whom: roam@FreeBSD.org
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= xvkbd
|
2012-04-25 09:14:27 +02:00
|
|
|
PORTVERSION= 3.3
|
2000-11-26 15:03:56 +01:00
|
|
|
CATEGORIES= x11
|
2004-12-13 14:54:06 +01:00
|
|
|
MASTER_SITES= http://homepage3.nifty.com/tsato/xvkbd/
|
2000-11-26 15:03:56 +01:00
|
|
|
|
2012-02-27 21:32:31 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2004-11-01 18:09:55 +01:00
|
|
|
COMMENT= A virtual keyboard for X applications
|
2000-11-26 15:03:56 +01:00
|
|
|
|
2010-06-11 16:43:50 +02:00
|
|
|
# FIXME: IMHO, there really ought to be a GPL-2+ option or some such.
|
|
|
|
LICENSE= GPLv2 GPLv3
|
|
|
|
LICENSE_COMB= dual
|
|
|
|
|
2002-02-22 15:42:20 +01:00
|
|
|
MAN1= xvkbd.1
|
|
|
|
|
2012-05-31 22:11:15 +02:00
|
|
|
OPTIONS_DEFINE= XAW3D XTEST NLS DOCS
|
|
|
|
OPTIONS_DEFAULT= XTEST
|
|
|
|
XAW3D_DESC= Xaw3d support
|
|
|
|
XTEST_DESC= XTEST extensions support
|
2000-11-26 15:03:56 +01:00
|
|
|
|
|
|
|
USE_IMAKE= yes
|
2009-06-09 17:33:28 +02:00
|
|
|
USE_XORG= ice sm x11 xaw xext xmu xpm xt
|
2000-11-26 15:03:56 +01:00
|
|
|
|
2005-12-12 18:18:22 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2012-05-31 22:11:15 +02:00
|
|
|
.if ${PORT_OPTIONS:MXAW3D}
|
- 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
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/lib/libXaw3d.a:${PORTSDIR}/x11-toolkits/Xaw3d
|
2005-12-12 18:18:22 +01:00
|
|
|
.endif
|
2000-11-26 15:03:56 +01:00
|
|
|
|
2012-05-31 22:11:15 +02:00
|
|
|
.if ${PORT_OPTIONS:MXAW3D}
|
2000-12-23 17:58:17 +01:00
|
|
|
XK_DEFSUBST += -e 's/XCOMM define XAW3D/\#define XAW3D/;'
|
2000-11-26 15:03:56 +01:00
|
|
|
.endif
|
2012-05-31 22:11:15 +02:00
|
|
|
.if ${PORT_OPTIONS:MXTEST}
|
2000-12-23 17:58:17 +01:00
|
|
|
XK_DEFSUBST += -e 's/XCOMM define XTEST/\#define XTEST/;'
|
2009-06-09 17:33:28 +02:00
|
|
|
USE_XORG+= xtst
|
2000-12-23 17:34:03 +01:00
|
|
|
.endif
|
2012-05-31 22:11:15 +02:00
|
|
|
.if ${PORT_OPTIONS:MNLS}
|
2000-12-23 17:58:17 +01:00
|
|
|
XK_DEFSUBST += -e 's/XCOMM define I18N/\#define I18N/;'
|
|
|
|
.endif
|
|
|
|
|
|
|
|
post-patch:
|
2012-05-31 22:11:15 +02:00
|
|
|
.if defined(XK_DEFSUBST)
|
2003-01-20 17:55:22 +01:00
|
|
|
${REINPLACE_CMD} ${XK_DEFSUBST} ${WRKSRC}/Imakefile
|
2000-12-23 17:34:03 +01:00
|
|
|
.endif
|
2008-05-28 23:54:00 +02:00
|
|
|
${REINPLACE_CMD} -e "s@/usr/include/@${LOCALBASE}/include/@" ${WRKSRC}/XVkbd-small.ad
|
|
|
|
|
2012-05-31 22:11:15 +02:00
|
|
|
.if ${PORT_OPTIONS:MDOCS}
|
2008-05-28 23:54:00 +02:00
|
|
|
post-install:
|
|
|
|
${MKDIR} ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/
|
|
|
|
.endif
|
2000-11-26 15:03:56 +01:00
|
|
|
|
2005-12-12 18:18:22 +01:00
|
|
|
.include <bsd.port.post.mk>
|