aboutsummaryrefslogtreecommitdiff
path: root/x11-themes/gtk-nodoka-engine
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2012-12-29 23:07:29 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2012-12-29 23:07:29 +0000
commitab669cf5b8865ee9679b29aeb57667de72618289 (patch)
tree9f9baf559a2b9317069117692f9444e1494b1aa3 /x11-themes/gtk-nodoka-engine
parent4bb8907a16230e820fae47f8c4f2f578f0c28edb (diff)
downloadports-ab669cf5b8865ee9679b29aeb57667de72618289.tar.gz
ports-ab669cf5b8865ee9679b29aeb57667de72618289.zip
Convert romain's ports to new option framework
While here Trim headers Approved by: maintainer timeout (2 weeks)
Notes
Notes: svn path=/head/; revision=309641
Diffstat (limited to 'x11-themes/gtk-nodoka-engine')
-rw-r--r--x11-themes/gtk-nodoka-engine/Makefile19
1 files changed, 8 insertions, 11 deletions
diff --git a/x11-themes/gtk-nodoka-engine/Makefile b/x11-themes/gtk-nodoka-engine/Makefile
index 13a0d24d817f..7dee0bf79875 100644
--- a/x11-themes/gtk-nodoka-engine/Makefile
+++ b/x11-themes/gtk-nodoka-engine/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: gtk-nodoka-engine
-# Date created: 2009-01-27
-# Whom: Romain Tartiere <romain@blogreen.org>
-#
+# Created by: Romain Tartiere <romain@blogreen.org>
# $FreeBSD$
-#
PORTNAME= gtk-nodoka-engine
PORTVERSION= 0.7.5
@@ -14,26 +10,27 @@ MASTER_SITES= https://fedorahosted.org/releases/n/o/nodoka/
MAINTAINER= romain@FreeBSD.org
COMMENT= GTK nodoka engine and themes
-OPTIONS= ANIMATION "Enable animation support" off \
- ANIMATIONTOLEFT "Animation from right to left" off
+OPTIONS_DEFINE= ANIMATION ANIMATIONTOLEFT
+ANIMATION_DESC= Animation support
+ANIMATIONTOLEFT_DESC= Animation from right to left
GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_GNOME= gtk20
USE_LDCONFIG= yes
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
-.if defined(WITH_ANIMATION) && !defined(WITHOUT_ANIMATION)
+.if ${PORT_OPTIONS:MANIMATION}
CONFIGURE_ARGS+= --enable-animation
.else
CONFIGURE_ARGS+= --disable-animation
.endif
-.if defined(WITH_ANIMATIONTOLEFT) && !defined(WITHOUT_ANIMATIONTOLEFT)
+.if ${PORT_OPTIONS:MANIMATIONTOLEFT}
CONFIGURE_ARGS+= --enable-animationtoleft
.else
CONFIGURE_ARGS+= --disable-animationtoleft
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>