blob: 3645f050cfc266cfbd36b4a9391f346a6943bd55 (
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: arrowdodger <6yearold@gmail.com>
# $FreeBSD$
PORTNAME= owncloud-csync
PORTVERSION= 0.91.4
CATEGORIES= net kde
MASTER_SITES= http://download.owncloud.com/desktop/stable/
DISTNAME= ocsync-${PORTVERSION}
MAINTAINER= 6yearold@gmail.com
COMMENT= Csync fork for Owncloud
LICENSE= GPLv2
LIB_DEPENDS= libiniparser.so:${PORTSDIR}/devel/iniparser \
libsmbclient.so:${PORTSDIR}/net/samba-libsmbclient \
libssh.so.4:${PORTSDIR}/security/libssh \
libneon.so:${PORTSDIR}/www/neon29
USES= cmake:outsource iconv pkgconfig
USE_BZIP2= yes
USE_SQLITE= yes
CMAKE_ARGS+= -DUNIT_TESTING=NO \
-DMAN_INSTALL_DIR=${MANPREFIX}/man
USE_LDCONFIG= yes
DOCSDIR= ${PREFIX}/share/doc/ocsync
ETCDIR= ${PREFIX}/etc/ocsync
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
.if ! ${PORT_OPTIONS:MDOCS}
BUILD_DEPENDS+= asciidoc:${PORTSDIR}/textproc/asciidoc
post-patch:
@${REINPLACE_CMD} -e 's/^add_subdirectory(doc)//' ${WRKSRC}/CMakeLists.txt
.endif
post-install:
.for i in ocsync.conf ocsync_exclude.conf
@${MV} ${STAGEDIR}${ETCDIR}/$i ${STAGEDIR}${ETCDIR}/$i.sample
.endfor
.include <bsd.port.mk>
|