Makefile 922 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. # $OpenBSD: Makefile,v 1.9 2015/03/16 18:07:50 naddy Exp $
  2. COMMENT = library for fast updates of QR and Cholesky decompositions
  3. DISTNAME = qrupdate-1.1.2
  4. SHARED_LIBS += qrupdate 0.0 # .1.1
  5. CATEGORIES = math
  6. REVISION = 0
  7. HOMEPAGE = http://qrupdate.sourceforge.net/
  8. MAINTAINER = Paul Irofti <pirofti@openbsd.org>
  9. # GPL v3
  10. PERMIT_PACKAGE_CDROM = Yes
  11. MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=qrupdate/}
  12. MODULES = fortran
  13. MODFORTRAN_COMPILER = g77
  14. WANTLIB = m ${MODFORTRAN_WANTLIB}
  15. BUILD_DEPENDS = ${MODFORTRAN_BUILD_DEPENDS}
  16. LIB_DEPENDS = ${MODFORTRAN_LIB_DEPENDS}
  17. ALL_TARGET = lib solib
  18. MAKE_FLAGS = FC="${FC}" FFLAGS="${FFLAGS}" \
  19. VERSION=${LIBqrupdate_VERSION} \
  20. MAJOR=${LIBqrupdate_VERSION:R} \
  21. BLAS= LAPACK=
  22. USE_GMAKE = Yes
  23. TEST_TARGET = test
  24. TEST_FLAGS = BLAS="-lblas" LAPACK="-llapack"
  25. SUBST_VARS = MAKE_PROGRAM
  26. pre-configure:
  27. ${SUBST_CMD} ${WRKSRC}/Makefile
  28. .include <bsd.port.mk>