2002-06-11 18:07:59 +02:00
|
|
|
# New ports collection makefile for: libgda2
|
|
|
|
# Date created: 02 June 2002
|
|
|
|
# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
|
The new GNOME 1.4 "Fifth-Toe" metaport, bringing together a whole
bunch of GNOME applications under one convenient building mechanism.
Applications include:
mozilla, galeon, gabber, pan, gnumeric, sodipodi, atomix, balsa,
bombermaze, dia, eog, gedit, gimp, glimmer, gnomeicu, gob, gtm,
gnucash and abiword.
2001-05-04 23:51:17 +02:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
2005-11-05 06:38:33 +01:00
|
|
|
# $MCom: ports/databases/libgda2/Makefile,v 1.32 2005/10/29 04:20:53 mezz Exp $
|
The new GNOME 1.4 "Fifth-Toe" metaport, bringing together a whole
bunch of GNOME applications under one convenient building mechanism.
Applications include:
mozilla, galeon, gabber, pan, gnumeric, sodipodi, atomix, balsa,
bombermaze, dia, eog, gedit, gimp, glimmer, gnomeicu, gob, gtm,
gnucash and abiword.
2001-05-04 23:51:17 +02:00
|
|
|
#
|
|
|
|
|
2002-06-11 18:07:59 +02:00
|
|
|
PORTNAME= libgda2
|
2005-11-05 06:38:33 +01:00
|
|
|
PORTVERSION= 1.9.100
|
2005-06-16 10:45:38 +02:00
|
|
|
PORTREVISION= 1
|
The new GNOME 1.4 "Fifth-Toe" metaport, bringing together a whole
bunch of GNOME applications under one convenient building mechanism.
Applications include:
mozilla, galeon, gabber, pan, gnumeric, sodipodi, atomix, balsa,
bombermaze, dia, eog, gedit, gimp, glimmer, gnomeicu, gob, gtm,
gnucash and abiword.
2001-05-04 23:51:17 +02:00
|
|
|
CATEGORIES= databases gnome
|
|
|
|
MASTER_SITES= ${MASTER_SITE_GNOME}
|
2005-11-05 06:38:33 +01:00
|
|
|
MASTER_SITE_SUBDIR= sources/${PORTNAME:S/2$//}/${PORTVERSION:R}
|
2002-06-11 18:07:59 +02:00
|
|
|
DISTNAME= libgda-${PORTVERSION}
|
|
|
|
DIST_SUBDIR= gnome2
|
The new GNOME 1.4 "Fifth-Toe" metaport, bringing together a whole
bunch of GNOME applications under one convenient building mechanism.
Applications include:
mozilla, galeon, gabber, pan, gnumeric, sodipodi, atomix, balsa,
bombermaze, dia, eog, gedit, gimp, glimmer, gnomeicu, gob, gtm,
gnucash and abiword.
2001-05-04 23:51:17 +02:00
|
|
|
|
2001-05-11 18:36:50 +02:00
|
|
|
MAINTAINER= gnome@FreeBSD.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= Provides uniform access to different kinds of data sources
|
The new GNOME 1.4 "Fifth-Toe" metaport, bringing together a whole
bunch of GNOME applications under one convenient building mechanism.
Applications include:
mozilla, galeon, gabber, pan, gnumeric, sodipodi, atomix, balsa,
bombermaze, dia, eog, gedit, gimp, glimmer, gnomeicu, gob, gtm,
gnucash and abiword.
2001-05-04 23:51:17 +02:00
|
|
|
|
2003-05-17 19:33:59 +02:00
|
|
|
LIB_DEPENDS= popt.0:${PORTSDIR}/devel/popt
|
2001-06-19 10:10:56 +02:00
|
|
|
|
2002-03-04 10:15:36 +01:00
|
|
|
USE_BZIP2= yes
|
2001-08-06 12:58:00 +02:00
|
|
|
USE_X_PREFIX= yes
|
The new GNOME 1.4 "Fifth-Toe" metaport, bringing together a whole
bunch of GNOME applications under one convenient building mechanism.
Applications include:
mozilla, galeon, gabber, pan, gnumeric, sodipodi, atomix, balsa,
bombermaze, dia, eog, gedit, gimp, glimmer, gnomeicu, gob, gtm,
gnucash and abiword.
2001-05-04 23:51:17 +02:00
|
|
|
USE_GMAKE= yes
|
2005-11-05 06:38:33 +01:00
|
|
|
USE_GNOME= gnomeprefix gnomehack glib20 libxslt intlhack
|
The new GNOME 1.4 "Fifth-Toe" metaport, bringing together a whole
bunch of GNOME applications under one convenient building mechanism.
Applications include:
mozilla, galeon, gabber, pan, gnumeric, sodipodi, atomix, balsa,
bombermaze, dia, eog, gedit, gimp, glimmer, gnomeicu, gob, gtm,
gnucash and abiword.
2001-05-04 23:51:17 +02:00
|
|
|
INSTALLS_SHLIB= yes
|
2005-11-05 06:38:33 +01:00
|
|
|
USE_AUTOTOOLS= libtool:15
|
2004-01-17 05:15:23 +01:00
|
|
|
USE_REINPLACE= yes
|
Presenting GNOME 2.10 for FreeBSD!
The release notes can be found at
http://www.gnome.org/start/2.10/notes/rnwhatsnew.html, and will give you a
good idea of what has gone into this release overall. However, a lot of
FreeBSD specific additions and fixes have been made. For example, this
release offers fixed ACPI support as well as new CPU freqeuncy monitoring
support. See the FreeBSD GNOME 2.10 upgrade page at
http://www.FreeBSD.org/gnome/docs/faq210.html for the entire list as well
as a list of known issues and upgrade instructions.
GNOME 2.10, as well as all of our releases, would not be possible without
the great team that goes into porting and testign each and every component.
Thanks definitely goes out to ahze, adamw, bland, kwm, mezz, and pav for all
their work. We would also like to thank our adventurous users that chose to
ride the walrus. We'd especially like to thank the following users that
provided patches for GNOME 2.10:
ade
Yasuda Keisuke
Franz Klammer
Khairil Yusof
Radek Kozlowsk
And anyone else I may have accidentally omitted.
As with GNOME 2.8, 2.10 comes with a brand-spankin' new splashscreen
courtesy of Franz Klammer. However, unlike GNOME 2.8, we've included all
of the FreeBSD GNOME splashscreen entries with gnomesession. You can
use the deskutils/splashsetter port to choose the one you like best.
As always, GNOME users should _not_ use portupgrade alone to upgrade to
2.10. Instead, get the gnome_upgrade.sh script from
http://www.FreeBSD.org/gnome/gnome_upgrade.sh.
Enjoy!
2005-03-12 11:39:38 +01:00
|
|
|
CONFIGURE_ARGS= --without-bdb
|
2001-06-19 10:10:56 +02:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
2003-05-17 19:33:59 +02:00
|
|
|
LIBS="-L${LOCALBASE}/lib -lintl"
|
2002-06-11 18:07:59 +02:00
|
|
|
|
2002-10-25 09:31:27 +02:00
|
|
|
MAN1= gda-config-tool.1
|
2003-02-07 19:42:25 +01:00
|
|
|
MAN5= gda-config.5
|
2002-10-25 09:31:27 +02:00
|
|
|
|
2003-08-30 06:17:18 +02:00
|
|
|
DOCSDIR= ${PREFIX}/share/doc/${PORTNAME:S/2$//}
|
2003-06-12 22:21:09 +02:00
|
|
|
|
2005-11-05 06:38:33 +01:00
|
|
|
PLIST_SUB= VERSION=${PORTVERSION:R}
|
|
|
|
|
2004-01-17 05:15:23 +01:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e "/^SUBDIRS =/s/testing//" \
|
|
|
|
${WRKSRC}/Makefile.in
|
|
|
|
|
2003-08-30 06:17:18 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
2003-06-12 22:21:09 +02:00
|
|
|
|
2003-08-30 06:17:18 +02:00
|
|
|
.if exists(${LOCALBASE}/lib/mysql/libmysqlclient.so)
|
|
|
|
WITH_MYSQL= yes
|
2003-06-12 22:21:09 +02:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.if exists(${LOCALBASE}/lib/libldap.so.2)
|
|
|
|
WITH_LDAP=yes
|
|
|
|
.endif
|
|
|
|
|
2005-05-18 19:09:30 +02:00
|
|
|
.if exists(${LOCALBASE}/lib/libgds.so.1)
|
2003-06-12 22:21:09 +02:00
|
|
|
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
|
|
|
|
|
2005-11-05 06:38:33 +01:00
|
|
|
.if exists(${LOCALBASE}/lib/libsqlite.so.2)
|
2003-06-12 22:21:09 +02:00
|
|
|
WITH_SQLITE= yes
|
|
|
|
.endif
|
|
|
|
|
2003-08-30 06:17:18 +02:00
|
|
|
.if !defined(WITH_MYSQL)
|
2003-06-12 22:21:09 +02:00
|
|
|
PLIST_SUB+= MYSQL:="@comment "
|
2003-02-07 19:42:25 +01:00
|
|
|
CONFIGURE_ARGS+= --without-mysql
|
2003-08-30 06:17:18 +02:00
|
|
|
.else
|
|
|
|
USE_MYSQL= yes
|
|
|
|
CONFIGURE_ARGS+= --with-mysql=${LOCALBASE}
|
|
|
|
PLIST_SUB+= MYSQL:=""
|
2002-06-11 18:07:59 +02:00
|
|
|
.endif
|
|
|
|
|
2005-01-31 01:35:55 +01:00
|
|
|
.if !defined(WITHOUT_PGSQL) && defined(WITH_PGSQL)
|
|
|
|
USE_PGSQL= yes
|
2003-06-12 22:21:09 +02:00
|
|
|
CONFIGURE_ARGS+= --with-postgres=${LOCALBASE}
|
|
|
|
PLIST_SUB+= POSTGRES:=""
|
2005-01-31 01:35:55 +01:00
|
|
|
.else
|
2003-06-12 22:21:09 +02:00
|
|
|
PLIST_SUB+= POSTGRES:="@comment "
|
2003-02-07 19:42:25 +01:00
|
|
|
CONFIGURE_ARGS+= --without-postgres
|
2002-06-11 18:07:59 +02:00
|
|
|
.endif
|
|
|
|
|
2003-06-12 22:21:09 +02:00
|
|
|
.if !defined(WITHOUT_LDAP) && defined(WITH_LDAP)
|
2003-09-25 05:17:30 +02:00
|
|
|
USE_OPENLDAP= yes
|
2003-02-07 19:42:25 +01:00
|
|
|
CONFIGURE_ARGS+= --with-ldap=${LOCALBASE}
|
2003-06-12 22:21:09 +02:00
|
|
|
PLIST_SUB+= LDAP:=""
|
2003-02-07 19:42:25 +01:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --without-ldap
|
2003-06-12 22:21:09 +02:00
|
|
|
PLIST_SUB+= LDAP:="@comment "
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if !defined(WITHOUT_FIREBIRD) && defined(WITH_FIREBIRD)
|
2005-05-18 19:09:30 +02:00
|
|
|
LIB_DEPENDS+= gds.1:${PORTSDIR}/databases/firebird-client
|
|
|
|
CONFIGURE_ARGS+= --with-firebird=${LOCALBASE}
|
2003-06-12 22:21:09 +02:00
|
|
|
PLIST_SUB+= FIREBIRD:=""
|
|
|
|
.else
|
Presenting GNOME 2.10 for FreeBSD!
The release notes can be found at
http://www.gnome.org/start/2.10/notes/rnwhatsnew.html, and will give you a
good idea of what has gone into this release overall. However, a lot of
FreeBSD specific additions and fixes have been made. For example, this
release offers fixed ACPI support as well as new CPU freqeuncy monitoring
support. See the FreeBSD GNOME 2.10 upgrade page at
http://www.FreeBSD.org/gnome/docs/faq210.html for the entire list as well
as a list of known issues and upgrade instructions.
GNOME 2.10, as well as all of our releases, would not be possible without
the great team that goes into porting and testign each and every component.
Thanks definitely goes out to ahze, adamw, bland, kwm, mezz, and pav for all
their work. We would also like to thank our adventurous users that chose to
ride the walrus. We'd especially like to thank the following users that
provided patches for GNOME 2.10:
ade
Yasuda Keisuke
Franz Klammer
Khairil Yusof
Radek Kozlowsk
And anyone else I may have accidentally omitted.
As with GNOME 2.8, 2.10 comes with a brand-spankin' new splashscreen
courtesy of Franz Klammer. However, unlike GNOME 2.8, we've included all
of the FreeBSD GNOME splashscreen entries with gnomesession. You can
use the deskutils/splashsetter port to choose the one you like best.
As always, GNOME users should _not_ use portupgrade alone to upgrade to
2.10. Instead, get the gnome_upgrade.sh script from
http://www.FreeBSD.org/gnome/gnome_upgrade.sh.
Enjoy!
2005-03-12 11:39:38 +01:00
|
|
|
CONFIGURE_ARGS+= --without-interbase
|
2003-06-12 22:21:09 +02:00
|
|
|
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)
|
2005-11-05 06:38:33 +01:00
|
|
|
LIB_DEPENDS+= sqlite.2:${PORTSDIR}/databases/sqlite2
|
2003-06-12 22:21:09 +02:00
|
|
|
CONFIGURE_ARGS+= --with-sqlite=${LOCALBASE}
|
|
|
|
PLIST_SUB+= SQLITE:=""
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --without-sqlite
|
|
|
|
PLIST_SUB+= SQLITE:="@comment "
|
2003-02-07 19:42:25 +01:00
|
|
|
.endif
|
|
|
|
|
2003-06-01 02:34:12 +02:00
|
|
|
pre-everything::
|
2003-08-30 06:17:18 +02:00
|
|
|
.if !defined(WITH_MYSQL)
|
|
|
|
@${ECHO_MSG} "You can enable support for MySQL databases by defining WITH_MYSQL."
|
2002-06-11 18:07:59 +02:00
|
|
|
.endif
|
2003-02-07 19:42:25 +01:00
|
|
|
.if !defined(WITH_LDAP)
|
|
|
|
@${ECHO_MSG} "You can enable support for LDAP databases by defining WITH_LDAP."
|
|
|
|
.endif
|
2003-06-12 22:21:09 +02:00
|
|
|
.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
|
2001-06-19 10:10:56 +02:00
|
|
|
|
2003-06-12 22:21:09 +02:00
|
|
|
.include <bsd.port.post.mk>
|