freebsd-ports/databases/libgda2/Makefile
Joe Marcus Clarke f1bb12de8e Presenting GNOME 2.16.1 for FreeBSD. This release represents a massive
amount of work by the FreeBSD GNOME Team and our testers.

On top of the usual GNOME update, we have taken this opportunity to move
GNOME from X11BASE to LOCALBASE.  This means roughly 600 ports NOT part of
the GNOME Desktop also need to be changed.  The bulk of the move was carried
out by ahze, mezz, and pav, but it would not have been possible without
cooperation from the FreeBSD KDE team who worked with us to make sure
GNOME and KDE can still coexist happily.  We would also like to send a
shout out to kris and pointyhat for putting up with multiple test runs
until we got something that was solid.

Back to GNOME 2.16.  This release brings a huge amount of new functionality
to FreeBSD.  The standard release notes can be read at
http://www.gnome.org/start/2.16/ .  But on top of what you will read there,
jylefort and marcus have completed work on a port of HAL to FreeBSD.  This
will allow FreeBSD to take advantage of closer hardware interaction such
as auto-mounting CD-ROMs, USB drives, and music players; auto-playing
audio CDs; and managing laptop power consumption.

But where would this all be without our loyal testers and contributors?
Therefore, the FreeBSD GNOME team would like to thank the following users:

Phillip Neumann <pneumann@gmail.com>
tmclaugh
mux
Yuri Pankov <yuri.pankov@gmail.com>
chinsan
Thomas <freebsdlists@bsdunix.ch>
Brian Gruber <knightbg@yahoo.com>
Franz Klammer <klammer@webonaut.com>
Dominique Goncalves <dominique.goncalves@gmail.com>
Pascal Hofstee <caelian@gmail.com>
Yasuda Keisuke <kysd@po.harenet.ne.jp>
backyard <backyard1454-bsd@yahoo.com>
Andris Raugulis <endrju@null.lv> <endrju@null.lv>
Eric L. Chen <d9364104@mail.nchu.edu.tw>
Pawel Worach <pawel.worach@gmail.com>
QuiRK on #freebsd-gnome
Shane Bell <decept0@gmail.com>
luigi
sajd on #freebsd-gnome
sat
Chris Coleman <chrisc@vmunix.com>
kaeru on #freebsd-gnome
crsd_ via irc.freenode.org/#FreeBSD-GNOME
Joel Diaz <joeldiaz@mac.com>

Enjoy!

Approved by:	portmgr (implicit, kris)
2006-10-14 08:35:50 +00:00

192 lines
4.7 KiB
Makefile

# New ports collection makefile for: libgda2
# Date created: 02 June 2002
# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
#
# $FreeBSD$
# $MCom: ports/databases/libgda2/Makefile,v 1.35 2006/09/10 00:51:06 mezz Exp $
#
PORTNAME= libgda2
PORTVERSION= 1.2.3
PORTREVISION?= 2
PORTEPOCH?= 1
CATEGORIES= databases gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/${PORTNAME:S/2$//}/1.2
DISTNAME= libgda-${PORTVERSION}
DIST_SUBDIR= gnome2
MAINTAINER= gnome@FreeBSD.org
COMMENT= Provides uniform access to different kinds of data sources
USE_BZIP2= yes
.if !defined(REFERENCE_PORT)
BUILD_DEPENDS= scrollkeeper-config:${PORTSDIR}/textproc/scrollkeeper
LIB_DEPENDS= popt.0:${PORTSDIR}/devel/popt
RUN_DEPENDS= scrollkeeper-config:${PORTSDIR}/textproc/scrollkeeper
USE_GMAKE= yes
USE_GNOME= gnomeprefix gnomehack glib20 libxslt referencehack
USE_GETTEXT= yes
USE_XLIB= yes
INSTALLS_OMF= yes
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --without-bdb
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib -lintl"
MAN1= gda-config-tool.1
MAN5= gda-config.5
PLIST_SUB= VERSION=${PORTVERSION:R}
CONFLICTS= libgda3-[0-9]*
post-patch:
@${REINPLACE_CMD} -e "/^SUBDIRS =/s/testing//" \
${WRKSRC}/Makefile.in
.include <bsd.port.pre.mk>
.if exists(${LOCALBASE}/lib/mysql/libmysqlclient.so)
WITH_MYSQL= yes
.endif
.if exists(${LOCALBASE}/lib/libldap.so.2)
WITH_LDAP=yes
.endif
.if exists(${LOCALBASE}/lib/libgds.so.1)
WITH_FIREBIRD= yes
.endif
.if exists(${LOCALBASE}/lib/libtds.so.2)
WITH_FREETDS= yes
.endif
.if exists(${LOCALBASE}/lib/libsybdb.so.3)
WITH_SYBASE= yes
.endif
.if exists(${LOCALBASE}/lib/libmdbsql.so.0)
WITH_MDB= yes
.endif
.if exists(${LOCALBASE}/lib/libODBC.so.1)
WITH_ODBC= yes
.endif
.if exists(${LOCALBASE}/lib/libsqlite3.so.8)
WITH_SQLITE= yes
.endif
.if !defined(WITH_MYSQL)
PLIST_SUB+= MYSQL:="@comment "
CONFIGURE_ARGS+= --without-mysql
.else
USE_MYSQL= yes
CONFIGURE_ARGS+= --with-mysql=${LOCALBASE}
PLIST_SUB+= MYSQL:=""
.endif
.if !defined(WITHOUT_PGSQL) && defined(WITH_PGSQL)
USE_PGSQL= yes
CONFIGURE_ARGS+= --with-postgres=${LOCALBASE}
PLIST_SUB+= POSTGRES:=""
.else
PLIST_SUB+= POSTGRES:="@comment "
CONFIGURE_ARGS+= --without-postgres
.endif
.if !defined(WITHOUT_LDAP) && defined(WITH_LDAP)
USE_OPENLDAP= yes
CONFIGURE_ARGS+= --with-ldap=${LOCALBASE}
PLIST_SUB+= LDAP:=""
.else
CONFIGURE_ARGS+= --without-ldap
PLIST_SUB+= LDAP:="@comment "
.endif
.if !defined(WITHOUT_FIREBIRD) && defined(WITH_FIREBIRD)
LIB_DEPENDS+= gds.1:${PORTSDIR}/databases/firebird-client
CONFIGURE_ARGS+= --with-firebird=${LOCALBASE}
PLIST_SUB+= FIREBIRD:=""
.else
CONFIGURE_ARGS+= --without-interbase
PLIST_SUB+= FIREBIRD:="@comment "
.endif
.if !defined(WITHOUT_FREETDS) && defined(WITH_FREETDS)
LIB_DEPENDS+= tds.2:${PORTSDIR}/databases/freetds
CONFIGURE_ARGS+= --with-tds=${LOCALBASE}
PLIST_SUB+= FREETDS:=""
.else
CONFIGURE_ARGS+= --without-tds
PLIST_SUB+= FREETDS:="@comment "
.endif
.if !defined(WITHOUT_SYBASE) && defined(WITH_SYBASE)
LIB_DEPENDS+= sybdb.3:${PORTSDIR}/databases/freetds
CONFIGURE_ARGS+= --with-sybase=${LOCALBASE}
PLIST_SUB+= SYBASE:=""
.else
CONFIGURE_ARGS+= --without-sybase
PLIST_SUB+= SYBASE:="@comment "
.endif
.if !defined(WITHOUT_MDB) && defined(WITH_MDB)
LIB_DEPENDS+= mdbsql.0:${PORTSDIR}/databases/mdbtools
CONFIGURE_ARGS+= --with-mdb=${LOCALBASE}
PLIST_SUB+= MDB:=""
.else
CONFIGURE_ARGS+= --without-mdb
PLIST_SUB+= MDB:="@comment "
.endif
.if !defined(WITHOUT_ODBC) && defined(WITH_ODBC)
LIB_DEPENDS+= odbc.1:${PORTSDIR}/databases/unixODBC
CONFIGURE_ARGS+= --with-odbc=${LOCALBASE}
PLIST_SUB+= ODBC:=""
.else
CONFIGURE_ARGS+= --without-odbc
PLIST_SUB+= ODBC:="@comment "
.endif
.if !defined(WITHOUT_SQLITE) && defined(WITH_SQLITE)
LIB_DEPENDS+= sqlite3.8:${PORTSDIR}/databases/sqlite3
CONFIGURE_ARGS+= --with-sqlite=${LOCALBASE}
PLIST_SUB+= SQLITE:=""
.else
CONFIGURE_ARGS+= --without-sqlite
PLIST_SUB+= SQLITE:="@comment "
.endif
pre-everything::
.if !defined(WITH_MYSQL)
@${ECHO_MSG} "You can enable support for MySQL databases by defining WITH_MYSQL."
.endif
.if !defined(WITH_LDAP)
@${ECHO_MSG} "You can enable support for LDAP databases by defining WITH_LDAP."
.endif
.if !defined(WITH_FREETDS)
@${ECHO_MSG} "You can enable support for TDS databases by defining WITH_FREETDS."
.endif
.if !defined(WITH_SYBASE)
@${ECHO_MSG} "You can enable support for Sybase databases by defining WITH_SYBASE."
.endif
.if !defined(WITH_MDB)
@${ECHO_MSG} "You can enable support for MDB databases by defining WITH_MDB."
.endif
.if !defined(WITH_ODBC)
@${ECHO_MSG} "You can enable support for ODBC databases by defining WITH_ODBC."
.endif
.if !defined(WITH_SQLITE)
@${ECHO_MSG} "You can enable support for SQLITE databases by defining WITH_SQLITE."
.endif
.include <bsd.port.post.mk>
.endif