Makefile 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. # $OpenBSD: Makefile,v 1.8 2015/11/02 11:56:55 espie Exp $
  2. COMMENT= prover9/mace4 GUI
  3. DISTNAME= p9m4-v05
  4. PKGNAME= ${DISTNAME:S/v//}
  5. REVISION = 2
  6. MASTER_SITES= ${HOMEPAGE}/gui/
  7. CONFIGURE_STYLE= # empty
  8. PKG_ARCH= *
  9. NO_BUILD= Yes
  10. NO_TEST= Yes
  11. MODPY_ADJ_FILES= control.py files.py my_setup.py options.py \
  12. partition_input.py platforms.py prover9-mace4.py \
  13. utilities.py wx_utilities.py
  14. RUN_DEPENDS= devel/py-modulegraph \
  15. math/prover9/ladr \
  16. x11/py-wxPython
  17. LIBEXEC_DIR= ${PREFIX}/libexec/prover9/p9m4/
  18. IMAGES_DIR= ${PREFIX}/share/p9m4/Images/
  19. SAMPLES_DIR= ${PREFIX}/share/p9m4/Samples/
  20. # The tarball is a mess and not really designed for installation.
  21. post-extract:
  22. rm -r ${WRKSRC}/Samples/Kauer.in\~
  23. find ${WRKSRC} -type f -name \*~ -exec rm -f {} \;
  24. pre-configure:
  25. ${SUBST_CMD} ${WRKSRC}/files.py
  26. ${SUBST_CMD} -m 555 -c ${FILESDIR}/prover9-mace4.sh ${WRKSRC}/prover9-mace4
  27. do-install:
  28. ${INSTALL_SCRIPT} ${WRKSRC}/prover9-mace4 ${PREFIX}/bin/
  29. ${INSTALL_DATA_DIR} ${LIBEXEC_DIR} ${IMAGES_DIR} ${SAMPLES_DIR}
  30. ${INSTALL_DATA} ${WRKSRC}/Images/* ${IMAGES_DIR}
  31. cd ${WRKSRC}/Samples/ && umask 022 && \
  32. pax -rw . ${SAMPLES_DIR}
  33. .for m in ${MODPY_ADJ_FILES}
  34. ${INSTALL_SCRIPT} ${WRKSRC}/$m ${LIBEXEC_DIR}
  35. .endfor
  36. .include <bsd.port.mk>