summaryrefslogtreecommitdiff
path: root/x11/xvkbd/Makefile
diff options
context:
space:
mode:
authorPeter Pentchev <roam@FreeBSD.org>2000-12-23 16:34:03 +0000
committerPeter Pentchev <roam@FreeBSD.org>2000-12-23 16:34:03 +0000
commit3803b2c364940ccdd9a7627b1bf80b811efb8ffc (patch)
treedaef3648e55207126a388abc7321beff12440bcb /x11/xvkbd/Makefile
parentUpdate checksum of `imap-utils.tar.Z'. (diff)
Update to 1.1.
Notes
Notes: svn path=/head/; revision=36276
Diffstat (limited to 'x11/xvkbd/Makefile')
-rw-r--r--x11/xvkbd/Makefile15
1 files changed, 12 insertions, 3 deletions
diff --git a/x11/xvkbd/Makefile b/x11/xvkbd/Makefile
index c696926669d9..a7661efc6dc9 100644
--- a/x11/xvkbd/Makefile
+++ b/x11/xvkbd/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= xvkbd
-PORTVERSION= 1.0
+PORTVERSION= 1.1
CATEGORIES= x11
MASTER_SITES= http://member.nifty.ne.jp/tsato/xvkbd/
@@ -19,11 +19,20 @@ BUILD_DEPENDS= ${X11BASE}/lib/libXaw3d.a:${PORTSDIR}/x11-toolkits/Xaw3d
USE_IMAKE= yes
pre-fetch:
- @${ECHO} "Define WITH_XAW3D for Xaw3d support."
+ @${ECHO} "The following define controls are available:"
+ @${ECHO} "- WITH_XAW3D - Xaw3d support;"
+ @${ECHO} "- WITH_XTEST - XTEST extesions support;"
+ @${ECHO} "- WITH_I18N - internationalization."
-.if defined(WITH_XAW3D)
post-patch:
+.if defined(WITH_XAW3D)
${PERL} -pi.fbsd -e 's/XCOMM define XAW3D/#define XAW3D/' ${WRKSRC}/Imakefile
.endif
+.if defined(WITH_XTEST)
+ ${PERL} -pi.fbsd -e 's/XCOMM define XTEST/#define XTEST/' ${WRKSRC}/Imakefile
+.endif
+.if defined(WITH_I18N)
+ ${PERL} -pi.fbsd -e 's/XCOMM define I18N/#define I18N/' ${WRKSRC}/Imakefile
+.endif
.include <bsd.port.mk>