pkgsrc/www/mimetex/Makefile

32 lines
718 B
Makefile
Raw Normal View History

# $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}
2007-12-17 11:33:56 +01:00
PKG_DESTDIR_SUPPORT= user-destdir
2007-06-12 23:04:56 +02:00
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:
2007-12-17 11:33:56 +01:00
${INSTALL_PROGRAM} ${WRKSRC:Q}/mimetex.cgi ${DESTDIR}${PREFIX}/libexec/cgi-bin
.include "../../mk/bsd.pkg.mk"