aboutsummaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorPeter Pentchev <roam@FreeBSD.org>2005-12-12 17:18:22 +0000
committerPeter Pentchev <roam@FreeBSD.org>2005-12-12 17:18:22 +0000
commitf92c3ff59cd7b7a2aafe0102b1ebda205e2da434 (patch)
tree9016f852b2db21586525e9986c1c7a417fc76967 /x11
parentd5868f6b4dc04a200667f77360567f80b9d8b3c5 (diff)
downloadports-f92c3ff59cd7b7a2aafe0102b1ebda205e2da434.tar.gz
ports-f92c3ff59cd7b7a2aafe0102b1ebda205e2da434.zip
OPTIONS'ify and let all three knobs be enabled by default.
Bump PORTREVISION for the change in the default behavior. Requested by: Satoshi Kimura <satosi.kimura@nifty.com>
Notes
Notes: svn path=/head/; revision=151016
Diffstat (limited to 'x11')
-rw-r--r--x11/xvkbd/Makefile26
1 files changed, 10 insertions, 16 deletions
diff --git a/x11/xvkbd/Makefile b/x11/xvkbd/Makefile
index 1efbc2becdca..bc7fbf09eaec 100644
--- a/x11/xvkbd/Makefile
+++ b/x11/xvkbd/Makefile
@@ -7,6 +7,7 @@
PORTNAME= xvkbd
PORTVERSION= 2.6
+PORTREVISION= 1
CATEGORIES= x11
MASTER_SITES= http://homepage3.nifty.com/tsato/xvkbd/
@@ -15,25 +16,18 @@ COMMENT= A virtual keyboard for X applications
MAN1= xvkbd.1
-.if defined(WITH_ALL)
-WITH_XAW3D= yes
-WITH_XTEST= yes
-WITH_I18N= yes
-.endif
-
-.if defined(WITH_XAW3D)
-BUILD_DEPENDS= ${X11BASE}/lib/libXaw3d.a:${PORTSDIR}/x11-toolkits/Xaw3d
-.endif
+OPTIONS= XAW3D "Xaw3d support" on \
+ XTEST "XTEST extensions support" on \
+ I18N "internationalization" on
USE_REINPLACE= yes
USE_IMAKE= yes
-pre-fetch:
- @${ECHO} "The following define controls are available:"
- @${ECHO} "- WITH_XAW3D - Xaw3d support;"
- @${ECHO} "- WITH_XTEST - XTEST extesions support;"
- @${ECHO} "- WITH_I18N - internationalization;"
- @${ECHO} "- WITH_ALL - all of the above."
+.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/;'
@@ -50,4 +44,4 @@ post-patch:
${REINPLACE_CMD} ${XK_DEFSUBST} ${WRKSRC}/Imakefile
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>