freebsd-ports/devel/libopensync/Makefile
Ade Lovett 54a0b86543 Mass-conversion to the USE_AUTOTOOLS New World Order. The code present
in bsd.autotools.mk essentially makes this a no-op given that all the
old variables set a USE_AUTOTOOLS_COMPAT variable, which is parsed in
exactly the same way as USE_AUTOTOOLS itself.

Moreover, USE_AUTOTOOLS has already been extensively tested by the GNOME
team -- all GNOME 2.12.x ports use it.

Preliminary documentation can be found at:
	http://people.FreeBSD.org/~ade/autotools.txt

which is in the process of being SGMLized before introduction into the
Porters Handbook.

Light blue touch-paper.  Run.
2005-11-15 06:52:12 +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.17
PORTREVISION= 1
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
MAINTAINER= ahze@FreeBSD.org
COMMENT= Freedesktop 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}"
USE_AUTOTOOLS= libtool:15
USE_PYTHON= yes
USE_GNOME= gnomehack glib20 libxml2
USE_REINPLACE= yes
INSTALLS_SHLIB= yes
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500000 || ${ARCH} == "sparc64"
BROKEN="Does not build"
.endif
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}
post-patch:
@${REINPLACE_CMD} -e 's|$${libdir}/pkgconfig|${PREFIX}/libdata/pkgconfig|' \
${WRKSRC}/Makefile.in
.include <bsd.port.post.mk>