[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.2, Tue Jun 12 21:04:56 2007 UTC (12 years, 2 months ago) by joerg
Branch: MAIN
CVS Tags: pkgsrc-2007Q3-base, pkgsrc-2007Q3, pkgsrc-2007Q2-base, pkgsrc-2007Q2
Changes since 1.1: +3 -1 lines

Precreate directory.

# $NetBSD: Makefile,v 1.2 2007/06/12 21:04:56 joerg Exp $
#

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

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 ${PREFIX}/libexec/cgi-bin

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