From 69353de7860251019b0bf65ab254ddf24c05006a Mon Sep 17 00:00:00 2001 From: Baptiste Daroussin Date: Fri, 25 Apr 2014 07:42:00 +0000 Subject: [PATCH] Support stage Switch to USES=libtool strip binaries --- x11-themes/gtk-engines2/Makefile | 19 +++++++------------ x11-themes/gtk-engines2/pkg-plist | 16 ---------------- 2 files changed, 7 insertions(+), 28 deletions(-) diff --git a/x11-themes/gtk-engines2/Makefile b/x11-themes/gtk-engines2/Makefile index dd3b12df1c62..8485c27b8367 100644 --- a/x11-themes/gtk-engines2/Makefile +++ b/x11-themes/gtk-engines2/Makefile @@ -4,7 +4,7 @@ PORTNAME= gtk-engines2 PORTVERSION= 2.20.2 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= x11-themes MASTER_SITES= GNOME MASTER_SITE_SUBDIR= sources/${PORTNAME:S/2$//}/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/} @@ -16,29 +16,24 @@ COMMENT= Theme engine for the GTK+-2.0 toolkit CONFLICTS= gtk-smooth-engine-[0-9]* clearlooks-[0-9]* -USE_BZIP2= yes -USE_GNOME= gnomehack gtk20 intlhack ltasneededhack -USES= gettext gmake pkgconfig +USE_GNOME= gtk20 intlhack +USES= gettext gmake libtool pathfix pkgconfig tar:bzip2 USE_LDCONFIG= yes -USE_AUTOTOOLS= libtool CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib +GNU_CONFIGURE= yes +INSTALL_TARGET= install-strip OPTIONS_DEFINE= ANIMATION ANIMATION_DESC= Experimental animated progressbars -NO_STAGE= yes -.include - -.if ${PORT_OPTIONS:MANIMATION} -CONFIGURE_ARGS+= --enable-animation -.endif +ANIMATION_CONFIGURE_ENABLE= animation post-patch: @${REINPLACE_CMD} -e 's|glib.*\.h>|glib.h>|g' \ ${WRKSRC}/engines/clearlooks/src/animation.c post-install: - @(cd ${WRKSRC}/po && ${GMAKE} install) + @(cd ${WRKSRC}/po && ${MAKE_CMD} install DESTDIR=${STAGEDIR}) .include diff --git a/x11-themes/gtk-engines2/pkg-plist b/x11-themes/gtk-engines2/pkg-plist index 08c8f7b4384e..9afee33eb16f 100644 --- a/x11-themes/gtk-engines2/pkg-plist +++ b/x11-themes/gtk-engines2/pkg-plist @@ -1,26 +1,10 @@ -lib/gtk-2.0/%%GTK2_VERSION%%/engines/libclearlooks.a -lib/gtk-2.0/%%GTK2_VERSION%%/engines/libclearlooks.la lib/gtk-2.0/%%GTK2_VERSION%%/engines/libclearlooks.so -lib/gtk-2.0/%%GTK2_VERSION%%/engines/libcrux-engine.a -lib/gtk-2.0/%%GTK2_VERSION%%/engines/libcrux-engine.la lib/gtk-2.0/%%GTK2_VERSION%%/engines/libcrux-engine.so -lib/gtk-2.0/%%GTK2_VERSION%%/engines/libglide.a -lib/gtk-2.0/%%GTK2_VERSION%%/engines/libglide.la lib/gtk-2.0/%%GTK2_VERSION%%/engines/libglide.so -lib/gtk-2.0/%%GTK2_VERSION%%/engines/libhcengine.a -lib/gtk-2.0/%%GTK2_VERSION%%/engines/libhcengine.la lib/gtk-2.0/%%GTK2_VERSION%%/engines/libhcengine.so -lib/gtk-2.0/%%GTK2_VERSION%%/engines/libindustrial.a -lib/gtk-2.0/%%GTK2_VERSION%%/engines/libindustrial.la lib/gtk-2.0/%%GTK2_VERSION%%/engines/libindustrial.so -lib/gtk-2.0/%%GTK2_VERSION%%/engines/libmist.a -lib/gtk-2.0/%%GTK2_VERSION%%/engines/libmist.la lib/gtk-2.0/%%GTK2_VERSION%%/engines/libmist.so -lib/gtk-2.0/%%GTK2_VERSION%%/engines/libredmond95.a -lib/gtk-2.0/%%GTK2_VERSION%%/engines/libredmond95.la lib/gtk-2.0/%%GTK2_VERSION%%/engines/libredmond95.so -lib/gtk-2.0/%%GTK2_VERSION%%/engines/libthinice.a -lib/gtk-2.0/%%GTK2_VERSION%%/engines/libthinice.la lib/gtk-2.0/%%GTK2_VERSION%%/engines/libthinice.so libdata/pkgconfig/gtk-engines-2.pc share/gtk-engines/clearlooks.xml