1PORTNAME= liborcus 2DISTVERSION= 0.21.0 3CATEGORIES= devel misc 4#MASTER_SITES= https://kohei.us/files/orcus/src/ 5 6MAINTAINER= ports@MidnightBSD.org 7COMMENT= Standalone file import filter library for spreadsheet documents 8WWW= https://gitlab.com/orcus/orcus 9 10LICENSE= MPL20 11LICENSE_FILE= ${WRKSRC}/LICENSE 12 13BUILD_DEPENDS= mdds>=${MDDS_VERSION}:devel/mdds 14LIB_DEPENDS= libboost_date_time.so:devel/boost-libs \ 15 libixion-0.20.so:textproc/libixion 16 17USES= autoreconf compiler:c++17-lang gmake libtool localbase:ldflags \ 18 pathfix pkgconfig tar:xz 19USE_LDCONFIG= yes 20 21USE_GITLAB= yes 22GL_ACCOUNT= orcus 23GL_PROJECT= orcus 24 25GNU_CONFIGURE= yes 26INSTALL_TARGET= install-strip 27 28CXXFLAGS+= -Wno-narrowing 29 30CONFIGURE_ARGS= --disable-werror \ 31 --with-boost="${LOCALBASE}" \ 32 --disable-python 33 34OPTIONS_DEFINE= STATIC 35OPTIONS_DEFAULT=STATIC 36OPTIONS_SUB= yes 37 38STATIC_CONFIGURE_ENABLE= static 39 40PLIST_SUB+= VERSION=${PORTVERSION:R} 41 42MDDS_VERSION= 3.1 43 44post-patch: 45 ${REINPLACE_CMD} -e 's/mdds-3.0/mdds-${MDDS_VERSION}/' ${WRKSRC}/configure.ac 46 47.include <bsd.port.mk> 48