aboutsummaryrefslogtreecommitdiff
path: root/x11-themes
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2013-06-06 22:11:38 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2013-06-06 22:11:38 +0000
commitc3ac26d515b076c5cfc5c700a8593fb22a046471 (patch)
tree801267879e246ba5e3cd6b797aa60c4af55a8b7b /x11-themes
parent390f68687926149efebad72b1e012e3f05b50da0 (diff)
downloadports-c3ac26d515b076c5cfc5c700a8593fb22a046471.tar.gz
ports-c3ac26d515b076c5cfc5c700a8593fb22a046471.zip
Notes
Diffstat (limited to 'x11-themes')
-rw-r--r--x11-themes/clearlooks/Makefile14
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>