blob: 927136c9f16797a8400cce70af4456b356192b45 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
# Created by: Mathieu Arnold
# $FreeBSD$
PORTNAME= mirall
PORTVERSION= 1.6.0
PORTREVISION= 1
CATEGORIES= deskutils
MASTER_SITES= http://download.owncloud.com/desktop/stable/
MAINTAINER= ports@FreeBSD.org
COMMENT= The ownCloud Desktop Syncing Client
LICENSE= GPLv2
LIB_DEPENDS= libinotify.so:${PORTSDIR}/devel/libinotify \
libqtkeychain.so:${PORTSDIR}/security/qtkeychain \
libneon.so:${PORTSDIR}/www/neon29
USES= cmake:outsource compiler:c++11-lang gmake pkgconfig tar:bzip2
USE_QT4= corelib dbus gui network qtestlib webkit xml \
linguist_build moc_build qmake_build rcc_build uic_build
CMAKE_ENV= INOTIFY_LIB="${LOCALBASE}/lib"
CMAKE_ARGS= -DCMAKE_INSTALL_MANDIR:STRING=${MANPREFIX}/man/
USE_SQLITE= 3
USE_LDCONFIG= yes
INSTALLS_ICONS= yes
CONFLICTS= owncloud-csync-[0-9]*
OPTIONS_DEFINE= DOCS
DOCS_BUILD_DEPENDS= sphinx-build:${PORTSDIR}/textproc/py-sphinx
DOCS_USE= TEX=latex:build
DOCS_CMAKE_ON= WITH_DOC=true
DOCS_ALL_TARGET= all doc-html doc-pdf
post-patch:
@${REINPLACE_CMD} -e \
's|.lst |.lst.sample |' ${WRKSRC}/CMakeLists.txt
post-build:
@(cd ${WRKSRC} && ${CP} -f sync-exclude.lst sync-exclude.lst.sample)
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
(cd ${INSTALL_WRKSRC}/doc/latex && ${INSTALL_DATA} *.pdf \
${STAGEDIR}${DOCSDIR})
@${MKDIR} ${STAGEDIR}${DOCSDIR}/html
@(cd ${INSTALL_WRKSRC}/doc/html/unthemed && ${COPYTREE_SHARE} . \
${STAGEDIR}${DOCSDIR}/html)
.include <bsd.port.mk>
|