freebsd-ports/editors/xmlcopyeditor/Makefile
Beech Rintoul 56ed076747 - Fix build problems
PR:		ports/131574
Reported by:	QAT
Submitted by:	Jose Garcia Juanino <jjuanino@gmail.com> Maintainer
2009-02-13 19:28:24 +00:00

54 lines
1.5 KiB
Makefile

# New ports collection makefile for: xmlcopyeditor
# Date created: 6 December 2007
# Whom: José García Juanino <jjuanino@gmail.com>
#
# $FreeBSD$
#
PORTNAME= xmlcopyeditor
PORTVERSION= 1.2.0
PORTREVISION= 1
DISTVERSIONSUFFIX=-2
CATEGORIES= editors
MASTER_SITES= SF
MASTER_SITE_SUBDIR=xml-copy-editor
MAINTAINER= jjuanino@gmail.com
COMMENT= Fast validating XML editor
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/help/html/generic.css \
src/help/xmlcopyeditor.hhp \
src/rulesets/ruleset.css \
src/rng/tei_all.rnc \
src/rng/docbook.rnc \
src/rng/tei_minimal.rnc \
src/rng/docbookxi.rnc
BUILD_DEPENDS+= ${LOCALBASE}/include/boost/shared_ptr.hpp:${PORTSDIR}/devel/boost
LIB_DEPENDS+= xerces-c.27:${PORTSDIR}/textproc/xerces-c2 \
xslt.2:${PORTSDIR}/textproc/libxslt \
aspell.16:${PORTSDIR}/textproc/aspell \
pcre.0:${PORTSDIR}/devel/pcre
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
# workaround for automake (it needs config.rpath)
post-extract:
${TOUCH} ${WRKSRC}/config.rpath
# iconv.m4 is located in ${LOCALBASE}/share/aclocal
ACLOCAL_ARGS= -I ${LOCALBASE}/share/aclocal
USE_AUTOTOOLS= aclocal:110 autoconf:262 automake:110 libtool:15
GNU_CONFIGURE= yes
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include \
-I${LOCALBASE}/include/libxml2 ${PTHREAD_CFLAGS}" \
LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib ${PTHREAD_LIBS}"
.include <bsd.port.mk>