Makefile 839 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. # $OpenBSD: Makefile,v 1.14 2017/04/10 11:46:22 sthen Exp $
  2. COMMENT= Verilog simulation and synthesis tool
  3. V= 10.1.1
  4. DISTNAME= verilog-$V
  5. PKGNAME= iverilog-$V
  6. CATEGORIES= lang devel
  7. HOMEPAGE= http://iverilog.icarus.com/
  8. # GPLv2+
  9. PERMIT_PACKAGE_CDROM= Yes
  10. MASTER_SITES= ftp://ftp.icarus.com/pub/eda/verilog/v10/
  11. WANTLIB += c m pthread readline ${LIBCXX} termcap z
  12. USE_GMAKE= Yes
  13. BUILD_DEPENDS= devel/bison
  14. YACC= bison
  15. CONFIGURE_STYLE= gnu
  16. CONFIGURE_ARGS+= --disable-suffix
  17. CFLAGS+= -fPIC
  18. VVP_DOCS= README.txt opcodes.txt
  19. DOC_DIR= ${PREFIX}/share/doc/iverilog
  20. post-install:
  21. ${INSTALL_DATA_DIR} ${DOC_DIR}/{ivlpp,vvp}
  22. ${INSTALL_DATA} ${WRKSRC}/*.txt ${DOC_DIR}
  23. ${INSTALL_DATA} ${WRKSRC}/vvp/{README,opcodes}.txt ${DOC_DIR}/vvp/
  24. ${INSTALL_DATA} ${WRKSRC}/ivlpp/ivlpp.txt ${DOC_DIR}/ivlpp/
  25. .include <bsd.port.mk>