openbsd-ports/net/csync/Makefile

56 lines
1.1 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.7 2012/08/21 15:28:18 ajacoutot Exp $
SHARED_ONLY= Yes
COMMENT= bidirectional directories synchronizer
2012-08-16 04:52:55 -04:00
DISTNAME= csync-0.50.8
REVISION= 0
2012-06-24 04:01:29 -04:00
EXTRACT_SUFX= .tar.bz2
2012-06-18 10:07:28 -04:00
CATEGORIES= net
SHARED_LIBS += csync 0.0 # 0.1
HOMEPAGE= http://www.csync.org/
2012-06-18 10:07:28 -04:00
MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
# GPLv2+
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB += c crypto iniparser log4c neon pthread smbclient sqlite3
WANTLIB += ssh ssl
MASTER_SITES= http://download.owncloud.com/download/
MODULES= devel/cmake
BUILD_DEPENDS= devel/argp-standalone \
devel/check \
devel/doxygen
LIB_DEPENDS= devel/iniparser \
devel/log4c \
net/neon \
net/samba \
security/libssh
# csync_owncloud requires -pthread:
# dlopen: failed to open libpthread.so.XX.X
CONFIGURE_ARGS= -DCMAKE_C_FLAGS="${CFLAGS} -pthread" \
-DCMAKE_SKIP_RPATH=ON \
-DMAN_INSTALL_DIR=${PREFIX}/man \
-DSYSCONFDIR=${SYSCONFDIR} \
-DSYSCONF_INSTALL_DIR=${PREFIX}/share/examples \
-DCMAKE_BUILD_TYPE=Release
NO_REGRESS= Yes
USE_GROFF= Yes
.include <bsd.port.mk>