2010-03-24 20:43:21 +01:00
|
|
|
# $NetBSD: Makefile,v 1.28 2010/03/24 19:43:23 asau Exp $
|
2000-11-25 22:34:05 +01:00
|
|
|
|
Update to 2.2, and switch to using guile-1.6.
Changes:
libctl 2.2 (9/12/2002)
* Added simple trapezoidal-rule adaptive numeric integration routine.
* Numerical derivative routines now allow numerical differentation
of vector-valued function. Added deriv2 convenience routine.
* Added find-root-deriv functions for faster root-finding of
functions for which the derivative is also available.
* Added missing (cvector3 ...) constructor, and fixed corresponding
constructor for cvector3 object properties; thanks to Doug Allan for
the bug report.
* Added generic 'memoize' function.
* libctl programs now print out command-line parameters when they run.
* Fixed incomplete support for generic SCM type.
* Fixed to work with Guile 1.5+ (thanks to Mike Watts for the bug report).
libctl 2.1 (3/21/2002)
* Bug fix: complex-number input variables were read as garbage
if they had imaginary parts; does not affect complex-number outputs.
* Added generic SCM type for i/o variables and parameters, as a
catch-all for other Scheme objects.
* main.c now has ctl_export_hook (enabled by defining
CTL_HAVE_EXPORT_HOOK) with which to define additional Guile symbols.
* gen-ctl-io: converts "!" in symbols to "B" in C identifiers.
libctl 2.0 (3/10/2002)
* New set-param! function, analogous to define-param, that allows
you to change the value of a parameter in a way that can still be
overridden from the command line.
* In libgeom, allow user to specify the resolution instead of the
grid-size. New no-size support in lattice class to reduce
dimensionality, and new (get-grid-size) function.
* Support for Scheme complex numbers, along with a few new associated
functions: conj, vector3-cdot, matrix3x3-adjoint.
* New functions to compute numerical derivatives using Ridder's
method of polynomial extrapolation.
* Documented object-property-value; thanks to Theis Peter Hansen for
the suggestion.
* Get rid of unneeded make-default, and use consistent syntax for
define-property and define-post-processed-property, compared to
define-input-var. NOT BACKWARD COMPATIBLE (for developers; users
are not affected). Thanks to Theis Peter Hansen for the suggestion.
* Call ctl_stop_hook even with --help, --version, etcetera; this
makes the behavior nicer e.g. with MPI.
libctl 1.5 (11/15/2001)
* geometry-lattice now has a separate basis-size property, so that you
can specify the basis vectors as being something other than unit vectors.
* More functions are tail-recursive, helping to prevent stack overflows;
thanks to Robert Sheldon for the bug report.
* New fold-left and fold-right functions, documented in the manual.
* The configure script now checks that guile is in the $PATH. Thanks to
Bing Li and Giridhar Malalahalli for their bug reports.
2003-01-10 13:02:53 +01:00
|
|
|
DISTNAME= libctl-2.2
|
2010-03-24 20:43:21 +01:00
|
|
|
PKGREVISION= 7
|
2000-11-25 22:34:05 +01:00
|
|
|
CATEGORIES= devel
|
2001-07-17 16:35:32 +02:00
|
|
|
MASTER_SITES= http://ab-initio.mit.edu/libctl/
|
2000-11-25 22:34:05 +01:00
|
|
|
|
2006-03-04 22:28:51 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2000-11-25 22:34:05 +01:00
|
|
|
HOMEPAGE= http://ab-initio.mit.edu/libctl/
|
2001-02-16 15:38:16 +01:00
|
|
|
COMMENT= Guile-based flexible control file library for scientific simulations
|
2000-11-25 22:34:05 +01:00
|
|
|
|
2009-07-08 18:27:31 +02:00
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
|
2009-06-30 02:07:09 +02:00
|
|
|
MAKE_JOBS_SAFE= no
|
|
|
|
|
2001-07-15 15:00:31 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2000-11-25 22:34:05 +01:00
|
|
|
|
2009-07-08 18:27:31 +02:00
|
|
|
INSTALLATION_DIRS= share/doc/libctl
|
|
|
|
INSTALL_MAKE_FLAGS+= prefix=${DESTDIR}${PREFIX} \
|
|
|
|
mandir=${DESTDIR}${PREFIX}/${PKGMANDIR}
|
|
|
|
|
2000-11-25 22:34:05 +01:00
|
|
|
post-install:
|
2009-07-08 18:27:31 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/* ${DESTDIR}${PREFIX}/share/doc/libctl/
|
2001-04-29 01:59:17 +02:00
|
|
|
cd ${WRKSRC} && ${INSTALL_DATA} COPYING COPYRIGHT ChangeLog \
|
2009-07-08 18:27:31 +02:00
|
|
|
NEWS README ${DESTDIR}${PREFIX}/share/doc/libctl/
|
2000-11-25 22:34:05 +01:00
|
|
|
|
2004-04-27 05:09:57 +02:00
|
|
|
.include "../../lang/guile/buildlink3.mk"
|
2000-11-25 22:34:05 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|