From 7330d63edd84f6aa8226080a37ad762477fa5abb Mon Sep 17 00:00:00 2001 From: Sunpoet Po-Chuan Hsieh Date: Tue, 3 Jun 2014 12:44:13 +0000 Subject: [PATCH] - Use USES=libtool - Strip shared library in post-install: - Bump PORTREVISION for package change --- archivers/unshield/Makefile | 8 ++++---- archivers/unshield/pkg-plist | 1 - 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/archivers/unshield/Makefile b/archivers/unshield/Makefile index ef7521233e04..f7a59a7cf511 100644 --- a/archivers/unshield/Makefile +++ b/archivers/unshield/Makefile @@ -3,7 +3,7 @@ PORTNAME= unshield PORTVERSION= 0.6 -PORTREVISION= 3 +PORTREVISION= 7 CATEGORIES= archivers MASTER_SITES= SF/synce/Unshield/${PORTVERSION} @@ -14,9 +14,9 @@ LICENSE= MIT GNU_CONFIGURE= yes USE_LDCONFIG= yes -USES= libtool:keepla pathfix +USES= libtool pathfix -post-build: - @${STRIP_CMD} ${WRKSRC}/lib/.libs/libunshield.so.0.0.0 +post-install: + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libunshield.so.0.0.0 .include diff --git a/archivers/unshield/pkg-plist b/archivers/unshield/pkg-plist index 370b23502797..e9dc9dc23999 100644 --- a/archivers/unshield/pkg-plist +++ b/archivers/unshield/pkg-plist @@ -1,7 +1,6 @@ bin/unshield include/libunshield.h lib/libunshield.a -lib/libunshield.la lib/libunshield.so lib/libunshield.so.0 lib/libunshield.so.0.0.0