aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/libmorph
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2014-05-27 22:13:41 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2014-05-27 22:13:41 +0800
commit880012c6c109dd03afe1c17a370508b95bbaec99 (patch)
tree0881a6f5ac1c1be9a216223c0b1fb1e0f4f85150 /graphics/libmorph
parent9366ccd4c46a64bedf5e1072e169aaebb75702cf (diff)
downloadfreebsd-ports-gnome-880012c6c109dd03afe1c17a370508b95bbaec99.tar.gz
freebsd-ports-gnome-880012c6c109dd03afe1c17a370508b95bbaec99.tar.zst
freebsd-ports-gnome-880012c6c109dd03afe1c17a370508b95bbaec99.zip
- Switch to USES=libtool, drop .la files
- Strip libraries
Diffstat (limited to 'graphics/libmorph')
-rw-r--r--graphics/libmorph/Makefile8
-rw-r--r--graphics/libmorph/pkg-plist4
2 files changed, 7 insertions, 5 deletions
diff --git a/graphics/libmorph/Makefile b/graphics/libmorph/Makefile
index 7e71e5f6cb90..f72d37a90e74 100644
--- a/graphics/libmorph/Makefile
+++ b/graphics/libmorph/Makefile
@@ -3,7 +3,7 @@
PORTNAME= libmorph
PORTVERSION= 0.1.2
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= graphics
MASTER_SITES= http://www.winnicki.net/morpheus/meat/
@@ -12,7 +12,7 @@ COMMENT= Library for loading (and saving) 3D modeller object files
CONFLICTS= xmorph*
-USE_AUTOTOOLS= libtool
+USES= libtool
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
@@ -20,4 +20,8 @@ post-patch:
@${REINPLACE_CMD} -e 's|$${CONFIG_SHELL-/bin/sh} $$ac_aux_dir|$$ac_aux_dir|' \
${WRKSRC}/configure
+post-install:
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libmorph.so \
+ ${STAGEDIR}${PREFIX}/lib/morph/loaders/*.so
+
.include <bsd.port.mk>
diff --git a/graphics/libmorph/pkg-plist b/graphics/libmorph/pkg-plist
index af5f96de9f70..452164bcb4c1 100644
--- a/graphics/libmorph/pkg-plist
+++ b/graphics/libmorph/pkg-plist
@@ -2,14 +2,12 @@ etc/libmorphConf.sh
include/morph/morph-io.h
include/morph/morph.h
lib/libmorph.a
-lib/libmorph.la
lib/libmorph.so
lib/libmorph.so.0
+lib/libmorph.so.0.0.0
lib/morph/loaders/libmorph-a3ds.a
-lib/morph/loaders/libmorph-a3ds.la
lib/morph/loaders/libmorph-a3ds.so
lib/morph/loaders/libmorph-lwob.a
-lib/morph/loaders/libmorph-lwob.la
lib/morph/loaders/libmorph-lwob.so
@dirrm lib/morph/loaders
@dirrm lib/morph