freebsd-ports/textproc/libqxp/Makefile
Mathieu Arnold e1bfdfbe56 Add DOCS options to ports that should have one.
Also various fixes related to said option.

PR:		230864
Submitted by:	mat
exp-runs by:	antoine
2018-09-10 13:14:50 +00:00

47 lines
1.2 KiB
Makefile

# $FreeBSD$
PORTNAME= libqxp
PORTVERSION= 0.0.0
PORTREVISION= 5
CATEGORIES= textproc
MASTER_SITES= https://dev-www.libreoffice.org/src/${PORTNAME}/
MAINTAINER= greg@unrelenting.technology
COMMENT= Library for parsing QuarkXPress documents
LICENSE= MPL20
LIB_DEPENDS= librevenge-0.0.so:textproc/librevenge \
libicui18n.so:devel/icu
#libicui18n.so:devel/icu \
#libicuuc.so:devel/icu \
#libicudata.so:devel/icu
BUILD_DEPENDS= ${LOCALBASE}/include/boost/math/constants/constants.hpp:devel/boost-libs \
${LOCALBASE}/include/boost/optional.hpp:devel/boost-libs \
${LOCALBASE}/include/boost/variant.hpp:devel/boost-libs \
${LOCALBASE}/include/boost/range/adaptor/reversed.hpp:devel/boost-libs \
${LOCALBASE}/include/boost/cstdint.hpp:devel/boost-libs
CONFIGURE_ARGS= --disable-werror
CPPFLAGS+= -I${LOCALBASE}/include
GNU_CONFIGURE= yes
USES= compiler:c++11-lang libtool pathfix pkgconfig tar:xz
USE_LDCONFIG= yes
INSTALL_TARGET= install-strip
OPTIONS_DEFINE= DOCS DOXYGEN TEST
OPTIONS_DEFAULT=
OPTIONS_SUB= yes
TEST_TARGET= check
TEST_LIB_DEPENDS= libcppunit.so:devel/cppunit
TEST_CONFIGURE_ENABLE= tests
PORTDOCS= *
DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen
DOXYGEN_CONFIGURE_OFF= --without-docs
DOXYGEN_IMPLIES= DOCS
.include <bsd.port.mk>