/ports/python/py-netcdf4/Portfile

http://netcdf4-python.googlecode.com/ · #! · 28 lines · 22 code · 6 blank · 0 comment · 0 complexity · c1c4d4c98a83c795ec2b876f02bda0af MD5 · raw file

  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$
  3. PortSystem 1.0
  4. PortGroup python 1.0
  5. name py-netcdf4
  6. version svnhead
  7. categories-append science
  8. platforms darwin
  9. maintainers openmaintainer
  10. description Python interface to the netCDF version 4 library.
  11. long_description ${description}
  12. homepage http://code.google.com/p/netcdf4-python/
  13. master_sites http://netcdf4-python.googlecode.com/files/
  14. license MIT
  15. distname trunk
  16. fetch.type svn
  17. svn.url http://netcdf4-python.googlecode.com/svn/${distname}
  18. depends_lib-append port:netcdf port:py${python.version}-numpy
  19. python.default_version 27
  20. python.versions 26 27
  21. build.env-append USE_NCCONFIG=1
  22. destroot.env USE_NCCONFIG=1