diff options
author | minskim <minskim@pkgsrc.org> | 2010-09-29 21:57:04 +0000 |
---|---|---|
committer | minskim <minskim@pkgsrc.org> | 2010-09-29 21:57:04 +0000 |
commit | b55428ec6acd4a150c65b6b72e3f33ad53869e39 (patch) | |
tree | dc9423d5e88b1b7350158b7b69aed5630edc6ef0 /cad/fastcap/Makefile | |
parent | aecc559804e2e4d167fa3ae7a580bcd25003d63d (diff) | |
download | pkgsrc-b55428ec6acd4a150c65b6b72e3f33ad53869e39.tar.gz |
- Use \special syntax that dvipsk understands.
- Run TeX commands with absolute paths.
Diffstat (limited to 'cad/fastcap/Makefile')
-rw-r--r-- | cad/fastcap/Makefile | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/cad/fastcap/Makefile b/cad/fastcap/Makefile index f1cdd401977..f1708ca850e 100644 --- a/cad/fastcap/Makefile +++ b/cad/fastcap/Makefile @@ -1,9 +1,9 @@ -# $NetBSD: Makefile,v 1.33 2009/02/25 17:03:03 minskim Exp $ +# $NetBSD: Makefile,v 1.34 2010/09/29 21:57:04 minskim Exp $ # DISTNAME= fastcap-2.0-18Sep92 PKGNAME= fastcap-2.0.19920918 -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= cad MASTER_SITES= http://www.rle.mit.edu/cpg/codes/ EXTRACT_SUFX= .tgz @@ -12,7 +12,10 @@ MAINTAINER= dmcmahill@NetBSD.org HOMEPAGE= http://www.rle.mit.edu/cpg/research_codes.htm COMMENT= Fast 3-D capacitance solver -BUILD_DEPENDS+= dvipsk-[0-9]*:../../print/dvipsk +BUILD_DEPENDS+= dvipsk>=5.99:../../print/dvipsk +BUILD_DEPENDS+= tex-amsfonts>=3.0:../../fonts/tex-amsfonts +BUILD_DEPENDS+= tex-bibtex>=0.99c:../../print/tex-bibtex +BUILD_DEPENDS+= tex-latex-bin>=2009nb1:../../print/tex-latex-bin PKG_DESTDIR_SUPPORT= user-destdir @@ -22,8 +25,8 @@ WRKSRC= ${WRKDIR} HAS_CONFIGURE= yes CONFIGURE_SCRIPT= ./config CONFIGURE_ARGS+= 4 -TEX_DEPMETHOD= build -TEX_ACCEPTED= teTeX3 +MAKE_ENV+= BIBTEX=${LOCALBASE}/bin/bibtex \ + LATEX=${LOCALBASE}/bin/latex .if ${MACHINE_ARCH} == "arm" || ${MACHINE_ARCH} == "arm32" GCC_REQD+= 2.95.3 @@ -37,7 +40,7 @@ post-patch: post-build: cd ${WRKSRC}/doc && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} manual .for file in mtt tcad ug - cd ${WRKSRC}/doc && dvips -o ${file}.ps ${file}.dvi + cd ${WRKSRC}/doc && ${LOCALBASE}/bin/dvips -R0 -o ${file}.ps ${file}.dvi .endfor do-install: @@ -88,5 +91,4 @@ do-install: ${INSTALL_DATA} ${WRKSRC}/doc/ug.ps ${DESTDIR}${PREFIX}/share/doc/fastcap ${INSTALL_DATA} ${WRKSRC}/README.docs ${DESTDIR}${PREFIX}/share/doc/fastcap -.include "../../mk/tex.buildlink3.mk" .include "../../mk/bsd.pkg.mk" |