From 5c3bf9d529da1f5955512d6c07f47b22d5549077 Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Wed, 23 Jul 2014 22:29:30 +0000 Subject: - Switch to USES=libtool, drop .la files - Strip libraries - Optionize DOCS --- graphics/mhgui/Makefile | 7 ++++--- graphics/mhgui/pkg-plist | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) (limited to 'graphics/mhgui') diff --git a/graphics/mhgui/Makefile b/graphics/mhgui/Makefile index 689b2594c55b..61e8c16b409f 100644 --- a/graphics/mhgui/Makefile +++ b/graphics/mhgui/Makefile @@ -3,7 +3,7 @@ PORTNAME= mhgui PORTVERSION= 0.2 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= graphics MASTER_SITES= SF/makehuman/MakeHuman%20Source/MakeHuman_091 @@ -16,10 +16,11 @@ LIB_DEPENDS= libanimorph.so:${PORTSDIR}/graphics/animorph \ libpng15.so:${PORTSDIR}/graphics/png GNU_CONFIGURE= yes -USES= pkgconfig gmake +USES= pkgconfig gmake libtool USE_LDCONFIG= yes USE_XORG= xi xmu ice sm USE_GL= glut +INSTALL_TARGET= install-strip USE_GCC= any # otherwise graphics/makehuman won't link CPPFLAGS+= -I${LOCALBASE}/include @@ -27,7 +28,7 @@ LDFLAGS+= -L${LOCALBASE}/lib PORTDOCS= * -.include +OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e '/^libmhguidocdir =/ s|doc/|share/doc/|' ${WRKSRC}/Makefile.in diff --git a/graphics/mhgui/pkg-plist b/graphics/mhgui/pkg-plist index 8e5b9785979a..0fb7cc3bee3d 100644 --- a/graphics/mhgui/pkg-plist +++ b/graphics/mhgui/pkg-plist @@ -24,8 +24,8 @@ include/mhgui/Tooltip.h include/mhgui/Widget.h include/mhgui/Window.h lib/libmhgui.a -lib/libmhgui.la lib/libmhgui.so lib/libmhgui.so.0 +lib/libmhgui.so.0.0.0 libdata/pkgconfig/mhgui.pc @dirrm include/mhgui -- cgit v1.2.3