1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00
freebsd-ports/devel/libopensync/Makefile
Raphael Kubo da Costa 6fd8cb7810 Remove CMAKE_USE_PTHREAD from the ports using it.
This setting has not had any effect since r1.13 to bsd.cmake.mk, as it
was only useful when we supported FreeBSD < 7.

Approved by:	avilla (mentor), portmgr (miwi)
Feature safe:	yes
2011-11-14 03:26:46 +00:00

47 lines
1.2 KiB
Makefile

# New ports collection makefile for: libopensync
# Date created: 2005-06-19
# Whom: Michael Johnson <ahze@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= libopensync
PORTVERSION= 0.36
PORTREVISION= 2
CATEGORIES= devel
MASTER_SITES= http://www.opensync.org/download/releases/${PORTVERSION}/
MAINTAINER= avl@FreeBSD.org
COMMENT= A PIM data synchronization framework
BUILD_DEPENDS= swig1.3:${PORTSDIR}/devel/swig13
LIB_DEPENDS= sqlite3.8:${PORTSDIR}/databases/sqlite3
RUN_DEPENDS= swig1.3:${PORTSDIR}/devel/swig13
CONFLICTS= libopensync-0.22*
USE_BZIP2= yes
USE_CMAKE= yes
CMAKE_ARGS+= -Wno-dev
USE_GNOME= glib20 libxml2
USE_PYTHON= yes
USE_LDCONFIG= yes
CMAKE_ARGS+= -DPYTHON_INCLUDE_PATH:PATH=${PYTHON_INCLUDEDIR}
.include <bsd.port.pre.mk>
SWIG_VER!= cd ${PORTSDIR}/devel/swig13 && ${MAKE} -V PORTVERSION
SWIG_DATADIR!= cd ${PORTSDIR}/devel/swig13 && ${MAKE} -V DATADIR
post-patch:
@${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
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>