2000-11-26 14:03:56 +00:00
|
|
|
# New ports collection makefile for: xvkbd
|
|
|
|
# Date created: 26 November 2000
|
|
|
|
# Whom: roam@FreeBSD.org
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= xvkbd
|
2000-12-23 16:34:03 +00:00
|
|
|
PORTVERSION= 1.1
|
2000-11-26 14:03:56 +00:00
|
|
|
CATEGORIES= x11
|
|
|
|
MASTER_SITES= http://member.nifty.ne.jp/tsato/xvkbd/
|
|
|
|
|
|
|
|
MAINTAINER= roam@FreeBSD.org
|
|
|
|
|
2000-12-23 16:58:17 +00:00
|
|
|
.if defined(WITH_ALL)
|
|
|
|
WITH_XAW3D= yes
|
|
|
|
WITH_XTEST= yes
|
|
|
|
WITH_I18N= yes
|
|
|
|
.endif
|
|
|
|
|
2000-11-26 14:03:56 +00:00
|
|
|
.if defined(WITH_XAW3D)
|
|
|
|
BUILD_DEPENDS= ${X11BASE}/lib/libXaw3d.a:${PORTSDIR}/x11-toolkits/Xaw3d
|
|
|
|
.endif
|
|
|
|
|
|
|
|
USE_IMAKE= yes
|
|
|
|
|
|
|
|
pre-fetch:
|
2000-12-23 16:34:03 +00:00
|
|
|
@${ECHO} "The following define controls are available:"
|
|
|
|
@${ECHO} "- WITH_XAW3D - Xaw3d support;"
|
|
|
|
@${ECHO} "- WITH_XTEST - XTEST extesions support;"
|
2000-12-23 16:58:17 +00:00
|
|
|
@${ECHO} "- WITH_I18N - internationalization;"
|
|
|
|
@${ECHO} "- WITH_ALL - all of the above."
|
2000-11-26 14:03:56 +00:00
|
|
|
|
2000-12-23 16:34:03 +00:00
|
|
|
.if defined(WITH_XAW3D)
|
2000-12-23 16:58:17 +00:00
|
|
|
XK_DEFSUBST += -e 's/XCOMM define XAW3D/\#define XAW3D/;'
|
2000-11-26 14:03:56 +00:00
|
|
|
.endif
|
2000-12-23 16:34:03 +00:00
|
|
|
.if defined(WITH_XTEST)
|
2000-12-23 16:58:17 +00:00
|
|
|
XK_DEFSUBST += -e 's/XCOMM define XTEST/\#define XTEST/;'
|
2000-12-23 16:34:03 +00:00
|
|
|
.endif
|
|
|
|
.if defined(WITH_I18N)
|
2000-12-23 16:58:17 +00:00
|
|
|
XK_DEFSUBST += -e 's/XCOMM define I18N/\#define I18N/;'
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if defined(XK_DEFSUBST)
|
|
|
|
post-patch:
|
|
|
|
${PERL} -pi.fbsd ${XK_DEFSUBST} ${WRKSRC}/Imakefile
|
2000-12-23 16:34:03 +00:00
|
|
|
.endif
|
2000-11-26 14:03:56 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|