aboutsummaryrefslogtreecommitdiffstats
path: root/www/mimetex
diff options
context:
space:
mode:
authoritetcu <itetcu@FreeBSD.org>2006-07-14 04:19:43 +0800
committeritetcu <itetcu@FreeBSD.org>2006-07-14 04:19:43 +0800
commit412a7b769edd89aba18150761dff228706172982 (patch)
tree8e72cd77737b18025bceadb16bb34b41d387f350 /www/mimetex
parentc20912215cc0a909542c268c523e2165c65651c3 (diff)
downloadfreebsd-ports-gnome-412a7b769edd89aba18150761dff228706172982.tar.gz
freebsd-ports-gnome-412a7b769edd89aba18150761dff228706172982.tar.zst
freebsd-ports-gnome-412a7b769edd89aba18150761dff228706172982.zip
Update to 20060710.1.60
PR: ports/100200 Submitted by: maintainer
Diffstat (limited to 'www/mimetex')
-rw-r--r--www/mimetex/Makefile14
-rw-r--r--www/mimetex/distinfo6
-rw-r--r--www/mimetex/pkg-descr2
3 files changed, 15 insertions, 7 deletions
diff --git a/www/mimetex/Makefile b/www/mimetex/Makefile
index 0df71baaaa91..b019a6b35606 100644
--- a/www/mimetex/Makefile
+++ b/www/mimetex/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= mimetex
-PORTVERSION= 1.60
-PORTREVISION= 1
+PORTVERSION= 20060710.1.60
CATEGORIES= www math
MASTER_SITES= http://www.forkosh.com/ \
http://nivi.interfree.it/distfiles/${DIST_SUBDIR}/
@@ -32,10 +31,19 @@ WWW_DIR= ${PREFIX}/www/data/mimetex/
.if defined(WITH_STATIC)
STATIC_MIMETEX= -static
.endif
+# anti-aliasing no/yes
+.if defined(WITHOUT_ANTIALIASING)
+IMAGES_TYPE= -DGIF
+.else
+IMAGES_TYPE= -DAA
+.endif
+# other options (see mimetex.c)
+# example: make install USER_OPTIONS='-DCACHEPATH=\"/tmp\" -DDISPLAYSIZE=10'
+USER_OPTIONS?=
do-build:
cd ${WRKDIR};\
- ${CC} ${CFLAGS} ${STATIC_MIMETEX} -DAA mimetex.c gifsave.c -lm -o ${CGI_PRG}
+ ${CC} ${CFLAGS} ${STATIC_MIMETEX} ${IMAGES_TYPE} ${USER_OPTIONS} mimetex.c gifsave.c -lm -o ${CGI_PRG}
do-install:
${MKDIR} ${CGI_BIN}
diff --git a/www/mimetex/distinfo b/www/mimetex/distinfo
index 6a04168d7378..847d1ed26d5e 100644
--- a/www/mimetex/distinfo
+++ b/www/mimetex/distinfo
@@ -1,3 +1,3 @@
-MD5 (mimetex/1.60/mimetex.zip) = 8182dc0ec2401c31eba5f723afa3e8e5
-SHA256 (mimetex/1.60/mimetex.zip) = 07a5b30b7523e21c3cca2fb83965fbf927d8fb970804e67b453b5e27a4ea7679
-SIZE (mimetex/1.60/mimetex.zip) = 643802
+MD5 (mimetex/20060710.1.60/mimetex.zip) = 8bccc01d9bcefb9001e85d45b104b268
+SHA256 (mimetex/20060710.1.60/mimetex.zip) = 430c5f437c546fa34ace60daf2f99343bfcf1b7d6612a1b93da721261dce756a
+SIZE (mimetex/20060710.1.60/mimetex.zip) = 648781
diff --git a/www/mimetex/pkg-descr b/www/mimetex/pkg-descr
index 87a46d2940a1..1a46254984b9 100644
--- a/www/mimetex/pkg-descr
+++ b/www/mimetex/pkg-descr
@@ -7,5 +7,5 @@ your site's cgi-bin/ directory, with no other dependencies.
It's easy to use. Just place an html <img> tag in your document
wherever you want to see the corresponding LaTeX expression.
-Author: John Forkosh <john@forkosh.com>
+Author: John Forkosh
WWW: http://www.forkosh.com/mimetex.html