1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

Support stage

Switch to USES=libtool
strip binaries
This commit is contained in:
Baptiste Daroussin 2014-04-25 07:42:00 +00:00
parent 75ee77df45
commit 69353de786
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=352094
2 changed files with 7 additions and 28 deletions

View File

@ -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 <bsd.port.options.mk>
.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 <bsd.port.mk>

View File

@ -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