1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-16 03:24:07 +00:00
freebsd-ports/x11/xvkbd/Makefile
2006-05-13 05:00:46 +00:00

47 lines
985 B
Makefile

# New ports collection makefile for: xvkbd
# Date created: 26 November 2000
# Whom: roam@FreeBSD.org
#
# $FreeBSD$
#
PORTNAME= xvkbd
PORTVERSION= 2.6
PORTREVISION= 2
CATEGORIES= x11
MASTER_SITES= http://homepage3.nifty.com/tsato/xvkbd/
MAINTAINER= roam@FreeBSD.org
COMMENT= A virtual keyboard for X applications
MAN1= xvkbd.1
OPTIONS= XAW3D "Xaw3d support" off \
XTEST "XTEST extensions support" on \
I18N "internationalization" on
USE_IMAKE= yes
.include <bsd.port.pre.mk>
.if defined(WITH_XAW3D)
BUILD_DEPENDS= ${X11BASE}/lib/libXaw3d.a:${PORTSDIR}/x11-toolkits/Xaw3d
.endif
.if defined(WITH_XAW3D)
XK_DEFSUBST += -e 's/XCOMM define XAW3D/\#define XAW3D/;'
.endif
.if defined(WITH_XTEST)
XK_DEFSUBST += -e 's/XCOMM define XTEST/\#define XTEST/;'
.endif
.if defined(WITH_I18N)
XK_DEFSUBST += -e 's/XCOMM define I18N/\#define I18N/;'
.endif
.if defined(XK_DEFSUBST)
post-patch:
${REINPLACE_CMD} ${XK_DEFSUBST} ${WRKSRC}/Imakefile
.endif
.include <bsd.port.post.mk>