2014-10-07 11:52:16 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= libcdr
|
2016-07-25 19:10:38 +02:00
|
|
|
PORTVERSION= 0.1.3
|
2014-10-07 11:52:16 +02:00
|
|
|
CATEGORIES= graphics devel
|
2014-10-07 14:28:28 +02:00
|
|
|
MASTER_SITES= LODEV
|
2014-10-07 11:53:49 +02:00
|
|
|
PKGNAMESUFFIX= 01
|
2014-10-07 11:52:16 +02:00
|
|
|
|
|
|
|
MAINTAINER= office@FreeBSD.org
|
|
|
|
COMMENT= Library and tools for parsing Corel Draw file format
|
|
|
|
|
|
|
|
LICENSE= LGPL21 MPL GPLv2
|
|
|
|
LICENSE_COMB= dual
|
|
|
|
|
2016-04-01 16:00:51 +02:00
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/include/boost/optional.hpp:devel/boost-libs
|
|
|
|
LIB_DEPENDS= libicui18n.so:devel/icu \
|
|
|
|
librevenge-0.0.so:textproc/librevenge \
|
|
|
|
liblcms2.so:graphics/lcms2
|
2014-10-07 11:52:16 +02:00
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
2016-01-08 19:09:30 +01:00
|
|
|
CONFIGURE_ARGS= --disable-tests --disable-werror --without-docs
|
2014-10-07 11:52:16 +02:00
|
|
|
USES= libtool pathfix pkgconfig tar:xz
|
|
|
|
USE_LDCONFIG= yes
|
|
|
|
INSTALL_TARGET= install-strip
|
|
|
|
|
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
|
|
CXXFLAGS+= -Wno-long-long
|
|
|
|
|
2014-10-07 15:33:25 +02:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e "s,zlib,,g" ${WRKSRC}/libcdr.pc.in
|
|
|
|
|
2014-10-07 11:52:16 +02:00
|
|
|
.include <bsd.port.mk>
|