Lines 3-40
Link Here
|
3 |
# Date created: Oct 15, 2002 |
3 |
# Date created: Oct 15, 2002 |
4 |
# Whom: ijliao |
4 |
# Whom: ijliao |
5 |
# |
5 |
# |
6 |
# $FreeBSD: ports/x11-toolkits/gtkmathview/Makefile,v 1.8 2003/07/14 02:37:39 sf Exp $ |
6 |
# $FreeBSD: ports/x11-toolkits/gtkmathview/Makefile,v 1.7 2003/06/04 17:45:54 kris Exp $ |
7 |
# |
7 |
# |
8 |
|
8 |
|
9 |
PORTNAME= gtkmathview |
9 |
PORTNAME= gtkmathview |
10 |
PORTVERSION= 0.3.0 |
10 |
PORTVERSION= 0.4.2 |
11 |
PORTREVISION= 1 |
|
|
12 |
CATEGORIES= x11-toolkits |
11 |
CATEGORIES= x11-toolkits |
13 |
MASTER_SITES= http://helm.cs.unibo.it/mml-widget/sources/ |
12 |
MASTER_SITES= http://helm.cs.unibo.it/mml-widget/sources/ |
14 |
|
13 |
|
15 |
MAINTAINER= ports@FreeBSD.org |
14 |
MAINTAINER= yinjieh@csie.nctu.edu.tw |
16 |
COMMENT= A GTK Widget to Render MathML Documents |
15 |
COMMENT= A GTK Widget to Render MathML Documents |
17 |
|
16 |
|
18 |
LIB_DEPENDS= iconv:${PORTSDIR}/converters/libiconv \ |
17 |
LIB_DEPENDS= iconv:${PORTSDIR}/converters/libiconv \ |
19 |
t1:${PORTSDIR}/devel/t1lib \ |
18 |
t1:${PORTSDIR}/devel/t1lib \ |
20 |
xml2:${PORTSDIR}/textproc/libxml2 \ |
19 |
xml2.5:${PORTSDIR}/textproc/libxml2 \ |
21 |
gmetadom_gdome_cpp_smart:${PORTSDIR}/textproc/gmetadom |
20 |
gmetadom_gdome_cpp_smart:${PORTSDIR}/textproc/gmetadom |
22 |
|
21 |
|
23 |
BROKEN= "Configure fails" |
|
|
24 |
|
25 |
USE_GETOPT_LONG=yes |
26 |
USE_REINPLACE= yes |
22 |
USE_REINPLACE= yes |
|
|
23 |
USE_GETOPT_LONG= yes |
27 |
USE_X_PREFIX= yes |
24 |
USE_X_PREFIX= yes |
28 |
USE_GNOME= glib12 gtk12 |
25 |
USE_GNOME= glib12 gtk12 |
29 |
USE_LIBTOOL= yes |
26 |
USE_LIBTOOL= yes |
30 |
CPPFLAGS= -D__GNU_LIBRARY__ -I${LOCALBASE}/include |
27 |
CONFIGURE_ENV= CPPFLAGS="-D__GNU_LIBRARY__ -I${LOCALBASE}/include" \ |
31 |
LDFLAGS= -L${LOCALBASE}/lib -lm |
28 |
LDFLAGS="-L${LOCALBASE}/lib -lgnugetopt -lm" |
32 |
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" |
|
|
33 |
USE_GMAKE= yes |
29 |
USE_GMAKE= yes |
34 |
INSTALLS_SHLIB= yes |
30 |
INSTALLS_SHLIB= yes |
35 |
|
31 |
|
36 |
MAN1= mathmlviewer.1 mathml2ps.1 |
32 |
MAN1= mathmlviewer.1 mathml2ps.1 |
37 |
|
33 |
|
|
|
34 |
.include <bsd.port.pre.mk> |
35 |
|
36 |
.if ${OSVERSION} >= 500000 |
37 |
BROKEN= Does not build on FreeBSD 5.x |
38 |
.endif |
39 |
|
38 |
post-patch: |
40 |
post-patch: |
39 |
.for file in src/stringAux.cc src/PS_T1_FontManager.cc |
41 |
.for file in src/stringAux.cc src/PS_T1_FontManager.cc |
40 |
@${REINPLACE_CMD} -e "s|malloc.h|stdlib.h|g" ${WRKSRC}/${file} |
42 |
@${REINPLACE_CMD} -e "s|malloc.h|stdlib.h|g" ${WRKSRC}/${file} |
Lines 43-46
Link Here
|
43 |
post-install: |
45 |
post-install: |
44 |
@install-info ${PREFIX}/info/gtkmathview.info ${PREFIX}/info/dir |
46 |
@install-info ${PREFIX}/info/gtkmathview.info ${PREFIX}/info/dir |
45 |
|
47 |
|
46 |
.include <bsd.port.mk> |
48 |
.include <bsd.port.post.mk> |