FreeBSD Bugzilla – Attachment 106127 Details for
Bug 146683
[NEW PORT] math/levmar: A GPL-licensed library implementing the Levenberg-Marquardt algorithm
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
levmar_new.sh
levmar_new.sh (text/plain), 4.05 KB, created by
Eijiro Shibusawa
on 2010-07-31 23:24:04 UTC
(
hide
)
Description:
levmar_new.sh
Filename:
MIME Type:
Creator:
Eijiro Shibusawa
Created:
2010-07-31 23:24:04 UTC
Size:
4.05 KB
patch
obsolete
># 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= 5 >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 <bsd.lib.mk> >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 <ej-sib@ice.uec.ac.jp> >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= phd_kimberlite@yahoo.co.jp >XCOMMENT= A GPL-licensed library implementing the Levenberg-Marquardt algorithm >X >XLICENSE= GPLv2 >X >X.include <bsd.port.pre.mk> >X >XUSE_LDCONFIG= yes >XUSE_FORTRAN= yes >X >XUSE_BLAS?= reference >X >X.if exists(${LOCALBASE}/lib/libatlas.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}/${DISTNAME} >XPORTDOCS= README.txt >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 <bsd.port.post.mk> >a4b77ab81a3577896226768670a13594 >exit
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 146683
:
106126
| 106127