38 lines
1.1 KiB
Makefile
38 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.9 2016/12/04 05:17:11 ryoon Exp $
|
|
|
|
DISTNAME= ocsync-0.90.4
|
|
PKGREVISION= 8
|
|
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= File synchronization program for OwnCloud
|
|
LICENSE= gnu-gpl-v2
|
|
|
|
EXTRACT_USING= bsdtar
|
|
|
|
USE_LANGUAGES= c c++
|
|
|
|
USE_CMAKE= yes
|
|
OBJDIR= ../build
|
|
CONFIGURE_DIRS= ${OBJDIR}
|
|
CMAKE_ARG_PATH= ../${DISTNAME}
|
|
|
|
EGDIR= ${PREFIX}/share/examples/ocsync
|
|
CONF_FILES+= ${EGDIR}/ocsync.conf.default ${PKG_SYSCONFDIR}/ocsync.conf
|
|
CONF_FILES+= ${EGDIR}/ocsync_exclude.conf.default \
|
|
${PKG_SYSCONFDIR}/ocsync_exclude.conf
|
|
|
|
pre-configure:
|
|
cd ${WRKSRC} && mkdir ${OBJDIR}
|
|
cd ${WRKSRC}/config && ${CP} ocsync.conf ocsync.conf.default
|
|
cd ${WRKSRC}/config && ${CP} ocsync_exclude.conf \
|
|
ocsync_exclude.conf.default
|
|
|
|
.include "../../databases/sqlite3/buildlink3.mk"
|
|
.include "../../devel/iniparser/buildlink3.mk"
|
|
.include "../../security/libssh/buildlink3.mk"
|
|
.include "../../www/neon/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|