aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2014-05-28 02:25:08 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2014-05-28 02:25:08 +0800
commit193902b1262c77db20b694ae26e96983379c319f (patch)
tree3d24c5c70b65e1b81b27c6854f1f8c01ff3f2617 /graphics
parentc8352157e9971762ec71e18fa5141aa935d16746 (diff)
downloadfreebsd-ports-gnome-193902b1262c77db20b694ae26e96983379c319f.tar.gz
freebsd-ports-gnome-193902b1262c77db20b694ae26e96983379c319f.tar.zst
freebsd-ports-gnome-193902b1262c77db20b694ae26e96983379c319f.zip
- Switch to USES=libtool, drop .la files
- Strip libraries
Diffstat (limited to 'graphics')
-rw-r--r--graphics/gltt/Makefile8
-rw-r--r--graphics/gltt/pkg-plist2
2 files changed, 6 insertions, 4 deletions
diff --git a/graphics/gltt/Makefile b/graphics/gltt/Makefile
index 50f7467a664f..d3d43da42c82 100644
--- a/graphics/gltt/Makefile
+++ b/graphics/gltt/Makefile
@@ -3,7 +3,7 @@
PORTNAME= gltt
PORTVERSION= 2.5.2
-PORTREVISION= 9
+PORTREVISION= 10
CATEGORIES= graphics
MASTER_SITES= http://gltt.sourceforge.net/download/
@@ -12,8 +12,7 @@ COMMENT= TrueType fonts rendering using OpenGL
LIB_DEPENDS= libttf.so:${PORTSDIR}/print/freetype
-USES= gmake
-USE_AUTOTOOLS= libtool
+USES= gmake libtool
USE_GL= gl glut
GNU_CONFIGURE= yes
CONFIGURE_ENV= LIBS="-L${LOCALBASE}/lib"
@@ -26,4 +25,7 @@ CONFIGURE_ARGS= --with-ttf-includes=${LOCALBASE}/include/freetype1 \
--with-glut-libraries=${LOCALBASE}/lib
USE_LDCONFIG= yes
+post-install:
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libgltt.so
+
.include <bsd.port.mk>
diff --git a/graphics/gltt/pkg-plist b/graphics/gltt/pkg-plist
index 17b8eb044647..ba0a66ebf511 100644
--- a/graphics/gltt/pkg-plist
+++ b/graphics/gltt/pkg-plist
@@ -18,7 +18,7 @@ include/gltt/GLTTPixmapFont.h
include/gltt/GLTTboolean.h
include/gltt/GLTTminmax.h
lib/libgltt.a
-lib/libgltt.la
lib/libgltt.so
lib/libgltt.so.0
+lib/libgltt.so.0.0.0
@dirrm include/gltt