50 lines
1.1 KiB
Makefile
50 lines
1.1 KiB
Makefile
# $OpenBSD: Makefile,v 1.13 2011/04/27 08:41:05 ajacoutot Exp $
|
|
|
|
SHARED_ONLY= Yes
|
|
|
|
COMMENT= C++ interface to libgda
|
|
|
|
GNOME_PROJECT= libgdamm
|
|
GNOME_VERSION= 4.1.2
|
|
|
|
SHARED_LIBS += gdamm-4.0 1.1 # 12.0
|
|
|
|
CATEGORIES+= databases
|
|
|
|
GDA_MAJOR= 4.0
|
|
|
|
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
|
|
|
|
WANTLIB += gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0 gthread-2.0
|
|
WANTLIB += m pcre sigc-2.0 xml2 z glibmm-2.4 gda-${GDA_MAJOR} stdc++
|
|
WANTLIB += dbus-1 gcrypt gnome-keyring gpg-error
|
|
|
|
TAR= ${LOCALBASE}/bin/gtar
|
|
BUILD_DEPENDS= archivers/gtar \
|
|
devel/m4 \
|
|
devel/mm-common
|
|
|
|
LIB_DEPENDS= devel/glib2mm \
|
|
x11/gnome/libgda
|
|
|
|
|
|
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
SUBST_VARS+= GDA_MAJOR
|
|
|
|
# XXX when updating, check that this is still needed
|
|
CONFIGURE_ENV+= MMDOCTOOLDIR=`pkg-config --variable=doctooldir mm-common-util`
|
|
|
|
.include <bsd.port.mk>
|