blob: 433aab8f99c4734ab7f7e459a9810a5f5877a0e2 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
# ex:ts=8
# Ports collection makefile for: gtkmathview
# Date created: Oct 15, 2002
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= gtkmathview
PORTVERSION= 0.4.2
CATEGORIES= x11-toolkits
MASTER_SITES= http://helm.cs.unibo.it/mml-widget/sources/
MAINTAINER= yinjieh@csie.nctu.edu.tw
COMMENT= A GTK Widget to Render MathML Documents
LIB_DEPENDS= iconv:${PORTSDIR}/converters/libiconv \
t1:${PORTSDIR}/devel/t1lib \
xml2.5:${PORTSDIR}/textproc/libxml2 \
gmetadom_gdome_cpp_smart:${PORTSDIR}/textproc/gmetadom
USE_REINPLACE= yes
USE_GETOPT_LONG= yes
USE_X_PREFIX= yes
USE_GNOME= glib12 gtk12
USE_LIBTOOL= yes
CPPFLAGS= -I${LOCALBASE}/include -DHAVE_DECL_GETOPT
LDFLAGS= -L${LOCALBASE}/lib
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
USE_GMAKE= yes
INSTALLS_SHLIB= yes
MAN1= mathmlviewer.1 mathml2ps.1
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 501000
BROKEN= "Does not compile"
.endif
post-patch:
.for file in src/stringAux.cc src/PS_T1_FontManager.cc
@${REINPLACE_CMD} -e "s|malloc.h|stdlib.h|g" ${WRKSRC}/${file}
.endfor
.include <bsd.port.post.mk>
|