freebsd-ports/textproc/libvisio/Makefile
Jung-uk Kim 08377b8b65 - Fix build dependency. Perl is required since 0.0.20.
- Remove a master site and fix styles.
2013-05-20 18:06:01 +00:00

35 lines
935 B
Makefile

# $FreeBSD$
PORTNAME= libvisio
PORTVERSION= 0.0.27
CATEGORIES= textproc devel
MASTER_SITES= http://dev-www.libreoffice.org/src/
MAINTAINER= office@FreeBSD.org
COMMENT= Library and tools for parsing the visio file format structure
LICENSE= LGPL21 MPL GPLv2
LICENSE_COMB= dual
BUILD_DEPENDS= ${LOCALBASE}/include/boost/spirit/include/classic_core.hpp:${PORTSDIR}/devel/boost-libs
LIB_DEPENDS= wpd-0.9:${PORTSDIR}/textproc/libwpd \
wpg-0.2:${PORTSDIR}/graphics/libwpg \
icui18n:${PORTSDIR}/devel/icu
CONFIGURE_ARGS= --disable-werror
CPPFLAGS+= -I${LOCALBASE}/include
GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_LDCONFIG= yes
USE_PERL5_BUILD=yes
USE_XZ= yes
USES= pathfix pkgconfig
.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>