| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: Makefile,v 1.25 2014/02/22 09:19:24 obache Exp $ | | 1 | # $NetBSD: Makefile,v 1.26 2014/02/22 09:20:30 obache Exp $ |
2 | # | | 2 | # |
3 | | | 3 | |
4 | DISTNAME= tnt-1.2.2 | | 4 | DISTNAME= tnt-1.2.2 |
5 | PKGNAME= ${DISTNAME:S/tnt/tnt-mmtl/} | | 5 | PKGNAME= ${DISTNAME:S/tnt/tnt-mmtl/} |
6 | PKGREVISION= 11 | | 6 | PKGREVISION= 11 |
7 | CATEGORIES= cad | | 7 | CATEGORIES= cad |
8 | MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mmtl/} | | 8 | MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mmtl/} |
9 | | | 9 | |
10 | MAINTAINER= dmcmahill@NetBSD.org | | 10 | MAINTAINER= dmcmahill@NetBSD.org |
11 | HOMEPAGE= http://mmtl.sourceforge.net/ | | 11 | HOMEPAGE= http://mmtl.sourceforge.net/ |
12 | COMMENT= Multilayer Multiconductor Transmission Line 2-D and 2.5-D simulator | | 12 | COMMENT= Multilayer Multiconductor Transmission Line 2-D and 2.5-D simulator |
13 | | | 13 | |
14 | BUILD_DEPENDS+= latex2html-[0-9]*:../../textproc/latex2html | | 14 | BUILD_DEPENDS+= latex2html-[0-9]*:../../textproc/latex2html |
| @@ -29,17 +29,16 @@ USE_LANGUAGES= c c++ fortran77 | | | @@ -29,17 +29,16 @@ USE_LANGUAGES= c c++ fortran77 |
29 | # passing that down via an environment variable to f2c-f77 which | | 29 | # passing that down via an environment variable to f2c-f77 which |
30 | # in turn ends up feeding a .F file to gcc -E that fails due to | | 30 | # in turn ends up feeding a .F file to gcc -E that fails due to |
31 | # fortran not being a configured language. This is what happens on | | 31 | # fortran not being a configured language. This is what happens on |
32 | # a stock NetBSD-5.1 install. | | 32 | # a stock NetBSD-5.1 install. |
33 | CONFIGURE_ENV+= CPP=${CPP} | | 33 | CONFIGURE_ENV+= CPP=${CPP} |
34 | | | 34 | |
35 | post-patch: | | 35 | post-patch: |
36 | ${MV} ${WRKSRC}/tnt ${WRKSRC}/tnt-mmtl | | 36 | ${MV} ${WRKSRC}/tnt ${WRKSRC}/tnt-mmtl |
37 | cd ${WRKSRC}/bem && aclocal | | 37 | cd ${WRKSRC}/bem && aclocal |
38 | cd ${WRKSRC}/bem && automake --add-missing --copy --force-missing | | 38 | cd ${WRKSRC}/bem && automake --add-missing --copy --force-missing |
39 | cd ${WRKSRC}/bem && autoconf | | 39 | cd ${WRKSRC}/bem && autoconf |
40 | | | 40 | |
41 | .include "../../lang/tcl/buildlink3.mk" | | 41 | .include "../../lang/tcl/buildlink3.mk" |
42 | .include "../../lang/tcl-itcl/buildlink3.mk" | | | |
43 | .include "../../x11/tk/buildlink3.mk" | | 42 | .include "../../x11/tk/buildlink3.mk" |
44 | .include "../../x11/tk-BWidget/buildlink3.mk" | | 43 | .include "../../x11/tk-BWidget/buildlink3.mk" |
45 | .include "../../mk/bsd.pkg.mk" | | 44 | .include "../../mk/bsd.pkg.mk" |