2011-04-27 08:41:05 +00:00
|
|
|
# $OpenBSD: Makefile,v 1.13 2011/04/27 08:41:05 ajacoutot Exp $
|
2009-10-15 00:25:22 +00:00
|
|
|
|
|
|
|
SHARED_ONLY= Yes
|
2009-06-05 22:15:35 +00:00
|
|
|
|
|
|
|
COMMENT= C++ interface to libgda
|
|
|
|
|
|
|
|
GNOME_PROJECT= libgdamm
|
2011-04-27 08:41:05 +00:00
|
|
|
GNOME_VERSION= 4.1.2
|
2009-10-15 00:49:56 +00:00
|
|
|
|
2010-11-18 16:47:55 +00:00
|
|
|
SHARED_LIBS += gdamm-4.0 1.1 # 12.0
|
2009-10-15 00:49:56 +00:00
|
|
|
|
2009-06-05 22:15:35 +00:00
|
|
|
CATEGORIES+= databases
|
|
|
|
|
2009-10-15 00:25:22 +00:00
|
|
|
GDA_MAJOR= 4.0
|
2009-06-05 22:15:35 +00:00
|
|
|
|
|
|
|
HOMEPAGE= http://www.gtkmm.org/
|
|
|
|
|
|
|
|
# LGPLv2.1/GPLv2
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
|
|
|
MODULES= devel/gettext \
|
|
|
|
x11/gnome
|
|
|
|
|
2009-10-15 00:25:22 +00:00
|
|
|
WANTLIB += gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0 gthread-2.0
|
2010-09-27 12:00:55 +00:00
|
|
|
WANTLIB += m pcre sigc-2.0 xml2 z glibmm-2.4 gda-${GDA_MAJOR} stdc++
|
2010-10-01 16:25:08 +00:00
|
|
|
WANTLIB += dbus-1 gcrypt gnome-keyring gpg-error
|
2009-06-05 22:15:35 +00:00
|
|
|
|
2010-11-18 16:47:55 +00:00
|
|
|
TAR= ${LOCALBASE}/bin/gtar
|
|
|
|
BUILD_DEPENDS= archivers/gtar \
|
2011-03-23 16:34:51 +00:00
|
|
|
devel/m4 \
|
|
|
|
devel/mm-common
|
2009-06-05 22:15:35 +00:00
|
|
|
|
2010-11-18 16:47:55 +00:00
|
|
|
LIB_DEPENDS= devel/glib2mm \
|
|
|
|
x11/gnome/libgda
|
2009-06-05 22:15:35 +00:00
|
|
|
|
2010-10-18 13:18:13 +00:00
|
|
|
|
2009-06-05 22:15:35 +00:00
|
|
|
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
2010-04-24 09:56:34 +00:00
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
2009-06-05 22:15:35 +00:00
|
|
|
|
|
|
|
SUBST_VARS+= GDA_MAJOR
|
|
|
|
|
2011-03-23 16:34:51 +00:00
|
|
|
# XXX when updating, check that this is still needed
|
|
|
|
CONFIGURE_ENV+= MMDOCTOOLDIR=`pkg-config --variable=doctooldir mm-common-util`
|
|
|
|
|
2009-06-05 22:15:35 +00:00
|
|
|
.include <bsd.port.mk>
|