aboutsummaryrefslogtreecommitdiffstats
path: root/net/gnet2
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2014-05-21 08:50:36 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2014-05-21 08:50:36 +0800
commitba03a1ac8c81470bfd6d603a5f5c0b4a21af6c48 (patch)
treedfc866686e6aea968363e1164333aa0df7c69174 /net/gnet2
parent75c6f21e334c5e05349496351b2dc296c4412fde (diff)
downloadfreebsd-ports-gnome-ba03a1ac8c81470bfd6d603a5f5c0b4a21af6c48.tar.gz
freebsd-ports-gnome-ba03a1ac8c81470bfd6d603a5f5c0b4a21af6c48.tar.zst
freebsd-ports-gnome-ba03a1ac8c81470bfd6d603a5f5c0b4a21af6c48.zip
- Switch to USES=libtool, drop .la file
- Properly support DOCS option - Strip library PR: 189876 Submitted by: amdmi3 Approved by: kwm
Diffstat (limited to 'net/gnet2')
-rw-r--r--net/gnet2/Makefile14
-rw-r--r--net/gnet2/pkg-plist2
2 files changed, 10 insertions, 6 deletions
diff --git a/net/gnet2/Makefile b/net/gnet2/Makefile
index f5cc7d22c1ab..dc9c897f43e7 100644
--- a/net/gnet2/Makefile
+++ b/net/gnet2/Makefile
@@ -3,7 +3,7 @@
PORTNAME= gnet
PORTVERSION= 2.0.8
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= net ipv6
MASTER_SITES= GNOME
PKGNAMESUFFIX= 2
@@ -11,13 +11,17 @@ PKGNAMESUFFIX= 2
MAINTAINER= gnome@FreeBSD.org
COMMENT= A simple network library built upon Glib-2
-USES= pkgconfig pathfix
-USE_AUTOTOOLS= libtool
-USE_GNOME= gnomehack glib20
+USES= libtool pathfix pkgconfig
+USE_GNOME= glib20
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
+INSTALL_TARGET= install-strip
-.if !defined(NOPORTDOCS)
+OPTIONS_DEFINE= DOCS
+
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MDOCS}
CONFIGURE_ARGS+= --with-html-dir=${DOCSDIR}
.else
CONFIGURE_ARGS+= --without-html-dir
diff --git a/net/gnet2/pkg-plist b/net/gnet2/pkg-plist
index c71df153ce97..1c7bc06c35e1 100644
--- a/net/gnet2/pkg-plist
+++ b/net/gnet2/pkg-plist
@@ -17,9 +17,9 @@ include/gnet-2.0/unix.h
include/gnet-2.0/uri.h
lib/gnet-2.0/include/gnetconfig.h
lib/libgnet-2.0.a
-lib/libgnet-2.0.la
lib/libgnet-2.0.so
lib/libgnet-2.0.so.0
+lib/libgnet-2.0.so.0.0.8
libdata/pkgconfig/gnet-2.0.pc
share/aclocal/gnet-2.0.m4
%%PORTDOCS%%%%DOCSDIR%%/gnet/gnet-base64.html