pkgsrc/www/mimetex/Makefile
obache 91f06dfa52 Update mimetex to 1.71 (18 November 2009).
security fix for CVE-2009-1382 and CVE-2009-2459.
While here, set LICENSE=gnu-gpl-v3.

It is hard to explain detailed changes with plain text, please refer following:
  http://www.forkosh.com/mimetexchangelog.html
2010-03-29 04:56:48 +00:00

32 lines
720 B
Makefile

# $NetBSD: Makefile,v 1.5 2010/03/29 04:56:48 obache Exp $
#
DISTNAME= mimetex
PKGNAME= ${DISTNAME}-1.71
CATEGORIES= www math graphics
MASTER_SITES= http://www.forkosh.com/
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
LICENSE= gnu-gpl-v3
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"