Makefile 962 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. # $OpenBSD: Makefile,v 1.8 2016/03/11 20:28:21 naddy Exp $
  2. BROKEN-hppa= ICE on prj.c:4381
  3. COMMENT = implementation of the FITS WCS standard
  4. CATEGORIES = astro devel
  5. DISTNAME = wcslib-4.17
  6. HOMEPAGE = http://www.atnf.csiro.au/people/mcalabre/WCS/wcslib/
  7. REVISION = 2
  8. SHARED_LIBS = wcs 0.0
  9. # LGPLv3+
  10. PERMIT_PACKAGE_CDROM = Yes
  11. WANTLIB = c cfitsio m
  12. MASTER_SITES = ftp://ftp.atnf.csiro.au/pub/software/wcslib/
  13. EXTRACT_SUFX = .tar.bz2
  14. MODULES = gcc4
  15. MODGCC4_ARCHS = *
  16. MODGCC4_LANGS = fortran
  17. LIB_DEPENDS = math/cfitsio
  18. TEST_DEPENDS = lang/gcc/${MODGCC4_VERSION},-f95
  19. USE_GMAKE = Yes
  20. CONFIGURE_STYLE = autoconf
  21. CONFIGURE_ENV = LIBwcs_VERSION=${LIBwcs_VERSION}
  22. CONFIGURE_ARGS = --docdir=${PREFIX}/share/doc/wcslib \
  23. --with-x
  24. # non-free licensed dependency
  25. CONFIGURE_ARGS += --without-pgplot
  26. AUTOCONF_VERSION = 2.61
  27. MAKE_FILE = GNUmakefile
  28. SUBST_VARS = DISTNAME
  29. # source files are 0444
  30. post-extract:
  31. chmod u+w ${WRKSRC}/*
  32. .include <bsd.port.mk>