Update editors/libreoffice-xh to version 5.3.7
[dports.git] / editors / morla / Makefile
1 # Created by: Nicola Vitale <nivit@email.it>
2 # $FreeBSD$
3
4 PORTNAME=       morla
5 PORTVERSION=    0.16.1
6 PORTREVISION=   7
7 CATEGORIES=     editors textproc
8 MASTER_SITES=   http://www.morlardf.net/src/ \
9                 http://nivi.interfree.it/distfiles/${PORTNAME}/${PORTVERSION}/
10
11 MAINTAINER=     nivit@FreeBSD.org
12 COMMENT=        RDF editor
13
14 LIB_DEPENDS=    libnxml.so:textproc/libnxml \
15                 librdf.so:textproc/redland \
16                 libraptor2.so:textproc/raptor2 \
17                 libcurl.so:ftp/curl
18 BUILD_DEPENDS=  dot:graphics/graphviz
19 RUN_DEPENDS=    dot:graphics/graphviz
20
21 OPTIONS_DEFINE= XULRUNNER
22 XULRUNNER_DESC= Xulrunner as JavaScript engine
23
24 GNU_CONFIGURE=  yes
25 CPPFLAGS+=      -I${LOCALBASE}/include
26 LDFLAGS+=       -L${LOCALBASE}/lib
27 CONFIGURE_ARGS= --with-gconf=auto
28 USES=           gettext pkgconfig libtool
29 USE_GNOME=      gconf2 libgtkhtml libxslt
30 USE_LDCONFIG=   ${PREFIX}/lib/${PORTNAME}
31
32 DESKTOP_ENTRIES="morla" \
33                 "Edit RDF documents" \
34                 "${DATADIR}/icons/128_color.png" \
35                 "morla" \
36                 "WebDevelopment;" \
37                 true
38
39 XULRUNNER_USES= gecko
40 XULRUNNER_CONFIGURE_ON= --with-javascript=xulrunner
41 XULRUNNER_CONFIGURE_OFF=        --with-javascript=none
42
43 post-patch:
44         @${REINPLACE_CMD} -e 's|-D.*_DISABLE_DEPRECATED||g' \
45                 ${WRKSRC}/configure
46
47 .include <bsd.port.mk>