diff options
author | bapt <bapt@FreeBSD.org> | 2013-06-07 06:11:38 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2013-06-07 06:11:38 +0800 |
commit | 9b3ce9cba5fab0810baa1ea92d76499e971d50ff (patch) | |
tree | 801267879e246ba5e3cd6b797aa60c4af55a8b7b /x11-themes | |
parent | 078e16e0d5267769d3c2fdbb0b78f853fed2b0a6 (diff) | |
download | freebsd-ports-gnome-9b3ce9cba5fab0810baa1ea92d76499e971d50ff.tar.gz freebsd-ports-gnome-9b3ce9cba5fab0810baa1ea92d76499e971d50ff.tar.zst freebsd-ports-gnome-9b3ce9cba5fab0810baa1ea92d76499e971d50ff.zip |
Convert to new options framework
Diffstat (limited to 'x11-themes')
-rw-r--r-- | x11-themes/clearlooks/Makefile | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/x11-themes/clearlooks/Makefile b/x11-themes/clearlooks/Makefile index c51420234620..f7be9423c961 100644 --- a/x11-themes/clearlooks/Makefile +++ b/x11-themes/clearlooks/Makefile @@ -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> |