openbsd-ports/lang/iverilog/Makefile
jasper 695182bcdf import iverilog 0.9.2
Icarus Verilog is a Verilog simulation and synthesis tool. It operates
as a compiler, compiling source code writen in Verilog (IEEE-1364) into
some target format. For batch simulation, the compiler can generate C++
code that is compiled and linked with a run time library (called "vvm")
then executed as a command to run the simulation. For synthesis, the
compiler generates netlists in the desired format.
2010-07-08 18:58:23 +00:00

41 lines
943 B
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2010/07/08 18:58:23 jasper Exp $
COMMENT= Verilog simulation and synthesis tool
V= 0.9.2
DISTNAME= verilog-$V
PKGNAME= iverilog-$V
CATEGORIES= lang devel
HOMEPAGE= http://www.icarus.com/eda/verilog/
# GPLv2+
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ftp://ftp.icarus.com/pub/eda/verilog/v0.9/
WANTLIB += c m readline stdc++ termcap z
USE_GMAKE= Yes
BUILD_DEPENDS= ::devel/bison
YACC= bison
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= ${CONFIGURE_SHARED} \
--disable-suffix
CFLAGS+= -fPIC
VVP_DOCS= README.txt opcodes.txt
DOC_DIR= ${PREFIX}/share/doc/iverilog
post-install:
${INSTALL_DATA_DIR} ${DOC_DIR}/{ivlpp,vvp}
${INSTALL_DATA} ${WRKSRC}/*.txt ${DOC_DIR}
${INSTALL_DATA} ${WRKSRC}/vvp/{README,opcodes}.txt ${DOC_DIR}/vvp/
${INSTALL_DATA} ${WRKSRC}/ivlpp/ivlpp.txt ${DOC_DIR}/ivlpp/
.include <bsd.port.mk>