| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: Makefile,v 1.41 2016/06/01 13:30:40 joerg Exp $ | | 1 | # $NetBSD: Makefile,v 1.42 2016/07/24 23:43:12 rillig 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 | |
| @@ -20,40 +20,40 @@ TEST_TARGET= check | | | @@ -20,40 +20,40 @@ TEST_TARGET= check |
20 | | | 20 | |
21 | INSTALLATION_DIRS+= share/ivl | | 21 | INSTALLATION_DIRS+= share/ivl |
22 | | | 22 | |
23 | SUBST_CLASSES+= destdir | | 23 | SUBST_CLASSES+= destdir |
24 | SUBST_FILES.destdir= tgt-vhdl/Makefile.in \ | | 24 | SUBST_FILES.destdir= tgt-vhdl/Makefile.in \ |
25 | tgt-fpga/Makefile.in \ | | 25 | tgt-fpga/Makefile.in \ |
26 | tgt-null/Makefile.in \ | | 26 | tgt-null/Makefile.in \ |
27 | tgt-pal/Makefile.in \ | | 27 | tgt-pal/Makefile.in \ |
28 | tgt-stub/Makefile.in \ | | 28 | tgt-stub/Makefile.in \ |
29 | tgt-verilog/Makefile.in \ | | 29 | tgt-verilog/Makefile.in \ |
30 | tgt-vvp/Makefile.in | | 30 | tgt-vvp/Makefile.in |
31 | SUBST_MESSAGE.destdir= Fix DESTDIR in various Makefile.in | | 31 | SUBST_MESSAGE.destdir= Fix DESTDIR in various Makefile.in |
32 | SUBST_STAGE.destdir= pre-configure | | 32 | SUBST_STAGE.destdir= pre-configure |
33 | SUBST_SED.destdir= '-e s, $$(libdir)/ivl, $$(DESTDIR)$$(libdir)/ivl,g' | | 33 | SUBST_SED.destdir= -e 's, $$(libdir)/ivl, $$(DESTDIR)$$(libdir)/ivl,g' |
34 | # Leading TAB | | 34 | # Leading TAB |
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: | | 48 | pre-build: |
49 | cd ${WRKSRC} && ${BUILD_MAKE_CMD} dep | | 49 | cd ${WRKSRC} && ${BUILD_MAKE_CMD} dep |
50 | | | 50 | |
51 | # Some missing files not installed are handled by SUBST (above) | | 51 | # Some missing files not installed are handled by SUBST (above) |
52 | # and rest of them are by following target. | | 52 | # and rest of them are by following target. |
53 | post-install: | | 53 | post-install: |
54 | (cd ${WRKSRC}; ${INSTALL_DATA} \ | | 54 | (cd ${WRKSRC}; ${INSTALL_DATA} \ |
55 | QUICK_START.txt \ | | 55 | QUICK_START.txt \ |
56 | README.txt \ | | 56 | README.txt \ |
57 | ${DESTDIR}${PREFIX}/share/ivl ) | | 57 | ${DESTDIR}${PREFIX}/share/ivl ) |
58 | # include/iverilog | | 58 | # include/iverilog |
59 | (cd ${WRKSRC}; ${INSTALL_DATA} \ | | 59 | (cd ${WRKSRC}; ${INSTALL_DATA} \ |