aboutsummaryrefslogtreecommitdiff
path: root/devel/libopensync022/Makefile
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2007-06-17 23:04:58 +0000
committerPav Lucistnik <pav@FreeBSD.org>2007-06-17 23:04:58 +0000
commit6d573b2b2440cf19b15b1833e75e378f17ac97d4 (patch)
treed0f5c25127c4fb7d3814ce9f3055c58bc9bb1490 /devel/libopensync022/Makefile
parent83e4e3948e4c212d7d6153bda2d0cbb952eae9ef (diff)
downloadports-6d573b2b2440cf19b15b1833e75e378f17ac97d4.tar.gz
ports-6d573b2b2440cf19b15b1833e75e378f17ac97d4.zip
Notes
Diffstat (limited to 'devel/libopensync022/Makefile')
-rw-r--r--devel/libopensync022/Makefile40
1 files changed, 15 insertions, 25 deletions
diff --git a/devel/libopensync022/Makefile b/devel/libopensync022/Makefile
index f79de82bb205..ca247c1c3848 100644
--- a/devel/libopensync022/Makefile
+++ b/devel/libopensync022/Makefile
@@ -6,38 +6,28 @@
#
PORTNAME= libopensync
-PORTVERSION= 0.17
-PORTREVISION= 2
+PORTVERSION= 0.30
CATEGORIES= devel
-MASTER_SITES= ${MASTER_SITE_LOCAL} \
- http://www.opensync.org/attachment/wiki/download/
-MASTER_SITE_SUBDIR= ahze
-EXTRACT_SUFX= .tar.gz\?rev=\&format=raw
+MASTER_SITES= http://www.opensync.org/attachment/wiki/download/
+DISTNAME= libopensync-${PORTVERSION}
+EXTRACT_SUFX= .tar.bz2\?rev=\&format=raw
MAINTAINER= ports@FreeBSD.org
-COMMENT= Freedesktop synchronization framework
+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
-CONFIGURE_ENV= LDFLAGS="${PTHREAD_LIBS}"
-GNU_CONFIGURE= yes
-USE_PYTHON= yes
-USE_GNOME= gnomehack glib20 libxml2
-INSTALLS_SHLIB= yes
-
-pre-everything::
- @${ECHO_MSG} "NOTE: You may want to avoid extra dependencies"
- @${ECHO_MSG} " from devel/swig13 by building with the following"
- @${ECHO_MSG} " SWIG_LANGUAGES=\"perl python\""
- @${ECHO_MSG}
+USE_BZIP2= yes
+USE_GNOME= glib20 libxml2
+USE_LDCONFIG= yes
+USE_SCONS= yes
+SCONS_ARGS= prefix=${PREFIX}
post-patch:
- @${REINPLACE_CMD} -e 's|$${libdir}/pkgconfig|${PREFIX}/libdata/pkgconfig|' \
- ${WRKSRC}/Makefile.in
- ${REINPLACE_CMD} -e "s,-Werror,," ${WRKSRC}/opensync/Makefile.in \
- ${WRKSRC}/osengine/Makefile.in
- ${REINPLACE_CMD} -e "s,echo aout, echo elf,g" ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e 's|$$libsuffix/pkgconfig|libdata/pkgconfig|' ${WRKSRC}/SConstruct
+ @${REINPLACE_CMD} -e 's|gthread-2.0|gthread-2.0 pthread|' ${WRKSRC}/opensync/SConscript
+
+post-install:
+ @${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>