2011-09-19 16:38:46 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= libvisio
|
2013-05-20 00:28:40 +02:00
|
|
|
PORTVERSION= 0.0.27
|
2011-09-19 16:38:46 +02:00
|
|
|
CATEGORIES= textproc devel
|
2013-05-20 20:06:01 +02:00
|
|
|
MASTER_SITES= http://dev-www.libreoffice.org/src/
|
2011-09-19 16:38:46 +02:00
|
|
|
|
|
|
|
MAINTAINER= office@FreeBSD.org
|
|
|
|
COMMENT= Library and tools for parsing the visio file format structure
|
|
|
|
|
|
|
|
LICENSE= LGPL21 MPL GPLv2
|
|
|
|
LICENSE_COMB= dual
|
|
|
|
|
2011-11-29 14:53:23 +01:00
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/include/boost/spirit/include/classic_core.hpp:${PORTSDIR}/devel/boost-libs
|
2012-06-19 05:20:20 +02:00
|
|
|
LIB_DEPENDS= wpd-0.9:${PORTSDIR}/textproc/libwpd \
|
2013-05-10 00:37:44 +02:00
|
|
|
wpg-0.2:${PORTSDIR}/graphics/libwpg \
|
|
|
|
icui18n:${PORTSDIR}/devel/icu
|
2011-09-19 16:38:46 +02:00
|
|
|
|
2012-06-19 05:20:20 +02:00
|
|
|
CONFIGURE_ARGS= --disable-werror
|
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
2011-09-19 16:38:46 +02:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_GMAKE= yes
|
|
|
|
USE_LDCONFIG= yes
|
2013-05-20 20:06:01 +02:00
|
|
|
USE_PERL5_BUILD=yes
|
|
|
|
USE_XZ= yes
|
|
|
|
USES= pathfix pkgconfig
|
2011-09-19 16:38:46 +02:00
|
|
|
|
2012-12-18 11:49:40 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${OSVERSION} < 802516 || (${OSVERSION} >= 900000 && ${OSVERSION} < 900502)
|
|
|
|
BUILD_DEPENDS+= ${LOCALBASE}/bin/gperf:${PORTSDIR}/devel/gperf
|
|
|
|
CONFIGURE_ENV+= GPERF=${LOCALBASE}/bin/gperf
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|