2008-11-05 14:25:12 +01:00
|
|
|
# $NetBSD: Makefile,v 1.4 2008/11/05 13:25:12 obache Exp $
|
2007-05-27 04:58:40 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= mimetex
|
2008-11-05 14:25:12 +01:00
|
|
|
PKGNAME= ${DISTNAME}-1.70
|
2007-05-27 04:58:40 +02:00
|
|
|
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
|
|
|
|
|
2007-05-27 04:58:40 +02:00
|
|
|
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
|
2007-05-27 04:58:40 +02:00
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|