2000-11-26 09:03:56 -05:00
|
|
|
# New ports collection makefile for: xvkbd
|
|
|
|
# Date created: 26 November 2000
|
|
|
|
# Whom: roam@FreeBSD.org
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= xvkbd
|
2008-05-28 17:54:00 -04:00
|
|
|
PORTVERSION= 3.0
|
2009-06-09 11:33:28 -04:00
|
|
|
PORTREVISION= 2
|
2000-11-26 09:03:56 -05:00
|
|
|
CATEGORIES= x11
|
2004-12-13 08:54:06 -05:00
|
|
|
MASTER_SITES= http://homepage3.nifty.com/tsato/xvkbd/
|
2000-11-26 09:03:56 -05:00
|
|
|
|
|
|
|
MAINTAINER= roam@FreeBSD.org
|
2004-11-01 12:09:55 -05:00
|
|
|
COMMENT= A virtual keyboard for X applications
|
2000-11-26 09:03:56 -05:00
|
|
|
|
2002-02-22 09:42:20 -05:00
|
|
|
MAN1= xvkbd.1
|
|
|
|
|
2005-12-12 12:25:29 -05:00
|
|
|
OPTIONS= XAW3D "Xaw3d support" off \
|
2005-12-12 12:18:22 -05:00
|
|
|
XTEST "XTEST extensions support" on \
|
|
|
|
I18N "internationalization" on
|
2000-11-26 09:03:56 -05:00
|
|
|
|
|
|
|
USE_IMAKE= yes
|
2009-06-09 11:33:28 -04:00
|
|
|
USE_XORG= ice sm x11 xaw xext xmu xpm xt
|
2000-11-26 09:03:56 -05:00
|
|
|
|
2005-12-12 12:18:22 -05:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if defined(WITH_XAW3D)
|
- 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 13:56:05 -04:00
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/lib/libXaw3d.a:${PORTSDIR}/x11-toolkits/Xaw3d
|
2005-12-12 12:18:22 -05:00
|
|
|
.endif
|
2000-11-26 09:03:56 -05:00
|
|
|
|
2000-12-23 11:34:03 -05:00
|
|
|
.if defined(WITH_XAW3D)
|
2000-12-23 11:58:17 -05:00
|
|
|
XK_DEFSUBST += -e 's/XCOMM define XAW3D/\#define XAW3D/;'
|
2000-11-26 09:03:56 -05:00
|
|
|
.endif
|
2000-12-23 11:34:03 -05:00
|
|
|
.if defined(WITH_XTEST)
|
2000-12-23 11:58:17 -05:00
|
|
|
XK_DEFSUBST += -e 's/XCOMM define XTEST/\#define XTEST/;'
|
2009-06-09 11:33:28 -04:00
|
|
|
USE_XORG+= xtst
|
2000-12-23 11:34:03 -05:00
|
|
|
.endif
|
|
|
|
.if defined(WITH_I18N)
|
2000-12-23 11:58:17 -05:00
|
|
|
XK_DEFSUBST += -e 's/XCOMM define I18N/\#define I18N/;'
|
|
|
|
.endif
|
|
|
|
|
|
|
|
post-patch:
|
2008-05-28 17:54:00 -04:00
|
|
|
.if defined(XK_DEFSUBST)
|
2003-01-20 11:55:22 -05:00
|
|
|
${REINPLACE_CMD} ${XK_DEFSUBST} ${WRKSRC}/Imakefile
|
2000-12-23 11:34:03 -05:00
|
|
|
.endif
|
2008-05-28 17:54:00 -04:00
|
|
|
${REINPLACE_CMD} -e "s@/usr/include/@${LOCALBASE}/include/@" ${WRKSRC}/XVkbd-small.ad
|
|
|
|
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
post-install:
|
|
|
|
${MKDIR} ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/
|
|
|
|
.endif
|
2000-11-26 09:03:56 -05:00
|
|
|
|
2005-12-12 12:18:22 -05:00
|
|
|
.include <bsd.port.post.mk>
|