mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-19 00:13:33 +00:00
math/blahtexml: New port: TeX to MathML converter designed with MediaWiki in mind
This commit is contained in:
parent
4f9f3a8600
commit
cb70525614
@ -162,6 +162,7 @@
|
||||
SUBDIR += bcps
|
||||
SUBDIR += bitwise
|
||||
SUBDIR += blacs
|
||||
SUBDIR += blahtexml
|
||||
SUBDIR += blas
|
||||
SUBDIR += blasfeo
|
||||
SUBDIR += blaze
|
||||
|
31
math/blahtexml/Makefile
Normal file
31
math/blahtexml/Makefile
Normal file
@ -0,0 +1,31 @@
|
||||
PORTNAME= blahtexml
|
||||
DISTVERSION= 0.9 # not tagged, version is stated in the README
|
||||
CATEGORIES= math
|
||||
|
||||
MAINTAINER= yuri@FreeBSD.org
|
||||
COMMENT= TeX to MathML converter designed with MediaWiki in mind
|
||||
|
||||
LICENSE= BSD3CLAUSE
|
||||
|
||||
LIB_DEPENDS= libiconv.so:converters/libiconv \
|
||||
libxerces-c.so:textproc/xerces-c3
|
||||
|
||||
USES= gmake localbase:ldflags
|
||||
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= gvanas
|
||||
GH_TAGNAME= 92f2c5f
|
||||
|
||||
MAKEFILE= makefile
|
||||
MAKE_ARGS= CFLAGS="${CFLAGS}"
|
||||
|
||||
ALL_TARGET= blahtexml-linux
|
||||
|
||||
LDFLAGS+= -liconv
|
||||
|
||||
PLIST_FILES= bin/${PORTNAME}
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
|
||||
|
||||
.include <bsd.port.mk>
|
3
math/blahtexml/distinfo
Normal file
3
math/blahtexml/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1632381802
|
||||
SHA256 (gvanas-blahtexml-0.9-92f2c5f_GH0.tar.gz) = c7ca4e791c551f2618e2614ad99674b536989676509e330ed5613adca1b4acd1
|
||||
SIZE (gvanas-blahtexml-0.9-92f2c5f_GH0.tar.gz) = 191102
|
11
math/blahtexml/files/patch-makefile
Normal file
11
math/blahtexml/files/patch-makefile
Normal file
@ -0,0 +1,11 @@
|
||||
--- makefile.orig 2021-09-23 07:29:40 UTC
|
||||
+++ makefile
|
||||
@@ -120,7 +120,7 @@ blahtex-mac: $(BINDIR) $(OBJECTS) $(HEADERS)
|
||||
$(CXX) $(CFLAGS) -o blahtex -liconv $(OBJECTS)
|
||||
|
||||
blahtexml-linux: $(BINDIR_XMLIN) $(OBJECTS_XMLIN) $(HEADERS_XMLIN)
|
||||
- $(CXX) $(CFLAGS) -o blahtexml $(OBJECTS_XMLIN) -lxerces-c
|
||||
+ $(CXX) $(CFLAGS) $(LDFLAGS) -o blahtexml $(OBJECTS_XMLIN) -lxerces-c
|
||||
|
||||
blahtexml-mac: $(BINDIR_XMLIN) $(OBJECTS_XMLIN) $(HEADERS_XMLIN)
|
||||
$(CXX) $(CFLAGS) -o blahtexml -liconv $(OBJECTS_XMLIN) -lxerces-c
|
11
math/blahtexml/pkg-descr
Normal file
11
math/blahtexml/pkg-descr
Normal file
@ -0,0 +1,11 @@
|
||||
Blahtex is a program written in C++, which converts an equation given in a
|
||||
syntax close to TeX into MathML. It is designed by David Harvey and is aimed at
|
||||
supporting equations in MediaWiki.
|
||||
|
||||
Blahtexml is a simple extension of blahtex, written by Gilles Van Assche. In
|
||||
addition to the functionality of blahtex, blahtexml has XML processing in mind
|
||||
and is able to process a whole XML document into another XML document. Instead
|
||||
of converting only one formula at a time, blahtexml can convert all the formulas
|
||||
of the given XML file into MathML.
|
||||
|
||||
WWW: http://gva.noekeon.org/blahtexml/
|
Loading…
Reference in New Issue
Block a user