diff options
author | miwi <miwi@FreeBSD.org> | 2012-05-31 00:49:12 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2012-05-31 00:49:12 +0800 |
commit | 21bddc2d1a2042f4ff865a4332c025b6cecd51a1 (patch) | |
tree | 7b85dd509c1a2721bcf825a6028fd3c680a3783b /x11-toolkits | |
parent | 063b50bb312d418ad41be26a35a64173a0c3b545 (diff) | |
download | freebsd-ports-gnome-21bddc2d1a2042f4ff865a4332c025b6cecd51a1.tar.gz freebsd-ports-gnome-21bddc2d1a2042f4ff865a4332c025b6cecd51a1.tar.zst freebsd-ports-gnome-21bddc2d1a2042f4ff865a4332c025b6cecd51a1.zip |
- 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!)
Diffstat (limited to 'x11-toolkits')
-rw-r--r-- | x11-toolkits/libxfce4gui/Makefile | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/x11-toolkits/libxfce4gui/Makefile b/x11-toolkits/libxfce4gui/Makefile index 6b1c228c31b9..cc9de525868f 100644 --- a/x11-toolkits/libxfce4gui/Makefile +++ b/x11-toolkits/libxfce4gui/Makefile @@ -28,13 +28,13 @@ USE_XORG= sm x11 CONFIGURE_ARGS+=--disable-gtk-doc-html -OPTIONS= NLS "Enable Native Language Support" on \ - STARTUP "Use libstartup-notification" on \ - APIDOCS "Install api documentation" off +OPTIONS_DEFINE= DOCS NLS STARTUP +OPTIONS_DEFAULT= STARTUP +STARTUP_DESC= Use libstartup-notification -.include <bsd.port.pre.mk> +.include <bsd.port.options.mk> -.if !defined(WITHOUT_NLS) +.if ${PORT_OPTIONS:MNLS} USE_GETTEXT= yes CONFIGURE_ARGS+=--enable-nls PLIST_SUB+= NLS="" @@ -43,19 +43,19 @@ CONFIGURE_ARGS+=--disable-nls PLIST_SUB+= NLS="@comment " .endif -.if !defined(WITHOUT_STARTUP) +.if ${PORT_OPTIONS:MSTARTUP} LIB_DEPENDS+= startup-notification-1:${PORTSDIR}/x11/startup-notification CONFIGURE_ARGS+=--enable-startup-notification .else CONFIGURE_ARGS+=--disable-startup-notification .endif -.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 -.include <bsd.port.post.mk> +.include <bsd.port.mk> |