aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--databases/Makefile1
-rw-r--r--databases/libgda3-reference/Makefile5
-rw-r--r--databases/libgda3/Makefile16
-rw-r--r--databases/libgda3/pkg-plist151
4 files changed, 17 insertions, 156 deletions
diff --git a/databases/Makefile b/databases/Makefile
index 3fdf3016723d..b4ed6e5038fc 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -91,6 +91,7 @@
SUBDIR += libgda2
SUBDIR += libgda2-reference
SUBDIR += libgda3
+ SUBDIR += libgda3-reference
SUBDIR += libgdamm
SUBDIR += libgnomedb
SUBDIR += libiodbc
diff --git a/databases/libgda3-reference/Makefile b/databases/libgda3-reference/Makefile
new file mode 100644
index 000000000000..1f3dd3542a1c
--- /dev/null
+++ b/databases/libgda3-reference/Makefile
@@ -0,0 +1,5 @@
+# $FreeBSD$
+
+REFERENCE_SRC= ${WRKSRC}/doc/C
+
+.include "${.CURDIR}/../../devel/glib20-reference/bsd.gnome-reference.mk"
diff --git a/databases/libgda3/Makefile b/databases/libgda3/Makefile
index ac186bf853ca..d45573475ee2 100644
--- a/databases/libgda3/Makefile
+++ b/databases/libgda3/Makefile
@@ -17,13 +17,19 @@ DIST_SUBDIR= gnome2
MAINTAINER= gnome@FreeBSD.org
COMMENT= Provides uniform access to different kinds of data sources
+USE_BZIP2= yes
+PREFIX?= ${X11BASE}
+
+.if !defined(REFERENCE_PORT)
+
+PORTREVISION= 1
+
LIB_DEPENDS= popt.0:${PORTSDIR}/devel/popt
-USE_BZIP2= yes
USE_GETTEXT= yes
-USE_X_PREFIX= yes
+USE_XLIB= yes
USE_GMAKE= yes
-USE_GNOME= gnomeprefix gnomehack glib20 libxslt intlhack
+USE_GNOME= gnomeprefix gnomehack glib20 libxslt intlhack referencehack
INSTALLS_SHLIB= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --without-bdb
@@ -33,8 +39,6 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
MAN1= gda-config-tool.1
MAN5= gda-config.5
-DOCSDIR= ${PREFIX}/share/doc/${PORTNAME:S/3$//}
-
PLIST_SUB= VERSION=${PORTVERSION:R}
CONFLICTS= libgda2-[0-9]*
@@ -182,3 +186,5 @@ pre-everything::
.endif
.include <bsd.port.post.mk>
+
+.endif
diff --git a/databases/libgda3/pkg-plist b/databases/libgda3/pkg-plist
index e3da862626b8..e9362ddac195 100644
--- a/databases/libgda3/pkg-plist
+++ b/databases/libgda3/pkg-plist
@@ -150,157 +150,6 @@ lib/libgda-%%VERSION%%/providers/libgda-sqlite.a
lib/libgda-%%VERSION%%/providers/libgda-sqlite.la
lib/libgda-%%VERSION%%/providers/libgda-sqlite.so
libdata/pkgconfig/libgda-2.0.pc
-%%DOCSDIR%%/GdaBlob.html
-%%DOCSDIR%%/GdaClient.html
-%%DOCSDIR%%/GdaColumn.html
-%%DOCSDIR%%/GdaColumnIndex.html
-%%DOCSDIR%%/GdaConnection.html
-%%DOCSDIR%%/GdaConnectionEvent.html
-%%DOCSDIR%%/GdaDataAccessWrapper.html
-%%DOCSDIR%%/GdaDataModel.html
-%%DOCSDIR%%/GdaDataModelArray.html
-%%DOCSDIR%%/GdaDataModelFilterSQL.html
-%%DOCSDIR%%/GdaDataModelHash.html
-%%DOCSDIR%%/GdaDataModelImport.html
-%%DOCSDIR%%/GdaDataModelIter.html
-%%DOCSDIR%%/GdaDataModelQuery.html
-%%DOCSDIR%%/GdaDataModelRow.html
-%%DOCSDIR%%/GdaDataProxy.html
-%%DOCSDIR%%/GdaDict.html
-%%DOCSDIR%%/GdaDictAggregate.html
-%%DOCSDIR%%/GdaDictConstraint.html
-%%DOCSDIR%%/GdaDictDatabase.html
-%%DOCSDIR%%/GdaDictField.html
-%%DOCSDIR%%/GdaDictFunction.html
-%%DOCSDIR%%/GdaDictTable.html
-%%DOCSDIR%%/GdaDictType.html
-%%DOCSDIR%%/GdaEntity.html
-%%DOCSDIR%%/GdaEntityField.html
-%%DOCSDIR%%/GdaGraphviz.html
-%%DOCSDIR%%/GdaObject.html
-%%DOCSDIR%%/GdaObjectRef.html
-%%DOCSDIR%%/GdaParameter.html
-%%DOCSDIR%%/GdaParameterList.html
-%%DOCSDIR%%/GdaQuery.html
-%%DOCSDIR%%/GdaQueryCondition.html
-%%DOCSDIR%%/GdaQueryField.html
-%%DOCSDIR%%/GdaQueryFieldAgg.html
-%%DOCSDIR%%/GdaQueryFieldAll.html
-%%DOCSDIR%%/GdaQueryFieldField.html
-%%DOCSDIR%%/GdaQueryFieldFunc.html
-%%DOCSDIR%%/GdaQueryFieldValue.html
-%%DOCSDIR%%/GdaQueryJoin.html
-%%DOCSDIR%%/GdaQueryObject.html
-%%DOCSDIR%%/GdaQueryTarget.html
-%%DOCSDIR%%/GdaReferer.html
-%%DOCSDIR%%/GdaRenderer.html
-%%DOCSDIR%%/GdaServerProvider.html
-%%DOCSDIR%%/GdaThreader.html
-%%DOCSDIR%%/GdaTransaction.html
-%%DOCSDIR%%/GdaXmlStorage.html
-%%DOCSDIR%%/architecture.html
-%%DOCSDIR%%/ch04s03.html
-%%DOCSDIR%%/ch05s04.html
-%%DOCSDIR%%/ch05s05.html
-%%DOCSDIR%%/ch05s06.html
-%%DOCSDIR%%/ch06.html
-%%DOCSDIR%%/ch10.html
-%%DOCSDIR%%/ch11.html
-%%DOCSDIR%%/ch13.html
-%%DOCSDIR%%/ch14.html
-%%DOCSDIR%%/compiling.html
-%%DOCSDIR%%/connection.html
-%%DOCSDIR%%/connections.html
-%%DOCSDIR%%/data-model.html
-%%DOCSDIR%%/data_models.html
-%%DOCSDIR%%/fdl-section1.html
-%%DOCSDIR%%/fdl-section10.html
-%%DOCSDIR%%/fdl-section2.html
-%%DOCSDIR%%/fdl-section3.html
-%%DOCSDIR%%/fdl-section4.html
-%%DOCSDIR%%/fdl-section5.html
-%%DOCSDIR%%/fdl-section6.html
-%%DOCSDIR%%/fdl-section7.html
-%%DOCSDIR%%/fdl-section8.html
-%%DOCSDIR%%/fdl-section9.html
-%%DOCSDIR%%/fdl-using.html
-%%DOCSDIR%%/fdl.html
-%%DOCSDIR%%/getting_started.html
-%%DOCSDIR%%/home.png
-%%DOCSDIR%%/index.html
-%%DOCSDIR%%/index.sgml
-%%DOCSDIR%%/init_config.html
-%%DOCSDIR%%/installation-configuring.html
-%%DOCSDIR%%/installation-installing.html
-%%DOCSDIR%%/installation.html
-%%DOCSDIR%%/introduction.html
-%%DOCSDIR%%/ix01.html
-%%DOCSDIR%%/left.png
-%%DOCSDIR%%/libgda-Configuration.html
-%%DOCSDIR%%/libgda-GdaCommand.html
-%%DOCSDIR%%/libgda-GdaDataModelIndex.html
-%%DOCSDIR%%/libgda-GdaGraph.html
-%%DOCSDIR%%/libgda-GdaGraphItem.html
-%%DOCSDIR%%/libgda-GdaGraphQuery.html
-%%DOCSDIR%%/libgda-GdaReportDocument.html
-%%DOCSDIR%%/libgda-GdaReportItem.html
-%%DOCSDIR%%/libgda-GdaReportItemDetail.html
-%%DOCSDIR%%/libgda-GdaReportItemLabel.html
-%%DOCSDIR%%/libgda-GdaReportItemPageFooter.html
-%%DOCSDIR%%/libgda-GdaReportItemPageHeader.html
-%%DOCSDIR%%/libgda-GdaReportItemRepField.html
-%%DOCSDIR%%/libgda-GdaReportItemReport.html
-%%DOCSDIR%%/libgda-GdaReportItemReportFooter.html
-%%DOCSDIR%%/libgda-GdaReportItemReportHeader.html
-%%DOCSDIR%%/libgda-GdaReportItemSqlQuery.html
-%%DOCSDIR%%/libgda-GdaReportResult.html
-%%DOCSDIR%%/libgda-GdaReportValid.html
-%%DOCSDIR%%/libgda-GdaValue.html
-%%DOCSDIR%%/libgda-Libgda-Initialization.html
-%%DOCSDIR%%/libgda-Logging.html
-%%DOCSDIR%%/libgda-Quark-lists.html
-%%DOCSDIR%%/libgda-Utility-functions.html
-%%DOCSDIR%%/libgda-gda-report-types.html
-%%DOCSDIR%%/libgda-provider-begin-transaction.html
-%%DOCSDIR%%/libgda-provider-change-database.html
-%%DOCSDIR%%/libgda-provider-class.html
-%%DOCSDIR%%/libgda-provider-close-connection.html
-%%DOCSDIR%%/libgda-provider-commit-transaction.html
-%%DOCSDIR%%/libgda-provider-create-database-cnc.html
-%%DOCSDIR%%/libgda-provider-drop-database-cnc.html
-%%DOCSDIR%%/libgda-provider-execute-command.html
-%%DOCSDIR%%/libgda-provider-get-database.html
-%%DOCSDIR%%/libgda-provider-get-schema.html
-%%DOCSDIR%%/libgda-provider-get-specs.html
-%%DOCSDIR%%/libgda-provider-introduction.html
-%%DOCSDIR%%/libgda-provider-perform-action-params.html
-%%DOCSDIR%%/libgda-provider-recordset.html
-%%DOCSDIR%%/libgda-provider-rollback-transaction.html
-%%DOCSDIR%%/libgda-provider-supports.html
-%%DOCSDIR%%/libgda-reports-introduction.html
-%%DOCSDIR%%/libgda-reports.html
-%%DOCSDIR%%/libgda-tools-author-dict.html
-%%DOCSDIR%%/libgda-tools-diagnose.html
-%%DOCSDIR%%/libgda-tools-inspect-dict.html
-%%DOCSDIR%%/libgda-tools-introduction.html
-%%DOCSDIR%%/libgda-tools-list-config.html
-%%DOCSDIR%%/libgda.devhelp
-%%DOCSDIR%%/main_example.html
-%%DOCSDIR%%/manage-gdavalue.html
-%%DOCSDIR%%/managing-errors.html
-%%DOCSDIR%%/migration-configuration.html
-%%DOCSDIR%%/migration-executing-commands.html
-%%DOCSDIR%%/migration.html
-%%DOCSDIR%%/misc.html
-%%DOCSDIR%%/part_begin.html
-%%DOCSDIR%%/part_libgda-reports.html
-%%DOCSDIR%%/part_libgda_api.html
-%%DOCSDIR%%/part_providers.html
-%%DOCSDIR%%/part_tools.html
-%%DOCSDIR%%/right.png
-%%DOCSDIR%%/style.css
-%%DOCSDIR%%/transactions.html
-%%DOCSDIR%%/up.png
share/gnome/libgda/dtd/libgda-array.dtd
share/gnome/libgda/dtd/libgda-dict.dtd
%%MYSQL:%%share/gnome/libgda/mysql_specs_create_db.xml