Makefile 847 B

1234567891011121314151617181920212223242526272829303132333435
  1. # $OpenBSD: Makefile,v 1.14 2015/02/16 22:57:10 naddy Exp $
  2. COMMENT= number theory-oriented computer algebra system
  3. DISTNAME= pari-2.1.7
  4. EXTRACT_SUFX= .tgz
  5. CATEGORIES= math
  6. HOMEPAGE= http://pari.math.u-bordeaux.fr/
  7. # GPLv2
  8. PERMIT_PACKAGE_CDROM= Yes
  9. WANTLIB= X11 c m ncurses readline
  10. MASTER_SITES= http://pari.math.u-bordeaux.fr/pub/pari/unix/OLD/2.1/
  11. BUILD_DEPENDS= print/texlive/base
  12. CONFIGURE_SCRIPT= Configure
  13. CONFIGURE_STYLE= simple
  14. CONFIGURE_ENV= CFLAGS="${CFLAGS}"
  15. CONFIGURE_ARGS+= --datadir=${PREFIX}/share/pari \
  16. --miscdir=${PREFIX}/share/pari \
  17. --prefix=${PREFIX} \
  18. --host=${ARCH}
  19. TEST_TARGET= dobench
  20. post-install:
  21. mv ${PREFIX}/share/pari/doc ${PREFIX}/share/doc/pari
  22. mv ${PREFIX}/share/pari/[A-Z]* ${PREFIX}/share/doc/pari
  23. mv ${PREFIX}/share/pari/examples ${PREFIX}/share/examples/pari
  24. .include <bsd.port.mk>