Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Oct 2012 23:31:25 +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: r305324 - head/x11-themes/gtk-equinox-engine
Message-ID:  <201210052331.q95NVPqi059910@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201210052331.q95NVPqi059910>