diff options
author | Peter Pentchev <roam@FreeBSD.org> | 2005-12-12 17:18:22 +0000 |
---|---|---|
committer | Peter Pentchev <roam@FreeBSD.org> | 2005-12-12 17:18:22 +0000 |
commit | f92c3ff59cd7b7a2aafe0102b1ebda205e2da434 (patch) | |
tree | 9016f852b2db21586525e9986c1c7a417fc76967 | |
parent | Update to DAT 4648 (diff) |
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>
-rw-r--r-- | x11/xvkbd/Makefile | 26 |
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> |