aboutsummaryrefslogtreecommitdiffstats
path: root/net/libsocketcpp
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2014-05-27 02:57:58 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2014-05-27 02:57:58 +0800
commit3911005dd4f106d23c7447d1881b97f72b2c1776 (patch)
tree0331b3c05bd20f4161cb3028133225cdf8f87b71 /net/libsocketcpp
parent192a09a337c17831b332f058876b1546729d8975 (diff)
downloadfreebsd-ports-gnome-3911005dd4f106d23c7447d1881b97f72b2c1776.tar.gz
freebsd-ports-gnome-3911005dd4f106d23c7447d1881b97f72b2c1776.tar.zst
freebsd-ports-gnome-3911005dd4f106d23c7447d1881b97f72b2c1776.zip
- Convert to USES=libtool
- Add LICENSE_FILE - Strip libraries
Diffstat (limited to 'net/libsocketcpp')
-rw-r--r--net/libsocketcpp/Makefile8
-rw-r--r--net/libsocketcpp/pkg-plist2
2 files changed, 8 insertions, 2 deletions
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