PageRenderTime 37ms CodeModel.GetById 12ms RepoModel.GetById 0ms app.codeStats 0ms

/print/texvc/Makefile

https://github.com/johnnywalker/freebsd-ports
Makefile | 39 lines | 24 code | 9 blank | 6 comment | 0 complexity | 7e82bcd1487a4363f0044e6186224108 MD5 | raw file
  1. # New ports collection makefile for: texvc
  2. # Date created: 2008-06-14
  3. # Whom: Max Brazhnikov <makc@issp.ac.ru>
  4. #
  5. # $FreeBSD$
  6. #
  7. PORTNAME= texvc
  8. PORTVERSION= 20050202
  9. PORTREVISION= 2
  10. CATEGORIES= print
  11. MASTER_SITES= SF/wikipedia/Support%20files/${PORTNAME}%20Linux-x86%20source%20%2B%20binary
  12. DISTNAME= ${PORTNAME}-linux-x86-${PORTVERSION}
  13. MAINTAINER= makc@FreeBSD.org
  14. COMMENT= Convert latex equations to HTML, MathML, PNG
  15. USE_OCAML= yes
  16. NO_OCAML_RUNDEPENDS= yes
  17. USE_GMAKE= yes
  18. BUILD_WRKSRC= ${WRKSRC}/src
  19. PLIST_FILES= bin/texvc
  20. OPTIONS= RASTER "rasterization support" on
  21. .include <bsd.port.pre.mk>
  22. .if !defined(WITHOUT_RASTER)
  23. USE_GHOSTSCRIPT_RUN= yes
  24. RUN_DEPENDS+= latex:${PORTSDIR}/print/teTeX-base \
  25. dvips:${PORTSDIR}/print/dvipsk-tetex \
  26. convert:${PORTSDIR}/graphics/ImageMagick
  27. .endif
  28. do-install:
  29. ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/texvc ${PREFIX}/bin
  30. .include <bsd.port.post.mk>