From owner-freebsd-ports-bugs@FreeBSD.ORG Mon May 17 23:50:09 2010 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 567B71065672 for ; Mon, 17 May 2010 23:50:09 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (unknown [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 328328FC1F for ; Mon, 17 May 2010 23:50:09 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o4HNo9WR060124 for ; Mon, 17 May 2010 23:50:09 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o4HNo9fb060123; Mon, 17 May 2010 23:50:09 GMT (envelope-from gnats) Resent-Date: Mon, 17 May 2010 23:50:09 GMT Resent-Message-Id: <201005172350.o4HNo9fb060123@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Eijiro Shibusawa Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3530E1065673 for ; Mon, 17 May 2010 23:49:21 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 2375D8FC0A for ; Mon, 17 May 2010 23:49:21 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o4HNnKIl023685 for ; Mon, 17 May 2010 23:49:20 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id o4HNnKC6023684; Mon, 17 May 2010 23:49:20 GMT (envelope-from nobody) Message-Id: <201005172349.o4HNnKC6023684@www.freebsd.org> Date: Mon, 17 May 2010 23:49:20 GMT From: Eijiro Shibusawa To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/146683: [NEW PORT] math/levmar: A GPL-licensed library implementing the Levenberg-Marquardt algorithm X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 May 2010 23:50:09 -0000 >Number: 146683 >Category: ports >Synopsis: [NEW PORT] math/levmar: A GPL-licensed library implementing the Levenberg-Marquardt algorithm >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon May 17 23:50:08 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Eijiro Shibusawa >Release: FreeBSD 8.0-RELEASE-p2 i386 >Organization: >Environment: FreeBSD blizzard.jp 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #0: Tue Jan 5 16:02:27 UTC >Description: levmar is a GPL-licensed library written in C, which implements the Levenberg-Marquardt (LM) optimization algorithm. The LM algorithm is considered as one of the most effective method for solving nonlinear least squares problem. WWW: http://www.ics.forth.gr/~lourakis/levmar/ >How-To-Repeat: >Fix: Patch attached with submission follows: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # levmar # levmar/distinfo # levmar/files # levmar/files/Makefile.lib # levmar/files/Makefile.demo # levmar/pkg-descr # levmar/Makefile # echo c - levmar mkdir -p levmar > /dev/null 2>&1 echo x - levmar/distinfo sed 's/^X//' >levmar/distinfo << 'b8cbb222c801a85b5528d464e488e7b1' XMD5 (levmar-2.5.tgz) = 7ca14d79eda6e985f8355b719ae47d35 XSHA256 (levmar-2.5.tgz) = b70f6ac3eff30ec29150e217b137312cb84e85529815efea2c12e4eab74b9d75 XSIZE (levmar-2.5.tgz) = 78817 b8cbb222c801a85b5528d464e488e7b1 echo c - levmar/files mkdir -p levmar/files > /dev/null 2>&1 echo x - levmar/files/Makefile.lib sed 's/^X//' >levmar/files/Makefile.lib << 'c2e4f10c83e7ace78154abc00df30b8d' X# makefile for levmar sources X XLIBDIR = $(PREFIX)/lib X XSHLIB_MAJOR= 2 XSHLIB_MINOR= 4 XLIB= levmar X XSRCS= lm.c Axb.c misc.c lmlec.c lmbc.c lmblec.c lmbleic.c X Xbeforeinstall: X ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/levmar.h \ X ${PREFIX}/include X X.include c2e4f10c83e7ace78154abc00df30b8d echo x - levmar/files/Makefile.demo sed 's/^X//' >levmar/files/Makefile.demo << '30624edabc838891a1b43101d86d6ab4' XCC = %%CC%% XCFLAGS = %%CFLAGS%% XLDFLAGS = %%LDFLAGS%% XLAPACK = %%LAPACK%% XBLAS = %%BLAS%% XLIBS = -llevmar $(LAPACK) $(BLAS) -lm -lgfortran X XDEMOBJS=lmdemo.o XDEMOSRCS=lmdemo.c X Xall: lmdemo X Xlmdemo: $(DEMOBJS) X $(CC) $(LDFLAGS) $(DEMOBJS) -o lmdemo $(LIBS) X Xclean: X @rm -f $(DEMOBJS) X Xcleanall: clean X @rm -f lmdemo 30624edabc838891a1b43101d86d6ab4 echo x - levmar/pkg-descr sed 's/^X//' >levmar/pkg-descr << '84f674206f8f1dfc8b0abdce6cf9b68a' Xlevmar is a GPL-licensed library written in C, which implements Xthe Levenberg-Marquardt (LM) optimization algorithm. XThe LM algorithm is considered as one of the most effective Xmethod for solving nonlinear least squares problem. X XWWW: http://www.ics.forth.gr/~lourakis/levmar/ 84f674206f8f1dfc8b0abdce6cf9b68a echo x - levmar/Makefile sed 's/^X//' >levmar/Makefile << 'a4b77ab81a3577896226768670a13594' X# New ports collection makefile for: levmar X# Date created: 18 May 2010 X# Whom: Eijiro Shibusawa X# X# $FreeBSD$ X# X XPORTNAME= levmar XPORTVERSION= 2.5 XCATEGORIES= math XMASTER_SITES= http://www.ics.forth.gr/~lourakis/levmar/ XDISTNAME= ${PORTNAME}-${PORTVERSION} XEXTRACT_SUFX= .tgz X XMAINTAINER= ej-sib@ice.uec.ac.jp XCOMMENT= A GPL-licensed library implementing the Levenberg-Marquardt algorithm X X.include X XUSE_LDCONFIG= yes XUSE_FORTRAN= yes X XUSE_BLAS?= reference X X.if exists(${LOCALBASE}/lib/libatlas_r.so) XUSE_BLAS= atlas X.endif X X.if ${USE_BLAS} == reference XLIB_DEPENDS= blas.2:${PORTSDIR}/math/blas XLIB_DEPENDS+= lapack.4:${PORTSDIR}/math/lapack XBLAS= -lblas XLAPACK= -llapack X.elif ${USE_BLAS} == atlas XLIB_DEPENDS= atlas:${PORTSDIR}/math/atlas XBLAS= -lf77blas -lcblas -latlas XLAPACK= -lalapack X.endif X XWRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} XPORTDOCS= README.txt LICENSE XPORTEXAMPLES= lmdemo.c Makefile.demo XPLIST_FILES= include/levmar.h \ X lib/liblevmar.a \ X lib/liblevmar_p.a \ X lib/liblevmar.so \ X lib/liblevmar.so.2 X Xpost-extract: X @${MV} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.dist X @${CP} ${FILESDIR}/Makefile.lib ${WRKSRC}/Makefile X @${CP} ${FILESDIR}/Makefile.demo ${WRKSRC}/ X @${REINPLACE_CMD} -e 's+%%CC%%+${CC}+g' \ X -e 's+%%CFLAGS%%+${CFLAGS} -I${LOCALBASE}/include+g' \ X -e 's+%%LDFLAGS%%+${LDFLAGS} -L${LOCALBASE}/lib+g' \ X -e 's+%%BLAS%%+${BLAS}+g' \ X -e 's+%%LAPACK%%+${LAPACK}+g' \ X ${WRKSRC}/Makefile.demo X Xpost-install: X.if !defined(NOPORTDOCS) X ${MKDIR} ${DOCSDIR} X cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR} X.endif X.if !defined(NOPORTEXAMPLES) X ${MKDIR} ${EXAMPLESDIR} X cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTEXAMPLES} ${EXAMPLESDIR} X.endif X X.include a4b77ab81a3577896226768670a13594 exit >Release-Note: >Audit-Trail: >Unformatted: