1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00
freebsd-ports/textproc/libvisio/Makefile
Baptiste Daroussin c4d016833d Make sure not to build docs
Strip binaries
USES=libtool
2014-06-10 17:42:49 +00:00

36 lines
1010 B
Makefile

# $FreeBSD$
PORTNAME= libvisio
PORTVERSION= 0.0.31
PORTREVISION= 2
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= libicui18n.so:${PORTSDIR}/devel/icu \
libwpd-0.9.so:${PORTSDIR}/textproc/libwpd \
libwpg-0.2.so:${PORTSDIR}/graphics/libwpg
CONFIGURE_ARGS= --disable-werror --without-docs
CPPFLAGS+= -I${LOCALBASE}/include
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
USE_PERL5= build
USES= gmake libtool pathfix perl5 pkgconfig tar:xz
INSTALL_TARGET= install-strip
.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>