From 29f4310729f33ef8835a33d2cb6fc66f51ec3afd Mon Sep 17 00:00:00 2001 From: Tijl Coosemans Date: Tue, 1 Jul 2014 17:28:59 +0000 Subject: [PATCH] - Add USES=libtool - Use option helpers - Replace pkg-plist with PLIST_FILES --- x11-themes/rezlooks/Makefile | 13 +++++-------- x11-themes/rezlooks/pkg-plist | 2 -- 2 files changed, 5 insertions(+), 10 deletions(-) delete mode 100644 x11-themes/rezlooks/pkg-plist diff --git a/x11-themes/rezlooks/Makefile b/x11-themes/rezlooks/Makefile index e3f625027fa2..f047e51102ae 100644 --- a/x11-themes/rezlooks/Makefile +++ b/x11-themes/rezlooks/Makefile @@ -3,7 +3,7 @@ PORTNAME= rezlooks PORTVERSION= 0.6 -PORTREVISION= 7 +PORTREVISION= 8 CATEGORIES= x11-themes MASTER_SITES= http://www.gnome-look.org/CONTENT/content-files/ DISTNAME= 39179-rezlooks-${PORTVERSION} @@ -14,18 +14,15 @@ COMMENT= GTK+ 2.x engine based on Clearlooks WRKSRC= ${WRKDIR}/rezlooks-${PORTVERSION} GNU_CONFIGURE= yes -USES= pkgconfig +USES= libtool pkgconfig USE_GNOME= gtk20 OPTIONS_DEFINE= ANIMATION -OPTIONS_DEFAULT= ANIMATION +OPTIONS_DEFAULT=ANIMATION ANIMATION_DESC= Animation support +ANIMATION_CONFIGURE_ENABLE= animation -.include - -.if ${PORT_OPTIONS:MANIMATION} -CONFIGURE_ARGS+= --enable-animation -.endif +PLIST_FILES= lib/gtk-2.0/%%GTK2_VERSION%%/engines/librezlooks.so post-patch: @${REINPLACE_CMD} -e 's|glib/.*\.h>|glib.h>|g' \ diff --git a/x11-themes/rezlooks/pkg-plist b/x11-themes/rezlooks/pkg-plist deleted file mode 100644 index 9c2a88fbee18..000000000000 --- a/x11-themes/rezlooks/pkg-plist +++ /dev/null @@ -1,2 +0,0 @@ -lib/gtk-2.0/%%GTK2_VERSION%%/engines/librezlooks.la -lib/gtk-2.0/%%GTK2_VERSION%%/engines/librezlooks.so