summaryrefslogtreecommitdiff
path: root/x11/fbdesk
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2012-05-31 14:49:26 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2012-05-31 14:49:26 +0000
commitebb04f49c21a7da2953675b331eb7c9b1cb7d35b (patch)
tree334e2b5d414b5b4e2d6139fd6873cb1dfd72552a /x11/fbdesk
parentAdd descriptions for FUSE KDE3 GCONF IMLIB2 CAIRO CUPS XFT (diff)
Convert to new options framework
Notes
Notes: svn path=/head/; revision=297880
Diffstat (limited to 'x11/fbdesk')
-rw-r--r--x11/fbdesk/Makefile15
1 files changed, 8 insertions, 7 deletions
diff --git a/x11/fbdesk/Makefile b/x11/fbdesk/Makefile
index f2880127bf62..7791119678fe 100644
--- a/x11/fbdesk/Makefile
+++ b/x11/fbdesk/Makefile
@@ -19,7 +19,8 @@ LICENSE= MIT
LIB_DEPENDS= png.6:${PORTSDIR}/graphics/png
-OPTIONS= IMLIB2 "Imlib2 (pixmap themes) support" On
+OPTIONS_DEFINE= IMLIB2 DOCS
+OPTIONS_DEFAULT= IMLIB2
USE_XORG= xext xft xpm xrender
WANT_EFL= yes
@@ -29,20 +30,20 @@ MAKE_JOBS_SAFE= yes
PORTDOCS= ChangeLog INSTALL README
PLIST_FILES= bin/fbdesk
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
-.if defined(WITHOUT_IMLIB2)
-CONFIGURE_ARGS+= --disable-imlib2
-.else
+.if ${PORT_OPTIONS:MIMLIB2}
USE_EFL+= imlib2
+.else
+CONFIGURE_ARGS+= --disable-imlib2
.endif
post-install:
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
.for file in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>