blob: 4bb2265cc508ff5ae7b4a7c957194b82acb8c67d (
plain)
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
|
# $NetBSD: Makefile,v 1.1 2013/11/22 12:11:49 ryoon Exp $
DISTNAME= mirall-1.4.2
CATEGORIES= net
MASTER_SITES= http://download.owncloud.com/desktop/stable/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= ryoon@NetBSD.org
HOMEPAGE= http://owncloud.org/sync-clients/
COMMENT= TODO: Short description of the package
LICENSE= gnu-gpl-v2
CFLAGS+= -g
USE_LANGUAGES= c c++
USE_CMAKE= yes
OBJDIR= ../build
CONFIGURE_DIRS= ${OBJDIR}
CMAKE_ARG_PATH= ../${DISTNAME}
FIND_PREFIX:= OCSYNCDIR=ocsync
.include "../../mk/find-prefix.mk"
CMAKE_ARGS+= -DCSYNC_BUILD_PATH=${OCSYNCDIR}/bin
CMAKE_ARGS+= -DCSYNC_LIBRARY_PATH=${OCSYNCDIR}/lib
CMAKE_ARGS+= -DCSYNC_INCLUDE_PATH=${OCSYNCDIR}/include/ocsync
BUILDLINK_TRANSFORM+= opt:-ldl:${BUILDLINK_LDADD.dl:Q}
LDFLAGS.NetBSD+= -linotify
ETCDIR= etc/OwnCloud
INSTALLATION_DIRS= ${ETCDIR}
EGDIR= ${PREFIX}/share/examples/mirall
CONF_FILES+= ${EGDIR}/sync-exclude.lst \
${PKG_SYSCONFDIR}/OwnCloud/sync-exclude.lst
pre-configure:
cd ${WRKSRC} && mkdir ${OBJDIR}
post-install:
touch ${DESTDIR}${PREFIX}/${ETCDIR}/.empty
.include "../../mk/dlopen.buildlink3.mk"
.include "../../devel/libinotify/buildlink3.mk"
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
.include "../../net/ocsync/buildlink3.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../x11/qt4-qdbus/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|