summaryrefslogtreecommitdiffstats
path: root/editors/xmlcopyeditor/Makefile
blob: 83c10c050b50f9130fcb5d6d00dd0546f8f51263 (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
# Created by: José García Juanino <jjuanino@gmail.com>
# $FreeBSD$

PORTNAME=	xmlcopyeditor
PORTVERSION=	1.2.0.9
CATEGORIES=	editors
MASTER_SITES=	SF/xml-copy-editor/${PORTNAME}-linux/${PORTVERSION}

MAINTAINER=	jjuanino@gmail.com
COMMENT=	Fast validating XML editor

LICENSE=	GPLv2

USE_WX=		2.8+
WX_COMPS=	wx contrib
WX_CONF_ARGS=	absolute
WX_UNICODE=	yes
USE_GETTEXT=	yes
USE_DOS2UNIX=	src/templates/DTD.dtd \
		src/templates/OpenLearn_document.xml \
		src/rng/docbookxi.rnc \
		src/rng/tei_all.rnc \
		src/rng/xhtml-strict.rng \
		src/rng/xhtml.rng

BUILD_DEPENDS+=	${LOCALBASE}/include/boost/shared_ptr.hpp:${PORTSDIR}/devel/boost-libs
LIB_DEPENDS=	xerces-c.3:${PORTSDIR}/textproc/xerces-c3 \
		xslt:${PORTSDIR}/textproc/libxslt \
		aspell:${PORTSDIR}/textproc/aspell \
		pcre:${PORTSDIR}/devel/pcre \
		xml2:${PORTSDIR}/textproc/libxml2 \
		expat:${PORTSDIR}/textproc/expat2

WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}

USE_AUTOTOOLS=	libtool
CPPFLAGS+=	-I${LOCALBASE}/include \
		-I${LOCALBASE}/include/libxml2 ${PTHREAD_CFLAGS}
LDFLAGS+=	-L${LOCALBASE}/lib ${PTHREAD_LIBS}

.include <bsd.port.mk>
OpenPOWER on IntegriCloud