svn commit: r305324 - head/x11-themes/gtk-equinox-engine
Baptiste Daroussin
bapt at FreeBSD.org
Fri Oct 5 23:31:25 UTC 2012
Author: bapt
Date: Fri Oct 5 23:31:24 2012
New Revision: 305324
URL: http://svn.freebsd.org/changeset/ports/305324
Log:
Convert to new options framework
Modified:
head/x11-themes/gtk-equinox-engine/Makefile
Modified: head/x11-themes/gtk-equinox-engine/Makefile
==============================================================================
--- head/x11-themes/gtk-equinox-engine/Makefile Fri Oct 5 23:30:57 2012 (r305323)
+++ head/x11-themes/gtk-equinox-engine/Makefile Fri Oct 5 23:31:24 2012 (r305324)
@@ -31,11 +31,13 @@ SUBDIRS= "Equinox Evolution" "Equinox Ev
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
More information about the svn-ports-all
mailing list