Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 May 2014 13:47:46 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r355517 - head/math/libneural
Message-ID:  <201405271347.s4RDlkrx019590@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Tue May 27 13:47:46 2014
New Revision: 355517
URL: http://svnweb.freebsd.org/changeset/ports/355517
QAT: https://qat.redports.org/buildarchive/r355517/

Log:
  - Switch to USES=libtool, drop .la files
  - Strip libraries

Modified:
  head/math/libneural/Makefile
  head/math/libneural/pkg-plist

Modified: head/math/libneural/Makefile
==============================================================================
--- head/math/libneural/Makefile	Tue May 27 13:41:11 2014	(r355516)
+++ head/math/libneural/Makefile	Tue May 27 13:47:46 2014	(r355517)
@@ -3,16 +3,17 @@
 
 PORTNAME=	libneural
 PORTVERSION=	1.0.3
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	math devel
 MASTER_SITES=	http://www.freebsdbrasil.com.br/~jmelo/
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	C++ implementation of the classic 3-layer perceptron in library form
 
-USE_AUTOTOOLS=	libtool
+USES=		libtool
 GNU_CONFIGURE=	yes
 USE_LDCONFIG=	yes
+INSTALL_TARGET=	install-strip
 
 post-patch:
 	@${REINPLACE_CMD} -e 's|$${CONFIG_SHELL-/bin/sh} $$ac_aux_dir|$$ac_aux_dir|' \
@@ -21,4 +22,7 @@ post-patch:
 		s|endl|std::&|g; s|cerr|std::&|g; s|cout|std::&|g; s|cin|std::&|g; s|[oi]fstream |std::&|g' \
 		${WRKSRC}/lib/neuron.cc ${WRKSRC}/lib/nnwork.cc ${WRKSRC}/examples/*.cc
 
+post-install:
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libneural.so
+
 .include <bsd.port.mk>

Modified: head/math/libneural/pkg-plist
==============================================================================
--- head/math/libneural/pkg-plist	Tue May 27 13:41:11 2014	(r355516)
+++ head/math/libneural/pkg-plist	Tue May 27 13:47:46 2014	(r355517)
@@ -1,6 +1,6 @@
 include/neuron.h
 include/nnwork.h
 lib/libneural.a
-lib/libneural.la
 lib/libneural.so
 lib/libneural.so.0
+lib/libneural.so.0.0.0



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