From 7c47c61e4f8476aa720c0021fa095c1880c58e2a Mon Sep 17 00:00:00 2001
From: Dmitry Marakasov <amdmi3@FreeBSD.org>
Date: Mon, 26 May 2014 18:57:58 +0000
Subject: - Convert to USES=libtool - Add LICENSE_FILE - Strip libraries

---
 net/libsocketcpp/Makefile  | 8 +++++++-
 net/libsocketcpp/pkg-plist | 2 +-
 2 files changed, 8 insertions(+), 2 deletions(-)

(limited to 'net')

diff --git a/net/libsocketcpp/Makefile b/net/libsocketcpp/Makefile
index 8324f3febccf..b143ed9e40d2 100644
--- a/net/libsocketcpp/Makefile
+++ b/net/libsocketcpp/Makefile
@@ -3,6 +3,7 @@
 
 PORTNAME=	libsocketcpp
 PORTVERSION=	1.0.7
+PORTREVISION=	1
 CATEGORIES=	net
 MASTER_SITES=	SF/libsocket/${PORTNAME}-stable/${PORTVERSION}
 
@@ -10,8 +11,13 @@ MAINTAINER=	ports@FreeBSD.org
 COMMENT=	C++ wrapper library to the sockets
 
 LICENSE=	LGPL21 # (or later)
+LICENSE_FILE=	${WRKSRC}/LICENSE
 
-USE_AUTOTOOLS=	libtool
+USES=		libtool
+GNU_CONFIGURE=	yes
 USE_LDCONFIG=	yes
 
+post-install:
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libsocketcpp.so
+
 .include <bsd.port.mk>
diff --git a/net/libsocketcpp/pkg-plist b/net/libsocketcpp/pkg-plist
index fc3f30f6c03c..2387a9a2086a 100644
--- a/net/libsocketcpp/pkg-plist
+++ b/net/libsocketcpp/pkg-plist
@@ -2,7 +2,7 @@ bin/tcpservertest
 bin/tcptest
 include/libsocketcpp/tcpsocket.h
 lib/libsocketcpp.a
-lib/libsocketcpp.la
 lib/libsocketcpp.so
 lib/libsocketcpp.so.0
+lib/libsocketcpp.so.0.0.0
 @dirrm include/libsocketcpp
-- 
cgit debian/1.2.3+git2.25.1-1-2-gaceb0