aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2012-10-05 23:31:24 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2012-10-05 23:31:24 +0000
commit4a8757b754cc82fc1b975eb96afe23b0c7094a2f (patch)
tree1193d256450e19aeff8ed9a4195b46e6cb8c4068
parent721f9eef6db7575d85574053be11591ca9827460 (diff)
downloadports-4a8757b754cc82fc1b975eb96afe23b0c7094a2f.tar.gz
ports-4a8757b754cc82fc1b975eb96afe23b0c7094a2f.zip
Notes
-rw-r--r--x11-themes/gtk-equinox-engine/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/x11-themes/gtk-equinox-engine/Makefile b/x11-themes/gtk-equinox-engine/Makefile
index 4c309247fca1..87716d30b002 100644
--- a/x11-themes/gtk-equinox-engine/Makefile
+++ b/x11-themes/gtk-equinox-engine/Makefile
@@ -31,11 +31,13 @@ SUBDIRS= "Equinox Evolution" "Equinox Evolution Dawn" \
EXAMPLES= "Equinox Evolution.crx" "Equinox Evolution Dawn.crx" \
"Equinox Evolution Dusk.crx" "Equinox Evolution Midnight.crx"
-OPTIONS= ANIMATION "Enable animation support" on
+OPTIONS_DEFINE= ANIMATION EXAMPLES DOCS
+OPTIONS_DEFAULT= ANIMATION
+ANIMATION_DESC= Enable animation support
.include <bsd.port.options.mk>
-.if defined(WITH_ANIMATION)
+.if ${PORT_OPTIONS:MANIMATION}
CONFIGURE_ARGS+= --enable-animation
.endif
@@ -51,13 +53,13 @@ post-install:
${FIND} ${DATADIR}/${i} -type d -exec ${CHMOD} 755 {} +
${FIND} ${DATADIR}/${i} -type f -exec ${CHMOD} ${SHAREMODE} {} +
.endfor
-.if !defined(NOPORTEXAMPLES)
+.if ${PORT_OPTIONS:MEXAMPLES}
${MKDIR} ${EXAMPLESDIR}
.for i in ${EXAMPLES}
${INSTALL_DATA} ${WRKDIR}/$i ${EXAMPLESDIR}
.endfor
.endif
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif