source: trunk/dports/science/ifeffit/Portfile

Last change on this file was 148775, checked in by dstrubbe@…, 16 months ago

ifeffit: Fix homepage (URL was broken).

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.0 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 148775 2016-05-17 20:27:36Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           github 1.0
6PortGroup           compilers 1.0
7
8github.setup        newville ifeffit 1.2.13
9revision            5
10categories          science
11platforms           darwin
12license             Permissive
13maintainers         nist.gov:joe.fowler openmaintainer
14
15description         IFEFFIT is a program and programming library for analyzing x-ray absorption fine-structure (XAFS) data.
16
17long_description    ${description} \
18                    As its name may suggest, IFEFFIT1 gives an interactive method for fitting XAFS data using calculations \
19                    from FEFF, and is based on the fitting program FEFFIT of the UWXAFS3.0 Analysis Package.
20
21homepage            http://cars.uchicago.edu/ifeffit
22
23checksums           rmd160  7b09aa5722a4aa638364c35e15d64b857cdb822b \
24                    sha256  79fa938643a1417c5b01be4b6196bd0ea6bf40685448ba98546c7989b0f48a48
25
26depends_lib         port:pgplot \
27                    port:libpng \
28                    port:ncurses \
29                    port:xorg-libX11
30
31# the ifeffit script to determine pgplot's linking options is broken
32# so we have to supply them explicitly
33
34configure.args      --with-pgplot \
35                    --with-pgplot-link="-L${prefix}/lib -lpgplot -lpng -lX11"
36
37compilers.choose    f77
38compilers.setup     require_fortran
39compilers.enforce_fortran pgplot
40
41# IMPORTANT BUILD NOTES
42#
43# p5-ifeffit is configured using a Makefile.PL that is generated when ifeffit is built.
44# since the paths to the compiler libraries contain compiler version information,
45# if the compiler version changes then both ifeffit and p5-ifeffit need to be rebuilt
46# so that the Makefile.PL in use contains the correct paths.
47#
48# if in doubt rebuild everything
49
50pre-configure {
51    configure.args-append --with-fortran=${configure.f77}
52}
53
54# this is the final release of ifeffit
55livecheck.type none
Note: See TracBrowser for help on using the repository browser.