Makefile 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. # $OpenBSD: Makefile,v 1.26 2017/05/08 17:25:41 schwarze Exp $
  2. # Memory hog, stuck for days on the same file during build.
  3. NOT_FOR_ARCHS= sh
  4. COMMENT= interpreted language for scientific computing
  5. VERSION= 2.1.06
  6. DISTNAME= yorick-${VERSION}
  7. REVISION = 2
  8. CATEGORIES= math devel
  9. HOMEPAGE= http://yorick.sourceforge.net/
  10. MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=yorick/}
  11. EXTRACT_SUFX= .tgz
  12. MAINTAINER= Peter Valchev <pvalchev@sightly.net>
  13. # BSD
  14. PERMIT_PACKAGE_CDROM= Yes
  15. WANTLIB= X11 c m
  16. Y_SITE= ${PREFIX}/share/yorick
  17. CONFIGURE_STYLE= simple
  18. MAKE_FLAGS= Y_SITE="${Y_SITE}"
  19. WRKDIST= ${WRKDIR}/yorick-${VERSION:R}
  20. # Some tests require X started (or DISPLAY, etc set).
  21. TEST_IS_INTERACTIVE= Yes
  22. SETENV=env
  23. TEST_TARGET= check
  24. do-install:
  25. ${INSTALL_PROGRAM} ${WRKSRC}/yorick/yorick ${PREFIX}/bin
  26. ${INSTALL_PROGRAM} ${WRKSRC}/gist/gist ${PREFIX}/bin
  27. @find ${WRKSRC} -name \*.h -exec \
  28. ${INSTALL_DATA} {} ${PREFIX}/include \;
  29. ${INSTALL_DATA} ${WRKSRC}/i0/* ${PREFIX}/include
  30. ${INSTALL_DATA} ${WRKSRC}/yorick/libyor.a ${PREFIX}/lib
  31. ${INSTALL_MAN} ${WRKSRC}/doc/yorick.1 ${PREFIX}/man/man1
  32. ${INSTALL_MAN} ${WRKSRC}/doc/gist.1 ${PREFIX}/man/man1
  33. ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/yorick
  34. ${INSTALL_DATA} ${WRKSRC}/doc/*.{doc,tex,pdf} ${PREFIX}/share/doc/yorick
  35. ${INSTALL_DATA} ${WRKSRC}/g/*.ps ${PREFIX}/share/doc/yorick
  36. ${INSTALL_DATA_DIR} ${Y_SITE}
  37. ${INSTALL_DATA_DIR} ${Y_SITE}/g
  38. ${INSTALL_DATA_DIR} ${Y_SITE}/i
  39. ${INSTALL_DATA_DIR} ${Y_SITE}/i0
  40. ${INSTALL_DATA} ${WRKSRC}/g/* ${Y_SITE}/g
  41. ${INSTALL_DATA} ${WRKSRC}/i/* ${Y_SITE}/i
  42. ${INSTALL_DATA} ${WRKSRC}/i0/* ${Y_SITE}/i0
  43. .include <bsd.port.mk>