summaryrefslogtreecommitdiff
path: root/x11/libexo
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2012-05-30 16:49:12 +0000
committerMartin Wilke <miwi@FreeBSD.org>2012-05-30 16:49:12 +0000
commit4b68fc723bc6478544954fa1a7554ca5c269f611 (patch)
tree752bd2703b89f85a96b337b223e14ab4bb621705 /x11/libexo
parent- Add shared PIXBUF, POPPLER, GSTREAMER, ODF, RAW, XRANDR, XKLAVIER, XCURSOR,... (diff)
- Convert complete XFCE to new options framework
While here some extra work: - Remove 6.X gruft - Correct NOPORTDOCS - Pet portlint - Whitespaces fixes Reviewed by: beat, bapt (thx!)
Notes
Notes: svn path=/head/; revision=297800
Diffstat (limited to 'x11/libexo')
-rw-r--r--x11/libexo/Makefile15
1 files changed, 7 insertions, 8 deletions
diff --git a/x11/libexo/Makefile b/x11/libexo/Makefile
index b6efff544d1c..efb42fb413f8 100644
--- a/x11/libexo/Makefile
+++ b/x11/libexo/Makefile
@@ -33,24 +33,23 @@ USE_XFCE= configenv libmenu libutil
USE_XORG= x11
CONFIGURE_ARGS+=--enable-gio-unix \
- --disable-gtk-doc-html
+ --disable-gtk-doc-html
-OPTIONS= APIDOCS "Install api documentation" off \
- NLS "Enable Native Language Support" on
+OPTIONS_DEFINE= DOCS NLS
MAN1= exo-csource.1 exo-open.1
.include <bsd.port.options.mk>
-.if defined(WITHOUT_APIDOCS)
-CONFIGURE_ARGS+=--without-html-dir
-PLIST_SUB+= APIDOCS="@comment "
-.else
+.if ${PORT_OPTIONS:MDOCS}
CONFIGURE_ARGS+=--with-html-dir=${PREFIX}/share/gtk-doc/html
PLIST_SUB+= APIDOCS=""
+.else
+CONFIGURE_ARGS+=--without-html-dir
+PLIST_SUB+= APIDOCS="@comment "
.endif
-.if !defined(WITHOUT_NLS)
+.if ${PORT_OPTIONS:MNLS}
USE_GETTEXT= yes
CONFIGURE_ARGS+=--enable-nls
PLIST_SUB+= NLS=""