Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Feb 2014 13:05:31 +0000 (UTC)
From:      Tilman Keskinoz <arved@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r343627 - in head/net/libsocket++: . files
Message-ID:  <201402101305.s1AD5V9K016088@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: arved
Date: Mon Feb 10 13:05:31 2014
New Revision: 343627
URL: http://svnweb.freebsd.org/changeset/ports/343627
QAT: https://qat.redports.org/buildarchive/r343627/

Log:
  - Convert USE_AUTOTOOLS=libtool to USES=libtool.
  - Replace pre-configure target with USE_AUTOTOOLS.
  - Staging and DOCS option.
  
  PR:		186603
  Submitted by:	tijl

Deleted:
  head/net/libsocket++/files/patch-autogen
Modified:
  head/net/libsocket++/Makefile
  head/net/libsocket++/pkg-plist

Modified: head/net/libsocket++/Makefile
==============================================================================
--- head/net/libsocket++/Makefile	Mon Feb 10 12:58:54 2014	(r343626)
+++ head/net/libsocket++/Makefile	Mon Feb 10 13:05:31 2014	(r343627)
@@ -3,6 +3,7 @@
 
 PORTNAME=	libsocket++
 PORTVERSION=	1.12.13
+PORTREVISION=	1
 CATEGORIES=	net
 MASTER_SITES=	http://src.linuxhacker.at/socket++/
 DISTNAME=	socket++-${PORTVERSION}
@@ -12,21 +13,20 @@ COMMENT=	A C++ wrapper library to the so
 
 LICENSE=	BSD
 LICENSE_FILE=	${WRKSRC}/COPYING
+
+OPTIONS_DEFINE=	DOCS
+
 GNU_CONFIGURE=	yes
 USE_LDCONFIG=	yes
-USE_AUTOTOOLS=	automake autoconf libtool
-SCRIPTS_ENV+=	ACLOCAL_FLAGS="-I ${LOCALBASE}/share/aclocal/"
+USES=		libtool
+USE_AUTOTOOLS=	aclocal autoheader automake autoconf libtoolize
+AUTOMAKE_ARGS=	-a -c
+LIBTOOLIZE_ARGS=-i -c
 
 INFO=	socket++
 
-NO_STAGE=	yes
-pre-configure:
-	@(cd ${WRKSRC}; ${SETENV} ${SCRIPTS_ENV} ${SH} ./autogen)
-
 post-install:
-.if !defined(NOPORTDOCS)
-	@${MKDIR} ${PREFIX}/share/doc/libsocket++
-	${INSTALL_MAN} ${WRKSRC}/README ${PREFIX}/share/doc/libsocket++
-.endif
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_MAN} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>

Modified: head/net/libsocket++/pkg-plist
==============================================================================
--- head/net/libsocket++/pkg-plist	Mon Feb 10 12:58:54 2014	(r343626)
+++ head/net/libsocket++/pkg-plist	Mon Feb 10 13:05:31 2014	(r343627)
@@ -1,7 +1,8 @@
 lib/libsocket++.a
 lib/libsocket++.la
-lib/libsocket++.so.1
 lib/libsocket++.so
+lib/libsocket++.so.1
+lib/libsocket++.so.1.0.2
 include/socket++/fork.h
 include/socket++/echo.h
 include/socket++/ftp.h
@@ -12,6 +13,6 @@ include/socket++/smtp.h
 include/socket++/sockinet.h
 include/socket++/sockstream.h
 include/socket++/sockunix.h
-%%PORTDOCS%%share/doc/libsocket++/README
-@dirrm share/doc/libsocket++
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
 @dirrm include/socket++



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402101305.s1AD5V9K016088>