freebsd-ports/x11-toolkits/gtkmathview/Makefile
Mario Sergio Fujikawa Ferreira f0a1969d34 o Rollback PORTCOMMENT modifications while this feature's implementation
is better studied
o Turn PORTCOMMENT variable in Makefile back into pkg-comment files

Approved by:	kris (portmgr hat),
		portmgr, re (silence)
2002-11-10 16:48:51 +00:00

42 lines
1 KiB
Makefile

# ex:ts=8
# Ports collection makefile for: gtkmathview
# Date created: Oct 15, 2002
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= gtkmathview
PORTVERSION= 0.3.0
CATEGORIES= x11-toolkits
MASTER_SITES= http://helm.cs.unibo.it/mml-widget/sources/
MAINTAINER= ports@FreeBSD.org
LIB_DEPENDS= iconv:${PORTSDIR}/converters/libiconv \
gnugetopt:${PORTSDIR}/devel/libgnugetopt \
t1:${PORTSDIR}/devel/t1lib \
xml2:${PORTSDIR}/textproc/libxml2 \
gmetadom_gdome_cpp_smart:${PORTSDIR}/textproc/gmetadom
USE_REINPLACE= yes
USE_X_PREFIX= yes
USE_GNOMENG= yes
USE_GNOME= glib12 gtk12
USE_LIBTOOL= yes
CONFIGURE_ENV= CPPFLAGS="-D__GNU_LIBRARY__ -I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib -lgnugetopt -lm"
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
post-install:
@install-info ${PREFIX}/info/gtkmathview.info ${PREFIX}/info/dir
.include <bsd.port.mk>