Makefile 575 B

123456789101112131415161718192021222324252627282930
  1. # $OpenBSD: Makefile,v 1.9 2017/04/10 11:46:22 sthen Exp $
  2. COMMENT= very fast free Verilog HDL simulator
  3. DISTNAME = verilator-3.900
  4. CATEGORIES= lang devel
  5. HOMEPAGE= http://www.veripool.org/wiki/verilator/Intro
  6. # LGPLv3 or Perl
  7. PERMIT_PACKAGE_CDROM= Yes
  8. MASTER_SITES= http://www.veripool.org/ftp/
  9. EXTRACT_SUFX= .tgz
  10. WANTLIB= c m ${LIBCXX}
  11. BUILD_DEPENDS += devel/bison
  12. CONFIGURE_STYLE= gnu
  13. MAKE_FLAGS= VERILATOR_ROOT=${PREFIX}/share/verilator/ \
  14. COPT="${CFLAGS}"
  15. USE_GMAKE= Yes
  16. TEST_TARGET= test
  17. TEST_FLAGS= VERILATOR_ROOT=${WRKSRC}
  18. .include <bsd.port.mk>