freebsd-ports/deskutils/nextcloudclient/Makefile
Gerald Pfeifer ea8c8ec7da Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.

PR:		238330
2019-07-26 20:46:53 +00:00

60 lines
1.6 KiB
Makefile

# Created by: Mathieu Arnold
# $FreeBSD$
PORTNAME= nextcloudclient
PORTVERSION= 0.0.0.20190705
PORTREVISION= 3
CATEGORIES= deskutils
MAINTAINER= mr@FreeBSD.org
COMMENT= NextCloud Desktop Syncing Client
LICENSE= GPLv2
LIB_DEPENDS= libinotify.so:devel/libinotify \
libqt5keychain.so:security/qtkeychain
USES= cmake:noninja compiler:c++11-lib gmake iconv \
localbase:ldflags pkgconfig qt:5 sqlite ssl
USE_QT= buildtools_build concurrent core dbus declarative gui linguist_build location network \
printsupport qmake_build sql webchannel webengine webkit widgets xml
CMAKE_ARGS= -DBUILD_WITH_QT4:BOOL=OFF \
-DCMAKE_INSTALL_MANDIR:STRING=man \
-DWITH_STACK_PROTECTOR:BOOL=OFF
USE_LDCONFIG= yes
INSTALLS_ICONS= yes
DEBUG= yes
USE_GITHUB= yes
GH_ACCOUNT= nextcloud
GH_PROJECT= desktop
GH_TAGNAME= c897564d28c04029f09dcce20078e9adb3b57518
#OPTIONS_DEFINE= DEBUG DOCS
OPTIONS_DEFINE= DEBUG # DOCS doesn't build currently
#DOCS_BUILD_DEPENDS= sphinx-build:textproc/py-sphinx \
# doxygen:devel/doxygen
#DOCS_USE= tex=dvipsk:build,latex:build
#DOCS_CMAKE_ON= -DWITH_DOC:BOOL=ON
PLIST_SUB= VERSION=${PORTVERSION}
.include <bsd.port.pre.mk>
.ifdef WITH_DEBUG
CMAKE_ARGS+= -DCMAKE_BUILD_TYPE:STRING=Debug
.endif
.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1200085 && !${SSL_DEFAULT:Mopenssl111}
BROKEN= nextcloudclient requires OpenSSL 1.1.0, add DEFAULT_VERSIONS+=ssl=openssl111 to /etc/make.conf
.endif
post-patch:
@${REINPLACE_CMD} -e \
's|.lst |.lst.sample |' ${WRKSRC}/CMakeLists.txt
pre-configure:
@(cd ${WRKSRC} && ${CP} -f sync-exclude.lst sync-exclude.lst.sample)
.include <bsd.port.post.mk>