freebsd-ports/deskutils/owncloudclient/Makefile
2021-08-01 03:54:44 +08:00

45 lines
1.3 KiB
Makefile

# Created by: Mathieu Arnold
PORTNAME= owncloudclient
DISTVERSION= 2.8.2
DISTVERSIONSUFFIX= .4246
CATEGORIES= deskutils
MASTER_SITES= https://download.owncloud.com/desktop/ownCloud/stable/${DISTVERSION}${DISTVERSIONSUFFIX}/source/
DISTNAME= ownCloud-${DISTVERSION}${DISTVERSIONSUFFIX}
MAINTAINER= daniel@morante.net
COMMENT= OwnCloud Desktop Syncing Client
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libinotify.so:devel/libinotify \
libqt5keychain.so:security/qtkeychain
USES= cmake:noninja compiler:c++11-lib desktop-file-utils gmake \
iconv kde:5 localbase:ldflags pkgconfig qt:5 shared-mime-info \
sqlite tar:xz
USE_KDE= completion config coreaddons jobwidgets kio service \
widgetsaddons windowsystem
USE_LDCONFIG= yes
USE_QT= concurrent core dbus gui network sql webkit widgets xml \
buildtools_build linguist_build qmake_build
CMAKE_ARGS= -DCMAKE_INSTALL_MANDIR:STRING=man \
-DSYSCONF_INSTALL_DIR="${PREFIX}/etc"
CMAKE_OFF= BUILD_WITH_QT4 WITH_DOC WITH_STACK_PROTECTOR
PLIST_SUB= VERSION=${PORTVERSION}
OPTIONS_DEFINE= DEBUG
DEBUG_CMAKE_ON= -DCMAKE_BUILD_TYPE:STRING=Debug
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.mk>