Fixup fromcvs/togit conversion
[pkgsrcv2.git] / cad / tnt-mmtl / Makefile
1 # $NetBSD: Makefile,v 1.19 2012/10/08 13:25:16 asau Exp $
2 #
3
4 DISTNAME=       tnt-1.2.2
5 PKGNAME=        ${DISTNAME:S/tnt/tnt-mmtl/}
6 PKGREVISION=    7
7 CATEGORIES=     cad
8 MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE:=mmtl/}
9
10 MAINTAINER=     dmcmahill@NetBSD.org
11 HOMEPAGE=       http://mmtl.sourceforge.net/
12 COMMENT=        Multilayer Multiconductor Transmission Line 2-D and 2.5-D simulator
13
14 BUILD_DEPENDS+= latex2html-[0-9]*:../../textproc/latex2html
15 BUILD_DEPENDS+= tex-amsmath-[0-9]*:../../print/tex-amsmath
16 BUILD_DEPENDS+= tex-fancyhdr-[0-9]*:../../print/tex-fancyhdr
17 BUILD_DEPENDS+= tex-graphics-[0-9]*:../../print/tex-graphics
18 BUILD_DEPENDS+= tex-hyperref-[0-9]*:../../print/tex-hyperref
19 BUILD_DEPENDS+= tex-latex-[0-9]*:../../print/tex-latex
20 BUILD_DEPENDS+= tex-latex-bin-[0-9]*:../../print/tex-latex-bin
21
22 PKG_INSTALLATION_TYPES= overwrite pkgviews
23
24 GNU_CONFIGURE=  YES
25 USE_TOOLS+=     aclocal autoconf automake gmake
26 USE_LANGUAGES=  c c++ fortran77
27
28 # without this, configure ends up using 'gcc -E' for CPP and
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
31 # fortran not being a configured language.  This is what happens on
32 # a stock NetBSD-5.1 install.
33 CONFIGURE_ENV+= CPP=${CPP}
34
35 post-patch:
36         ${MV} ${WRKSRC}/tnt ${WRKSRC}/tnt-mmtl
37         cd ${WRKSRC}/bem && aclocal
38         cd ${WRKSRC}/bem && automake
39         cd ${WRKSRC}/bem && autoconf
40
41 .include "../../lang/tcl/buildlink3.mk"
42 .include "../../lang/tcl-itcl/buildlink3.mk"
43 .include "../../x11/tk/buildlink3.mk"
44 .include "../../x11/tk-BWidget/buildlink3.mk"
45 .include "../../mk/bsd.pkg.mk"