blob: d80975af3233c3f9618c28d5dde672ec081e6c8b (
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
|
# Created by: Mathieu Arnold
# $FreeBSD$
PORTNAME= mirall
PORTVERSION= 1.4.1
PORTREVISION= 2
CATEGORIES= deskutils
MASTER_SITES= http://download.owncloud.com/download/
MAINTAINER= mat@FreeBSD.org
COMMENT= The ownCloud Desktop Syncing Client
LICENSE= GPLv2
LIB_DEPENDS= libocsync.so:${PORTSDIR}/net/owncloud-csync \
libinotify.so:${PORTSDIR}/devel/libinotify \
libqtkeychain.so:${PORTSDIR}/security/qtkeychain
USES= cmake:outsource pkgconfig gmake
USE_BZIP2=
USE_QT4= corelib dbus gui linguist moc network qmake qtestlib rcc uic webkit xml
CMAKE_ENV= CSYNC_DIR=${LOCALBASE}
CMAKE_ARGS= -DCSYNC_INCLUDE_PATH:STRING=${LOCALBASE}/include/ocsync/
USE_GCC= yes
USE_LDCONFIG= yes
INSTALLS_ICONS= yes
OPTIONS_DEFINE= DOCS
OPTIONS_DEFAULT=
DOCS_BUILD_DEPENDS= sphinx-build:${PORTSDIR}/textproc/py-sphinx
DOCS_USE= TEX=latex:build
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDOCS}
CMAKE_ARGS+= WITH_DOC=TRUE
ALL_TARGET= all doc-html doc-pdf
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
@${MKDIR} ${STAGEDIR}${DOCSDIR}/html
${INSTALL_DATA} ${INSTALL_WRKSRC}/doc/latex/ownCloudClientManual.pdf ${STAGEDIR}${DOCSDIR}
cd ${INSTALL_WRKSRC}/doc/html/unthemed ; ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/html
.endif
.include <bsd.port.mk>
|