From f72aa95506a0e8274e639c01175f6d0dfee66638 Mon Sep 17 00:00:00 2001 From: Tijl Coosemans Date: Tue, 1 Jul 2014 17:46:57 +0000 Subject: [PATCH] - Add USES=libtool - Use option helpers --- x11-themes/gtk-nodoka-engine/Makefile | 20 ++++---------------- x11-themes/gtk-nodoka-engine/pkg-plist | 3 +-- 2 files changed, 5 insertions(+), 18 deletions(-) diff --git a/x11-themes/gtk-nodoka-engine/Makefile b/x11-themes/gtk-nodoka-engine/Makefile index e662d6534a7a..bf3633bf4877 100644 --- a/x11-themes/gtk-nodoka-engine/Makefile +++ b/x11-themes/gtk-nodoka-engine/Makefile @@ -3,7 +3,7 @@ PORTNAME= gtk-nodoka-engine PORTVERSION= 0.7.5 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= x11-themes MASTER_SITES= https://fedorahosted.org/releases/n/o/nodoka/ @@ -13,24 +13,12 @@ COMMENT= GTK nodoka engine and themes OPTIONS_DEFINE= ANIMATION ANIMATIONTOLEFT ANIMATION_DESC= Animation support ANIMATIONTOLEFT_DESC= Animation from right to left +ANIMATION_CONFIGURE_ENABLE= animation +ANIMATIONTOLEFT_CONFIGURE_ENABLE= animationtoleft GNU_CONFIGURE= yes -USES= gmake pkgconfig +USES= gmake libtool pkgconfig USE_GNOME= gtk20 USE_LDCONFIG= yes -.include - -.if ${PORT_OPTIONS:MANIMATION} -CONFIGURE_ARGS+= --enable-animation -.else -CONFIGURE_ARGS+= --disable-animation -.endif - -.if ${PORT_OPTIONS:MANIMATIONTOLEFT} -CONFIGURE_ARGS+= --enable-animationtoleft -.else -CONFIGURE_ARGS+= --disable-animationtoleft -.endif - .include diff --git a/x11-themes/gtk-nodoka-engine/pkg-plist b/x11-themes/gtk-nodoka-engine/pkg-plist index a9d0a5a3a4f4..53cfdceea1fd 100644 --- a/x11-themes/gtk-nodoka-engine/pkg-plist +++ b/x11-themes/gtk-nodoka-engine/pkg-plist @@ -1,4 +1,3 @@ -lib/gtk-2.0/2.10.0/engines/libnodoka.la lib/gtk-2.0/2.10.0/engines/libnodoka.so share/themes/Nodoka-Aqua/gtk-2.0/gtkrc share/themes/Nodoka-Gilouche/gtk-2.0/gtkrc @@ -23,4 +22,4 @@ share/themes/Nodoka/gtk-2.0/gtkrc @dirrm share/themes/Nodoka-Gilouche @dirrm share/themes/Nodoka-Aqua/gtk-2.0 @dirrm share/themes/Nodoka-Aqua -@dirrmtry share/themes/Nodoka +@dirrm share/themes/Nodoka