2004-10-03 02:12:51 +02:00
|
|
|
# $NetBSD: Makefile.common,v 1.22 2004/10/03 00:13:18 tv Exp $
|
2002-10-30 01:52:10 +01:00
|
|
|
#
|
|
|
|
|
2004-05-06 13:15:31 +02:00
|
|
|
DISTNAME= libgda-1.0.4
|
2004-10-03 02:12:51 +02:00
|
|
|
PKGREVISION= 2
|
2004-05-06 13:15:31 +02:00
|
|
|
CATEGORIES= databases gnome
|
|
|
|
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/libgda/1.0/}
|
|
|
|
EXTRACT_SUFX= .tar.bz2
|
2002-10-30 01:52:10 +01:00
|
|
|
|
2004-05-06 13:15:31 +02:00
|
|
|
MAINTAINER= sab@posix.org.uk
|
|
|
|
HOMEPAGE= http://www.gnome-db.org/
|
|
|
|
COMMENT= GNU database access library
|
|
|
|
|
|
|
|
DISTINFO_FILE= ${.CURDIR}/../../databases/libgda/distinfo
|
|
|
|
PATCHDIR= ${.CURDIR}/../../databases/libgda/patches
|
2002-10-30 01:52:10 +01:00
|
|
|
|
|
|
|
USE_X11= YES
|
2004-01-22 09:02:15 +01:00
|
|
|
USE_GNU_TOOLS+= make
|
2002-10-30 01:52:10 +01:00
|
|
|
USE_LIBTOOL= YES
|
2004-02-11 05:58:15 +01:00
|
|
|
USE_BUILDLINK3= YES
|
2003-01-28 23:03:00 +01:00
|
|
|
USE_PKGINSTALL= YES
|
2002-11-30 17:24:35 +01:00
|
|
|
USE_PKGLOCALEDIR= YES
|
2002-10-30 01:52:10 +01:00
|
|
|
GNU_CONFIGURE= YES
|
|
|
|
|
2002-12-25 16:58:20 +01:00
|
|
|
CONFIGURE_ARGS+= --sysconfdir="${PKG_SYSCONFDIR}"
|
2003-02-13 19:19:29 +01:00
|
|
|
CONFIGURE_ARGS+= --enable-gtk-doc=no
|
|
|
|
CONFIGURE_ARGS+= --with-html-dir="${PREFIX}/share/doc/html"
|
2004-03-21 18:40:44 +01:00
|
|
|
CONFIGURE_ARGS+= --without-ldap
|
2002-12-25 16:58:20 +01:00
|
|
|
|
2004-05-06 13:15:31 +02:00
|
|
|
.if defined(LIBGDA_PROVIDER) && !empty(LIBGDA_PROVIDER)
|
|
|
|
PKGNAME= ${DISTNAME:S/libgda-/libgda-${LIBGDA_PROVIDER}-/}
|
|
|
|
COMMENT+= - ${LIBGDA_PROVIDER} provider
|
|
|
|
|
|
|
|
BUILD_DIRS= ${WRKSRC}/providers/postgres
|
|
|
|
INSTALL_DIRS= ${WRKSRC}/providers/postgres
|
|
|
|
|
|
|
|
SUBST_CLASSES+= libs
|
|
|
|
SUBST_STAGE.libs= pre-configure
|
|
|
|
SUBST_MESSAGE.libs= "Fixing references to installes libraries."
|
|
|
|
SUBST_FILES.libs= providers/${LIBGDA_PROVIDER}/Makefile.in
|
|
|
|
SUBST_SED.libs+= -e 's|$$(top_builddir)/libgda/libgda-2.la|${BUILDLINK_PREFIX.libgda}/lib/libgda-2.la|'
|
|
|
|
|
|
|
|
.include "../../databases/libgda/buildlink3.mk"
|
|
|
|
.endif
|
2002-12-25 16:58:20 +01:00
|
|
|
|
2004-03-11 15:00:29 +01:00
|
|
|
.include "../../textproc/intltool/buildlink3.mk"
|
2004-02-11 05:58:15 +01:00
|
|
|
.include "../../textproc/libxml2/buildlink3.mk"
|
|
|
|
.include "../../textproc/libxslt/buildlink3.mk"
|
|
|
|
.include "../../devel/readline/buildlink3.mk"
|
|
|
|
.include "../../devel/pkgconfig/buildlink3.mk"
|
|
|
|
.include "../../devel/glib2/buildlink3.mk"
|
|
|
|
.include "../../devel/popt/buildlink3.mk"
|