2002-10-15 15:51:44 +02:00
|
|
|
# ex:ts=8
|
|
|
|
# Ports collection makefile for: gtkmathview
|
|
|
|
# Date created: Oct 15, 2002
|
|
|
|
# Whom: ijliao
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= gtkmathview
|
2003-10-25 12:16:13 +02:00
|
|
|
PORTVERSION= 0.5.1
|
2004-02-04 06:10:27 +01:00
|
|
|
PORTREVISION= 1
|
2002-10-15 15:51:44 +02:00
|
|
|
CATEGORIES= x11-toolkits
|
|
|
|
MASTER_SITES= http://helm.cs.unibo.it/mml-widget/sources/
|
|
|
|
|
2003-07-15 08:27:33 +02:00
|
|
|
MAINTAINER= yinjieh@csie.nctu.edu.tw
|
2003-02-20 20:21:36 +01:00
|
|
|
COMMENT= A GTK Widget to Render MathML Documents
|
2002-10-15 15:51:44 +02:00
|
|
|
|
|
|
|
LIB_DEPENDS= iconv:${PORTSDIR}/converters/libiconv \
|
|
|
|
t1:${PORTSDIR}/devel/t1lib \
|
2003-07-15 08:27:33 +02:00
|
|
|
xml2.5:${PORTSDIR}/textproc/libxml2 \
|
2002-10-15 15:51:44 +02:00
|
|
|
gmetadom_gdome_cpp_smart:${PORTSDIR}/textproc/gmetadom
|
|
|
|
|
|
|
|
USE_REINPLACE= yes
|
2003-07-15 08:27:33 +02:00
|
|
|
USE_GETOPT_LONG= yes
|
2002-10-15 15:51:44 +02:00
|
|
|
USE_X_PREFIX= yes
|
2003-10-25 12:16:13 +02:00
|
|
|
USE_GNOME= glib20 gtk20
|
2002-10-15 15:51:44 +02:00
|
|
|
USE_LIBTOOL= yes
|
2003-07-16 14:10:09 +02:00
|
|
|
CPPFLAGS= -I${LOCALBASE}/include -DHAVE_DECL_GETOPT
|
|
|
|
LDFLAGS= -L${LOCALBASE}/lib
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
|
2002-10-15 15:51:44 +02:00
|
|
|
USE_GMAKE= yes
|
|
|
|
INSTALLS_SHLIB= yes
|
|
|
|
|
|
|
|
MAN1= mathmlviewer.1 mathml2ps.1
|
|
|
|
|
|
|
|
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
|
|
|
|
|
2003-10-25 12:16:13 +02:00
|
|
|
.include <bsd.port.mk>
|