[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.6, Sat Oct 8 08:11:56 2011 UTC (8 years ago) by obache
Branch: MAIN
CVS Tags: pkgsrc-2012Q3-base, pkgsrc-2012Q3, pkgsrc-2012Q2-base, pkgsrc-2012Q2, pkgsrc-2012Q1-base, pkgsrc-2012Q1, pkgsrc-2011Q4-base, pkgsrc-2011Q4
Changes since 1.5: +2 -2 lines

Update mimetex to 1.72.

some commands are supported additionally.

# $NetBSD: Makefile,v 1.6 2011/10/08 08:11:56 obache Exp $
#

DISTNAME=	mimetex
PKGNAME=	${DISTNAME}-1.72
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"