From owner-svn-ports-head@FreeBSD.ORG Wed Oct 9 03:16:00 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id EAA9189D; Wed, 9 Oct 2013 03:15:59 +0000 (UTC) (envelope-from danilo@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id D81452510; Wed, 9 Oct 2013 03:15:59 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r993FxB0066005; Wed, 9 Oct 2013 03:15:59 GMT (envelope-from danilo@svn.freebsd.org) Received: (from danilo@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r993Fx0K066002; Wed, 9 Oct 2013 03:15:59 GMT (envelope-from danilo@svn.freebsd.org) Message-Id: <201310090315.r993Fx0K066002@svn.freebsd.org> From: Danilo Egea Gondolfo Date: Wed, 9 Oct 2013 03:15:59 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r329857 - in head/math/levmar: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Oct 2013 03:16:00 -0000 Author: danilo Date: Wed Oct 9 03:15:58 2013 New Revision: 329857 URL: http://svnweb.freebsd.org/changeset/ports/329857 Log: - Update to 2.6 [1] - Correction of MASTER_SITES [1] - Add DOCS and EXAMPLES options - Add stage support - Convert LIB_DEPENDS to new syntax PR: ports/182573 Submitted by: Eijiro Shibusawa (maintainer) [1] Approved by: wg/culot (mentors, implicit) Modified: head/math/levmar/Makefile head/math/levmar/distinfo head/math/levmar/files/Makefile.lib Modified: head/math/levmar/Makefile ============================================================================== --- head/math/levmar/Makefile Wed Oct 9 03:14:49 2013 (r329856) +++ head/math/levmar/Makefile Wed Oct 9 03:15:58 2013 (r329857) @@ -2,10 +2,9 @@ # $FreeBSD$ PORTNAME= levmar -PORTVERSION= 2.5 -PORTREVISION= 3 +PORTVERSION= 2.6 CATEGORIES= math -MASTER_SITES= http://www.ics.forth.gr/~lourakis/levmar/ +MASTER_SITES= http://users.ics.forth.gr/~lourakis/levmar/ EXTRACT_SUFX= .tgz MAINTAINER= phd_kimberlite@yahoo.co.jp @@ -17,10 +16,9 @@ LICENSE_FILE= ${WRKSRC}/LICENSE USE_LDCONFIG= yes USE_FORTRAN= yes -OPTIONS_DEFINE= PROFILE +OPTIONS_DEFINE= DOCS EXAMPLES PROFILE PROFILE_DESC= Build a profiling library -NO_STAGE= yes .include .if exists(${LOCALBASE}/lib/libgoto2p.so) @@ -32,30 +30,26 @@ WITH_BLAS?= reference .endif .if ${WITH_BLAS} == "reference" -LIB_DEPENDS+= blas.2:${PORTSDIR}/math/blas \ - lapack.4:${PORTSDIR}/math/lapack +LIB_DEPENDS+= libblas.so:${PORTSDIR}/math/blas \ + liblapack.so:${PORTSDIR}/math/lapack BLAS= -lblas LAPACK= -llapack .elif ${WITH_BLAS} == "gotoblas" CFLAGS+= ${PTHREAD_CFLAGS} LDFLAGS+= ${PTHREAD_LIBS} -L${LOCALBASE}/lib -LIB_DEPENDS+= goto2p.1:${PORTSDIR}/math/gotoblas +LIB_DEPENDS+= libgoto2p.so:${PORTSDIR}/math/gotoblas BLAS= -lgoto2p LAPACK= -lgoto2p .elif ${WITH_BLAS} == "atlas" CFLAGS+= ${PTHREAD_CFLAGS} LDFLAGS+= ${PTHREAD_LIBS} -L${LOCALBASE}/lib -LIB_DEPENDS+= atlas.2:${PORTSDIR}/math/atlas +LIB_DEPENDS+= libatlas.so:${PORTSDIR}/math/atlas BLAS= -lptf77blas LAPACK= -lalapack -lptcblas .endif -.if ${PORT_OPTIONS:MDOCS} PORTDOCS= README.txt -.endif -.if ${PORT_OPTIONS:MEXAMPLES} PORTEXAMPLES= lmdemo.c Makefile.demo -.endif PLIST_FILES= include/levmar.h \ lib/liblevmar.a \ lib/liblevmar.so \ @@ -86,14 +80,10 @@ post-extract: ${WRKSRC}/Makefile.demo post-install: -.if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} - @(cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}) -.endif -.if ${PORT_OPTIONS:MEXAMPLES} - @${MKDIR} ${EXAMPLESDIR} - @(cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTEXAMPLES} ${EXAMPLESDIR}) -.endif + @${MKDIR} ${STAGEDIR}${DOCSDIR} + @(cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}) + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + @(cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTEXAMPLES} ${STAGEDIR}${EXAMPLESDIR}) test check: install @( cd ${WRKSRC} ; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} Makefile.demo \ Modified: head/math/levmar/distinfo ============================================================================== --- head/math/levmar/distinfo Wed Oct 9 03:14:49 2013 (r329856) +++ head/math/levmar/distinfo Wed Oct 9 03:15:58 2013 (r329857) @@ -1,2 +1,2 @@ -SHA256 (levmar-2.5.tgz) = b70f6ac3eff30ec29150e217b137312cb84e85529815efea2c12e4eab74b9d75 -SIZE (levmar-2.5.tgz) = 78817 +SHA256 (levmar-2.6.tgz) = 3bf4ef1ea4475ded5315e8d8fc992a725f2e7940a74ca3b0f9029d9e6e94bad7 +SIZE (levmar-2.6.tgz) = 81143 Modified: head/math/levmar/files/Makefile.lib ============================================================================== --- head/math/levmar/files/Makefile.lib Wed Oct 9 03:14:49 2013 (r329856) +++ head/math/levmar/files/Makefile.lib Wed Oct 9 03:15:58 2013 (r329857) @@ -8,6 +8,6 @@ SHLIB_MINOR= 5 SRCS= lm.c Axb.c misc.c lmlec.c lmbc.c lmblec.c lmbleic.c beforeinstall: - ${BSD_INSTALL_DATA} ${.CURDIR}/levmar.h ${PREFIX}/include + ${BSD_INSTALL_DATA} ${.CURDIR}/levmar.h ${DESTDIR}${PREFIX}/include .include