[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / www / mimetex

File: [cvs.NetBSD.org] / pkgsrc / www / mimetex / Makefile (download)

Revision 1.4, Wed Nov 5 13:25:12 2008 UTC (10 years, 8 months ago) by obache
Branch: MAIN
CVS Tags: pkgsrc-2009Q4-base, pkgsrc-2009Q4, pkgsrc-2009Q3-base, pkgsrc-2009Q3, pkgsrc-2009Q2-base, pkgsrc-2009Q2, pkgsrc-2009Q1-base, pkgsrc-2009Q1, pkgsrc-2008Q4-base, pkgsrc-2008Q4
Changes since 1.3: +2 -2 lines

Update mimetex to 0.70.

* 6 Sep 2008 -- An image like XXX doesn't look as good as the same image XXX
  that's vertically aligned with your surrounding text. Along with several
  standard HTTP header fields, mimeTeX now also emits a special
  Vertical-Align: -nn   header, where -nn is the number of pixels (usually
  negative as illustrated) needed for a   style="Vertical-Align: -nn px"
  attribute in the <img> tag used to render your expression.
  See the mimeTeX manual for further discussion.
* 5 Sep 2008 -- Users running mimeTeX as a Win32 DLL with Shital Shah's Code
  Project reported that color directives aren't reset, e.g., an expression
  containing \red is rendered red as directed, but all subsequent images are
  red, too.
  This has been fixed (along with several similar bugs nobody noticed).
  It never affected users running mimeTeX in the usual way, as a cgi.

# $NetBSD: Makefile,v 1.4 2008/11/05 13:25:12 obache Exp $
#

DISTNAME=	mimetex
PKGNAME=	${DISTNAME}-1.70
CATEGORIES=	www math graphics
MASTER_SITES=	${MASTER_SITE_TEX_CTAN:=support/mimetex/}
DIST_SUBDIR=	${PKGNAME_NOREV}
EXTRACT_SUFX=	.zip

MAINTAINER=	obache@NetBSD.org
HOMEPAGE=	http://www.forkosh.com/mimetex.html
COMMENT=	CGI to convert LaTeX math expression to GIF image

USE_LANGUAGES=	c

WRKSRC=		${WRKDIR}

PKG_DESTDIR_SUPPORT=	user-destdir

INSTALLATION_DIRS=	libexec/cgi-bin

do-build:
		cd ${WRKSRC:Q} && \
		env ${MAKE_ENV} ${CC} -DAA mimetex.c gifsave.c -lm \
			-o mimetex.cgi

do-install:
		${INSTALL_PROGRAM} ${WRKSRC:Q}/mimetex.cgi ${DESTDIR}${PREFIX}/libexec/cgi-bin

.include "../../mk/bsd.pkg.mk"