Date: Thu, 6 Jun 2013 22:11:39 +0000 (UTC) From: Baptiste Daroussin <bapt@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r320138 - head/x11-themes/clearlooks Message-ID: <201306062211.r56MBdlL024201@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bapt Date: Thu Jun 6 22:11:38 2013 New Revision: 320138 URL: http://svnweb.freebsd.org/changeset/ports/320138 Log: Convert to new options framework Modified: head/x11-themes/clearlooks/Makefile Modified: head/x11-themes/clearlooks/Makefile ============================================================================== --- head/x11-themes/clearlooks/Makefile Thu Jun 6 22:10:16 2013 (r320137) +++ head/x11-themes/clearlooks/Makefile Thu Jun 6 22:11:38 2013 (r320138) @@ -21,11 +21,13 @@ CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib .if defined(PORTNAME) && !defined(PKGNAMESUFFIX) -OPTIONS+= ANIMATION "Enable experimental animated progressbars" Off \ - METACITY "Depend on MetaCity Theme" On +OPTIONS_DEFINE= ANIMATION METACITY +OPTIONS_DEFAULT= METACITY +ANIMATION_DESC= Enable experimental animated progressbars +METACITY_DESC= Depend on MetaCity Theme .endif -.include <bsd.port.pre.mk> +.include <bsd.port.options.mk> .if !defined(PKGNAMESUFFIX) CONFLICTS+= gtk-engines2-[0-9]* clearlooks-themes[0-9]* @@ -42,11 +44,11 @@ INSTALL_WRKSRC= ${WRKSRC}/themes PLIST_SUB+= ENGINE="@comment " .endif -.if !defined(WITHOUT_METACITY) && !defined(PKGNAMESUFFIX) +.if ${PORT_OPTIONS:MMETACITY} && !defined(PKGNAMESUFFIX) RUN_DEPENDS+= ${LOCALBASE}/share/themes/Clearlooks/metacity-1/metacity-theme-1.xml:${PORTSDIR}/x11-themes/clearlooks-metacity .endif -.if defined(WITH_ANIMATION) +.if ${PORT_OPTIONS:MANIMATION} CONFIGURE_ARGS+= --enable-animation .endif @@ -67,4 +69,4 @@ post-patch: ${WRKSRC}/themes/Clearlooks/gtk-2.0/Makefile.in .endif -.include <bsd.port.post.mk> +.include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201306062211.r56MBdlL024201>