Makefile 858 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. # $OpenBSD: Makefile,v 1.8 2017/04/05 10:02:06 juanfra Exp $
  2. COMMENT = BASIC converter to C translator for Unix system
  3. DISTNAME = bacon-3.5.3
  4. CATEGORIES = lang
  5. HOMEPAGE = http://www.basic-converter.org/
  6. MAINTAINER = Juan Francisco Cantero Hurtado <juanfra@openbsd.org>
  7. # MIT
  8. PERMIT_PACKAGE_CDROM = Yes
  9. WANTLIB = c m
  10. MASTER_SITES = http://www.basic-converter.org/stable/ \
  11. http://www.basic-converter.org/museum/
  12. BUILD_DEPENDS = shells/bash
  13. RUN_DEPENDS = shells/bash
  14. CONFIGURE_STYLE = gnu
  15. # Disable the bacongui. It doesn't works on OpenBSD.
  16. CONFIGURE_ARGS = --with-bash \
  17. --disable-gui
  18. NO_TEST = Yes
  19. # Use this step as a test for the compiler.
  20. post-build:
  21. cd ${WRKBUILD} && \
  22. ./build/bacon -y -a -c cc -r ranlib -d build bacon.bac
  23. # The man page is broken.
  24. post-install:
  25. rm "${PREFIX}/man/man1/bacon.1"
  26. .include <bsd.port.mk>