summaryrefslogtreecommitdiff
path: root/editors/morla/Makefile
blob: cfb7cb51ff64a4c26bbad6df11d2baf1a01911ea (plain)
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
47
# Created by: Nicola Vitale <nivit@email.it>
# $FreeBSD$

PORTNAME=	morla
PORTVERSION=	0.16.1
PORTREVISION=	8
CATEGORIES=	editors textproc
MASTER_SITES=	http://www.morlardf.net/src/ \
		http://nivi.interfree.it/distfiles/${PORTNAME}/${PORTVERSION}/

MAINTAINER=	nivit@FreeBSD.org
COMMENT=	RDF editor

LIB_DEPENDS=	libnxml.so:textproc/libnxml \
		librdf.so:textproc/redland \
		libraptor2.so:textproc/raptor2 \
		libcurl.so:ftp/curl
BUILD_DEPENDS=	dot:graphics/graphviz
RUN_DEPENDS=	dot:graphics/graphviz

OPTIONS_DEFINE=	XULRUNNER
XULRUNNER_DESC=	Xulrunner as JavaScript engine

GNU_CONFIGURE=	yes
CPPFLAGS+=	-I${LOCALBASE}/include
LDFLAGS+=	-L${LOCALBASE}/lib
CONFIGURE_ARGS=	--with-gconf=auto --with-gtkhtml=none
USES=		gettext gnome libtool pkgconfig
USE_GNOME=	gconf2 libxslt
USE_LDCONFIG=	${PREFIX}/lib/${PORTNAME}

DESKTOP_ENTRIES="morla" \
		"Edit RDF documents" \
		"${DATADIR}/icons/128_color.png" \
		"morla" \
		"WebDevelopment;" \
		true

XULRUNNER_BROKEN=	www/libxul is gone, consider using lang/spidermonkey*
XULRUNNER_CONFIGURE_ON=	--with-javascript=xulrunner
XULRUNNER_CONFIGURE_OFF=	--with-javascript=none

post-patch:
	@${REINPLACE_CMD} -e 's|-D.*_DISABLE_DEPRECATED||g' \
		${WRKSRC}/configure

.include <bsd.port.mk>