opnsense-ports/graphics/libcdr01/Makefile
Franco Fichtner f609f80dfc */*: sync with upstream
Taken from: FreeBSD
2023-05-15 09:07:47 +02:00

30 lines
822 B
Makefile

PORTNAME= libcdr
PORTVERSION= 0.1.7
PORTREVISION= 6
CATEGORIES= graphics devel
MASTER_SITES= LODEV
PKGNAMESUFFIX= 01
MAINTAINER= office@FreeBSD.org
COMMENT= Library and tools for parsing Corel Draw file format
WWW= https://wiki.documentfoundation.org/DLP/Libraries/libcdr
LICENSE= MPL20
LICENSE_FILE= ${WRKSRC}/COPYING.MPL
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
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-tests --disable-werror --without-docs
USES= compiler:c++11-lib libtool pathfix pkgconfig tar:xz
USE_LDCONFIG= yes
INSTALL_TARGET= install-strip
CPPFLAGS+= -DCMS_NO_REGISTER_KEYWORD
CPPFLAGS+= -I${LOCALBASE}/include
CXXFLAGS+= -Wno-long-long
.include <bsd.port.mk>