summaryrefslogtreecommitdiffstats
path: root/databases/libgda2/Makefile
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2003-02-07 18:42:25 +0000
committermarcus <marcus@FreeBSD.org>2003-02-07 18:42:25 +0000
commitf62e25411b41ca8baddd09338c464cd9b8eb7ef6 (patch)
tree461379d765de7667472a8d24cf3b741ac706024e /databases/libgda2/Makefile
parente739179a076b7ce87c2686708607b87f29f155f7 (diff)
downloadFreeBSD-ports-f62e25411b41ca8baddd09338c464cd9b8eb7ef6.zip
FreeBSD-ports-f62e25411b41ca8baddd09338c464cd9b8eb7ef6.tar.gz
Update to GNOME 2.2.
This is Phase I. All existing ports have been updated to their GNOME 2.2 counterparts.
Diffstat (limited to 'databases/libgda2/Makefile')
-rw-r--r--databases/libgda2/Makefile23
1 files changed, 19 insertions, 4 deletions
diff --git a/databases/libgda2/Makefile b/databases/libgda2/Makefile
index 3164c06..a0144e7 100644
--- a/databases/libgda2/Makefile
+++ b/databases/libgda2/Makefile
@@ -6,10 +6,10 @@
#
PORTNAME= libgda2
-PORTVERSION= 0.9.0
+PORTVERSION= 0.10.0
CATEGORIES= databases gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
-MASTER_SITE_SUBDIR= sources/${PORTNAME:S/2$//}/0.9
+MASTER_SITE_SUBDIR= sources/${PORTNAME:S/2$//}/0.10
DISTNAME= libgda-${PORTVERSION}
DIST_SUBDIR= gnome2
@@ -17,7 +17,7 @@ MAINTAINER= gnome@FreeBSD.org
BUILD_DEPENDS= scrollkeeper-config:${PORTSDIR}/textproc/scrollkeeper
LIB_DEPENDS= gdbm.3:${PORTSDIR}/databases/gdbm \
- glib-2.0.0:${PORTSDIR}/devel/glib20 \
+ glib-2.0.200:${PORTSDIR}/devel/glib20 \
xslt.1:${PORTSDIR}/textproc/libxslt \
popt.0:${PORTSDIR}/devel/popt
RUN_DEPENDS= scrollkeeper-config:${PORTSDIR}/textproc/scrollkeeper
@@ -29,18 +29,20 @@ USE_REINPLACE= yes
USE_GNOMENG= yes
USE_GNOME= gnomeprefix gnomehack gnomehier
INSTALLS_SHLIB= yes
-USE_LIBTOOL= yes
+GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib -lintl -lgdbm"
CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
MAN1= gda-config-tool.1
+MAN5= gda-config.5
.if defined(WITH_MYSQL)
LIB_DEPENDS+= mysqlclient.10:${PORTSDIR}/databases/mysql323-client
CONFIGURE_ARGS+= --with-mysql=${LOCALBASE}
PLIST_SUB= MYSQL=""
.else
+CONFIGURE_ARGS+= --without-mysql
PLIST_SUB= MYSQL="@comment "
.endif
@@ -50,9 +52,19 @@ LIB_DEPENDS+= pq.3:${PORTSDIR}/${POSTGRESQL_PORT}
CONFIGURE_ARGS+= --with-postgres=${LOCALBASE}
PLIST_SUB+= POSTGRES=""
.else
+CONFIGURE_ARGS+= --without-postgres
PLIST_SUB+= POSTGRES="@comment "
.endif
+.if defined(WITH_LDAP)
+LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap2
+CONFIGURE_ARGS+= --with-ldap=${LOCALBASE}
+PLIST_SUB+= LDAP=""
+.else
+CONFIGURE_ARGS+= --without-ldap
+PLIST_SUB+= LDAP="@comment "
+.endif
+
pre-extract:
.if !defined(WITH_MYSQL)
@${ECHO_MSG} "You can enable support for MySQL databases by defining WITH_MYSQL."
@@ -60,6 +72,9 @@ pre-extract:
.if !defined(WITH_POSTGRES)
@${ECHO_MSG} "You can enable support for Postgres databases by defining WITH_POSTGRES."
.endif
+.if !defined(WITH_LDAP)
+ @${ECHO_MSG} "You can enable support for LDAP databases by defining WITH_LDAP."
+.endif
post-patch:
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
OpenPOWER on IntegriCloud