aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/swt
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2013-03-22 08:16:07 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2013-03-22 08:16:07 +0000
commit5ff4e33fc09e0433096ff217208741e560f37db6 (patch)
tree0eed80486c0c9ee317000732b7da17a2b76db9f5 /x11-toolkits/swt
parent6825f9380c20c8cc3a69580e8fcabda0603db4ff (diff)
downloadports-5ff4e33fc09e0433096ff217208741e560f37db6.tar.gz
ports-5ff4e33fc09e0433096ff217208741e560f37db6.zip
Notes
Diffstat (limited to 'x11-toolkits/swt')
-rw-r--r--x11-toolkits/swt/Makefile17
1 files changed, 9 insertions, 8 deletions
diff --git a/x11-toolkits/swt/Makefile b/x11-toolkits/swt/Makefile
index 8e8a0e06e283..9d1c94133d29 100644
--- a/x11-toolkits/swt/Makefile
+++ b/x11-toolkits/swt/Makefile
@@ -42,25 +42,26 @@ PLIST_FILES= %%JAVAJARDIR%%/${OUTPUT_JAR} \
NO_WRKSUBDIR= yes
-OPTIONS= CAIRO "Cairo Support" on \
- GNOMEVFS "Gnome VFS Support" on \
- BROWSER "Gecko Browser Support" on
+OPTIONS_DEFINE= CAIRO GNOMEVFS BROWSER
+OPTIONS_DEFAULT= CAIRO GNOMEVFS BROWSER
+GNOMEVFS_DESC= Gnome VFS Support
+BROWSER_DESC= Gecko Browser Support
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
-.if defined(WITH_CAIRO)
+.if ${PORT_OPTIONS:MCAIRO}
LIB_DEPENDS+= cairo.2:${PORTSDIR}/graphics/cairo
PLIST_FILES+= lib/libswt-cairo-gtk-%%BUILD%%.so
MAKE_CAIRO= make_cairo
.endif
-.if defined(WITH_GNOMEVFS)
+.if ${PORT_OPTIONS:MGNOMEVFS}
USE_GNOME+= gnomevfs2 libgnome libgnomeui
PLIST_FILES+= lib/libswt-gnome-gtk-%%BUILD%%.so
MAKE_GNOME= make_gnome
.endif
-.if defined(WITH_BROWSER)
+.if ${PORT_OPTIONS:MBROWSER}
USE_GECKO= libxul19
PLIST_FILES+= lib/libswt-xulrunner-gtk-%%BUILD%%.so
MAKE_MOZILLA= make_xulrunner
@@ -86,4 +87,4 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/libswt-*.so ${PREFIX}/lib
${INSTALL_DATA} ${WRKSRC}/${OUTPUT_JAR} ${JAVAJARDIR}/
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>