aboutsummaryrefslogtreecommitdiffstats
path: root/comms
diff options
context:
space:
mode:
authormadpilot <madpilot@FreeBSD.org>2013-09-29 18:44:54 +0800
committermadpilot <madpilot@FreeBSD.org>2013-09-29 18:44:54 +0800
commit9c1f6904aa0426d80acdcdc504463139c8997a43 (patch)
tree293b0dd70d15186f0666c51d4a44418ff4929428 /comms
parent947814d648e0d58348d2922c946c9f6437112daf (diff)
downloadfreebsd-ports-gnome-9c1f6904aa0426d80acdcdc504463139c8997a43.tar.gz
freebsd-ports-gnome-9c1f6904aa0426d80acdcdc504463139c8997a43.tar.zst
freebsd-ports-gnome-9c1f6904aa0426d80acdcdc504463139c8997a43.zip
- Support staging
- Use options helpers
Diffstat (limited to 'comms')
-rw-r--r--comms/openobex/Makefile13
1 files changed, 3 insertions, 10 deletions
diff --git a/comms/openobex/Makefile b/comms/openobex/Makefile
index ba067aeb83c9..b3cf99b19067 100644
--- a/comms/openobex/Makefile
+++ b/comms/openobex/Makefile
@@ -20,15 +20,8 @@ OPTIONS_DEFINE= DOXYGEN
OPTIONS_DEFAULT+= DOXYGEN
.endif
-NO_STAGE= yes
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MDOXYGEN}
-BUILD_DEPENDS+= doxygen:${PORTSDIR}/devel/doxygen
-PLIST_SUB+= DOXYGEN=""
-.else
-CMAKE_ARGS+= -DBUILD_DOCUMENTATION=OFF
-PLIST_SUB+= DOXYGEN="@comment "
-.endif
+OPTIONS_SUB=yes
+DOXYGEN_BUILD_DEPENDS= doxygen:${PORTSDIR}/devel/doxygen
+DOXYGEN_CMAKE_OFF= -DBUILD_DOCUMENTATION=OFF
.include <bsd.port.mk>