2005-06-19 05:54:13 +00:00
|
|
|
# New ports collection makefile for: libopensync
|
|
|
|
# Date created: 2005-06-19
|
|
|
|
# Whom: Michael Johnson <ahze@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= libopensync
|
2008-06-19 19:08:51 +00:00
|
|
|
PORTVERSION= 0.36
|
2009-06-08 22:30:55 +00:00
|
|
|
PORTREVISION= 2
|
2005-06-19 05:54:13 +00:00
|
|
|
CATEGORIES= devel
|
2008-06-19 19:08:51 +00:00
|
|
|
MASTER_SITES= http://www.opensync.org/download/releases/${PORTVERSION}/
|
2005-06-19 05:54:13 +00:00
|
|
|
|
2009-05-28 20:44:16 +00:00
|
|
|
MAINTAINER= avl@FreeBSD.org
|
2007-06-17 23:04:58 +00:00
|
|
|
COMMENT= A PIM data synchronization framework
|
2005-06-19 05:54:13 +00:00
|
|
|
|
2008-06-19 19:08:51 +00:00
|
|
|
BUILD_DEPENDS= swig1.3:${PORTSDIR}/devel/swig13
|
2005-07-07 04:36:14 +00:00
|
|
|
LIB_DEPENDS= sqlite3.8:${PORTSDIR}/databases/sqlite3
|
2008-06-19 19:08:51 +00:00
|
|
|
RUN_DEPENDS= swig1.3:${PORTSDIR}/devel/swig13
|
|
|
|
|
|
|
|
CONFLICTS= libopensync-0.22*
|
2005-06-19 05:54:13 +00:00
|
|
|
|
2007-06-17 23:04:58 +00:00
|
|
|
USE_BZIP2= yes
|
2008-06-19 19:08:51 +00:00
|
|
|
USE_CMAKE= yes
|
|
|
|
CMAKE_ARGS+= -Wno-dev
|
2007-06-17 23:04:58 +00:00
|
|
|
USE_GNOME= glib20 libxml2
|
2008-06-19 19:08:51 +00:00
|
|
|
USE_PYTHON= yes
|
2007-06-17 23:04:58 +00:00
|
|
|
USE_LDCONFIG= yes
|
2009-06-08 22:30:55 +00:00
|
|
|
CMAKE_ARGS+= -DPYTHON_INCLUDE_PATH:PATH=${PYTHON_INCLUDEDIR}
|
2008-06-19 19:08:51 +00:00
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
SWIG_VER!= cd ${PORTSDIR}/devel/swig13 && ${MAKE} -V PORTVERSION
|
|
|
|
SWIG_DATADIR!= cd ${PORTSDIR}/devel/swig13 && ${MAKE} -V DATADIR
|
2005-06-19 05:54:13 +00:00
|
|
|
|
|
|
|
post-patch:
|
2008-06-19 19:08:51 +00:00
|
|
|
@${REINPLACE_CMD} -e "s|\$${LIB_INSTALL_DIR}/pkgconfig|${PREFIX}/libdata/pkgconfig|" \
|
|
|
|
-e "s|FIND_PACKAGE( SWIG|FIND_PACKAGE( SWIG REQUIRED|" \
|
|
|
|
-e "/FIND_PACKAGE( Check )/d" ${WRKSRC}/CMakeLists.txt
|
|
|
|
@${REINPLACE_CMD} -e "s|/usr/local/share/swig1.3|${SWIG_DATADIR}/${SWIG_VER}|g" \
|
|
|
|
${WRKSRC}/cmake/modules/FindSWIG.cmake
|
2007-06-17 23:04:58 +00:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
@${CAT} ${PKGMESSAGE}
|
2005-06-19 05:54:13 +00:00
|
|
|
|
2008-06-19 19:08:51 +00:00
|
|
|
.include <bsd.port.post.mk>
|