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$
|
|
|
|
#
|
|
|
|
|
2002-06-11 18:07:59 +02:00
|
|
|
PORTNAME= libgda2
|
2003-04-04 09:30:19 +02:00
|
|
|
PORTVERSION= 0.11.0
|
2003-05-17 19:33:59 +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}
|
2003-04-04 09:30:19 +02:00
|
|
|
MASTER_SITE_SUBDIR= sources/${PORTNAME:S/2$//}/0.11
|
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
|
|
|
|
2002-09-18 20:51:30 +02:00
|
|
|
BUILD_DEPENDS= scrollkeeper-config:${PORTSDIR}/textproc/scrollkeeper
|
2003-05-17 19:33:59 +02:00
|
|
|
LIB_DEPENDS= popt.0:${PORTSDIR}/devel/popt
|
2002-09-18 20:51:30 +02:00
|
|
|
RUN_DEPENDS= scrollkeeper-config:${PORTSDIR}/textproc/scrollkeeper
|
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
|
2002-07-11 17:31:46 +02:00
|
|
|
USE_REINPLACE= yes
|
2003-04-22 06:13:24 +02:00
|
|
|
USE_GNOME= gnomeprefix gnomehack gnomehier glib20 libxslt
|
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
|
2003-02-07 19:42:25 +01:00
|
|
|
GNU_CONFIGURE= yes
|
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
|
|
|
|
2002-06-11 18:07:59 +02:00
|
|
|
.if defined(WITH_MYSQL)
|
|
|
|
LIB_DEPENDS+= mysqlclient.10:${PORTSDIR}/databases/mysql323-client
|
|
|
|
CONFIGURE_ARGS+= --with-mysql=${LOCALBASE}
|
|
|
|
PLIST_SUB= MYSQL=""
|
|
|
|
.else
|
2003-02-07 19:42:25 +01:00
|
|
|
CONFIGURE_ARGS+= --without-mysql
|
2002-06-11 18:07:59 +02:00
|
|
|
PLIST_SUB= MYSQL="@comment "
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if defined(WITH_POSTGRES)
|
2003-01-04 16:53:39 +01:00
|
|
|
POSTGRESQL_PORT?= databases/postgresql7
|
|
|
|
LIB_DEPENDS+= pq.3:${PORTSDIR}/${POSTGRESQL_PORT}
|
2002-06-11 18:07:59 +02:00
|
|
|
CONFIGURE_ARGS+= --with-postgres=${LOCALBASE}
|
|
|
|
PLIST_SUB+= POSTGRES=""
|
|
|
|
.else
|
2003-02-07 19:42:25 +01:00
|
|
|
CONFIGURE_ARGS+= --without-postgres
|
2002-06-11 18:07:59 +02:00
|
|
|
PLIST_SUB+= POSTGRES="@comment "
|
|
|
|
.endif
|
|
|
|
|
2003-02-07 19:42:25 +01:00
|
|
|
.if defined(WITH_LDAP)
|
2003-02-24 03:56:37 +01:00
|
|
|
LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap20
|
2003-02-07 19:42:25 +01:00
|
|
|
CONFIGURE_ARGS+= --with-ldap=${LOCALBASE}
|
|
|
|
PLIST_SUB+= LDAP=""
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --without-ldap
|
|
|
|
PLIST_SUB+= LDAP="@comment "
|
|
|
|
.endif
|
|
|
|
|
2002-06-11 18:07:59 +02:00
|
|
|
pre-extract:
|
|
|
|
.if !defined(WITH_MYSQL)
|
|
|
|
@${ECHO_MSG} "You can enable support for MySQL databases by defining WITH_MYSQL."
|
|
|
|
.endif
|
|
|
|
.if !defined(WITH_POSTGRES)
|
|
|
|
@${ECHO_MSG} "You can enable support for Postgres databases by defining WITH_POSTGRES."
|
|
|
|
.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
|
2001-06-19 10:10:56 +02:00
|
|
|
|
2002-07-27 00:24:31 +02:00
|
|
|
post-patch:
|
2002-08-14 18:26:10 +02:00
|
|
|
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
|
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
|
|
|
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|