| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: Makefile,v 1.40 2014/10/09 14:06:02 wiz Exp $ | | 1 | # $NetBSD: Makefile,v 1.41 2016/06/01 13:30:40 joerg Exp $ |
2 | # | | 2 | # |
3 | | | 3 | |
4 | DISTNAME= verilog-0.9.7 | | 4 | DISTNAME= verilog-0.9.7 |
5 | CATEGORIES= cad | | 5 | CATEGORIES= cad |
6 | MASTER_SITES= ftp://icarus.com/pub/eda/verilog/v0.9/ | | 6 | MASTER_SITES= ftp://icarus.com/pub/eda/verilog/v0.9/ |
7 | | | 7 | |
8 | MAINTAINER= dmcmahill@NetBSD.org | | 8 | MAINTAINER= dmcmahill@NetBSD.org |
9 | HOMEPAGE= http://iverilog.icarus.com/ | | 9 | HOMEPAGE= http://iverilog.icarus.com/ |
10 | COMMENT= Verilog simulation and synthesis tool (stable release version) | | 10 | COMMENT= Verilog simulation and synthesis tool (stable release version) |
11 | LICENSE= gnu-gpl-v2 | | 11 | LICENSE= gnu-gpl-v2 |
12 | | | 12 | |
13 | CONFLICTS+= verilog-current-[0-9]* | | 13 | CONFLICTS+= verilog-current-[0-9]* |
14 | | | 14 | |
| @@ -35,26 +35,29 @@ SUBST_SED.destdir= '-e s, $$(libdir)/ivl | | | @@ -35,26 +35,29 @@ SUBST_SED.destdir= '-e s, $$(libdir)/ivl |
35 | SUBST_SED.destdir+= '-e s, $$(libdir)/ivl, $$(DESTDIR)$$(libdir)/ivl,g' | | 35 | SUBST_SED.destdir+= '-e s, $$(libdir)/ivl, $$(DESTDIR)$$(libdir)/ivl,g' |
36 | # target: | | 36 | # target: |
37 | SUBST_SED.destdir+= '-e s,^$$(libdir)/ivl,$$(DESTDIR)$$(libdir)/ivl,' | | 37 | SUBST_SED.destdir+= '-e s,^$$(libdir)/ivl,$$(DESTDIR)$$(libdir)/ivl,' |
38 | | | 38 | |
39 | SUBST_CLASSES+= vpi-dest | | 39 | SUBST_CLASSES+= vpi-dest |
40 | SUBST_STAGE.vpi-dest= pre-configure | | 40 | SUBST_STAGE.vpi-dest= pre-configure |
41 | SUBST_FILES.vpi-dest= vpi/Makefile.in | | 41 | SUBST_FILES.vpi-dest= vpi/Makefile.in |
42 | SUBST_MESSAGE.vpi-dest= Fix DESTDIR in vpi/Makefile.in (watch target:) | | 42 | SUBST_MESSAGE.vpi-dest= Fix DESTDIR in vpi/Makefile.in (watch target:) |
43 | SUBST_SED.vpi-dest= '-e s, $$(vpidir)/, $$(DESTDIR)$$(vpidir)/,g' | | 43 | SUBST_SED.vpi-dest= '-e s, $$(vpidir)/, $$(DESTDIR)$$(vpidir)/,g' |
44 | # Leading TAB | | 44 | # Leading TAB |
45 | SUBST_SED.vpi-dest+= '-e s, $$(vpidir)/, $$(DESTDIR)$$(vpidir)/,g' | | 45 | SUBST_SED.vpi-dest+= '-e s, $$(vpidir)/, $$(DESTDIR)$$(vpidir)/,g' |
46 | SUBST_SED.vpi-dest+= '-e s,^$$(vpidir)/,$$(DESTDIR)$$(vpidir)/,g' | | 46 | SUBST_SED.vpi-dest+= '-e s,^$$(vpidir)/,$$(DESTDIR)$$(vpidir)/,g' |
47 | | | 47 | |
| | | 48 | pre-build: |
| | | 49 | cd ${WRKSRC} && ${BUILD_MAKE_CMD} dep |
| | | 50 | |
48 | # Some missing files not installed are handled by SUBST (above) | | 51 | # Some missing files not installed are handled by SUBST (above) |
49 | # and rest of them are by following target. | | 52 | # and rest of them are by following target. |
50 | post-install: | | 53 | post-install: |
51 | (cd ${WRKSRC}; ${INSTALL_DATA} \ | | 54 | (cd ${WRKSRC}; ${INSTALL_DATA} \ |
52 | QUICK_START.txt \ | | 55 | QUICK_START.txt \ |
53 | README.txt \ | | 56 | README.txt \ |
54 | ${DESTDIR}${PREFIX}/share/ivl ) | | 57 | ${DESTDIR}${PREFIX}/share/ivl ) |
55 | # include/iverilog | | 58 | # include/iverilog |
56 | (cd ${WRKSRC}; ${INSTALL_DATA} \ | | 59 | (cd ${WRKSRC}; ${INSTALL_DATA} \ |
57 | acc_user.h ivl_target.h veriuser.h vpi_user.h \ | | 60 | acc_user.h ivl_target.h veriuser.h vpi_user.h \ |
58 | ${DESTDIR}${PREFIX}/include/iverilog ) | | 61 | ${DESTDIR}${PREFIX}/include/iverilog ) |
59 | # lib/ivl/include | | 62 | # lib/ivl/include |
60 | (cd ${WRKSRC}; ${INSTALL_DATA} \ | | 63 | (cd ${WRKSRC}; ${INSTALL_DATA} \ |