diff options
Diffstat (limited to 'databases/hk_classes')
-rw-r--r-- | databases/hk_classes/Makefile | 147 | ||||
-rw-r--r-- | databases/hk_classes/distinfo | 2 | ||||
-rw-r--r-- | databases/hk_classes/files/hk_classes.sh | 15 | ||||
-rw-r--r-- | databases/hk_classes/files/patch-configure | 11 | ||||
-rw-r--r-- | databases/hk_classes/files/patch-hk_classes_hk_database.h | 10 | ||||
-rw-r--r-- | databases/hk_classes/files/patch-utilities_Makefile.in | 33 | ||||
-rw-r--r-- | databases/hk_classes/pkg-descr | 21 | ||||
-rw-r--r-- | databases/hk_classes/pkg-plist | 90 |
8 files changed, 0 insertions, 329 deletions
diff --git a/databases/hk_classes/Makefile b/databases/hk_classes/Makefile deleted file mode 100644 index e5dfa33b30b2..000000000000 --- a/databases/hk_classes/Makefile +++ /dev/null @@ -1,147 +0,0 @@ -# Created by: arved -# $FreeBSD$ - -PORTNAME= hk_classes -PORTVERSION= 0.8.3 -PORTREVISION= 2 -CATEGORIES= databases -MASTER_SITES= SF/hk-classes/${PORTNAME}/${PORTVERSION} - -MAINTAINER= ports@FreeBSD.org -COMMENT= C++ Library for rapid development of database applications - -BUILD_DEPENDS= ${LOCALBASE}/include/argp.h:${PORTSDIR}/devel/argp-standalone -LIB_DEPENDS= libfontconfig.so:${PORTSDIR}/x11-fonts/fontconfig \ - libxml2.so:${PORTSDIR}/textproc/libxml2 - -USES= pkgconfig gettext iconv tar:bzip2 -USE_PYTHON= yes -LIBS+= -L${LOCALBASE}/lib -largp -lintl -USE_AUTOTOOLS= libtool -CONFIGURE_ENV+= PYTHON_VERSION=${PYTHON_VERSION:S/python//} -CONFIGURE_ARGS+=--with-python-libdir=${PYTHON_LIBDIR} \ - --with-python-incdir=${PYTHON_INCLUDEDIR} \ - --with-fontconfig-incdir=${LOCALBASE}/include/fontconfig \ - --with-fontconfig-libdir=${LOCALBASE}/lib \ - --without-firebird -USE_LDCONFIG= ${PREFIX}/lib/hk_classes/ - -INSTALLS_EGGINFO= yes -PYDISTUTILS_PKGVERSION= 1.1 - -NOT_FOR_ARCHS= ia64 -NOT_FOR_ARCHS_REASON_ia64= Does not build - -OPTIONS_DEFINE= MYSQL PGSQL ODBC PARADOX SQLITE2 SQLITE3 DBASE -OPTIONS_DEFAULT= MYSQL -SQLITE3_DESC= Enable SQLite 3 backend -SQLITE2_DESC= Enable SQLite 2 backend -PARADOX_DESC= Enable paradox backend -DBASE_DESC= Enable Dbase backend - -NO_STAGE= yes -.include <bsd.port.options.mk> - -.if ${PORT_OPTIONS:MMYSQL} -USE_MYSQL= yes -CONFIGURE_ARGS+= --with-mysql-dir=${LOCALBASE} \ - --with-mysql-incdir=${LOCALBASE}/include/mysql \ - --with-mysql-libdir=${LOCALBASE}/lib/mysql -CONFIGURE_ENV+= LIBS="-L${LOCALBASE}/lib -L${LOCALBASE}/lib/mysql" -CPPFLAGS+= -I${LOCALBASE}/include -PLIST_SUB+= MYSQL="" -.else -CONFIGURE_ARGS+= --without-mysql -PLIST_SUB+= MYSQL="@comment " -.endif - -.if ${PORT_OPTIONS:MDBASE} -PLIST_SUB+= DBASE="" -.else -CONFIGURE_ARGS+= --without-dbase -PLIST_SUB+= DBASE="@comment " -.endif - -.if ${PORT_OPTIONS:MPOSTGRESQL} -USES+= pgsql -CONFIGURE_ARGS+= --with-postgres-incdir=${LOCALBASE}/include/ \ - --with-postgres-libdir=${LOCALBASE}/lib -CONFIGURE_ENV+= LIBS="-L${LOCALBASE}/lib" -CPPFLAGS+= -I${LOCALBASE}/include -PLIST_SUB+= POSTGRESQL="" -.else -CONFIGURE_ARGS+= --without-postgres -PLIST_SUB+= POSTGRESQL="@comment " -.endif - -.if ${PORT_OPTIONS:MODBC} -LIB_DEPENDS+= libodbc.so:${PORTSDIR}/databases/unixODBC -CONFIGURE_ARGS+= --with-odbc-incdir=${LOCALBASE}/include/\ - --with-odbc-libdir=${LOCALBASE}/lib -PLIST_SUB+= ODBC="" -.else -CONFIGURE_ARGS+= --without-odbc -PLIST_SUB+= ODBC="@comment " -.endif - -.if ${PORT_OPTIONS:MPARADOX} -LIB_DEPENDS+= libpx.so:${PORTSDIR}/databases/pxlib -CONFIGURE_ARGS+= --with-paradox-incdir=${LOCALBASE}/include/\ - --with-paradox-libdir=${LOCALBASE}/lib -PLIST_SUB+= PARADOX="" -.else -CONFIGURE_ARGS+= --without-paradox -PLIST_SUB+= PARADOX="@comment " -.endif - -# XXX does not work yet -.if ${PORT_OPTIONS:MMSACCESS} -LIB_DEPENDS+= libmdb.so:${PORTSDIR}/databases/mdbtools -CONFIGURE_ARGS+= --with-mdb-incdir=${LOCALBASE}/include/\ - --with-mdb-libdir=${LOCALBASE}/lib -PLIST_SUB+= MSACCESS="" -.else -CONFIGURE_ARGS+= --without-mdb -PLIST_SUB+= MSACCESS="@comment " -.endif - -# XXX does not work yet -CONFIGURE_ARGS+= --without-xbase - -.if ${PORT_OPTIONS:MSQLITE2} -LIB_DEPENDS+= libsqlite.so.2:${PORTSDIR}/databases/sqlite2 -CONFIGURE_ARGS+= --with-sqlite-incdir=${LOCALBASE}/include/\ - --with-sqlite-libdir=${LOCALBASE}/lib -PLIST_SUB+= SQLITE2="" -.else -CONFIGURE_ARGS+= --without-sqlite -PLIST_SUB+= SQLITE2="@comment " -.endif - -.if ${PORT_OPTIONS:MSQLITE3} -LIB_DEPENDS+= libsqlite3.so:${PORTSDIR}/databases/sqlite3 -CONFIGURE_ARGS+= --with-sqlite-incdir3=${LOCALBASE}/include/\ - --with-sqlite-libdir3=${LOCALBASE}/lib -PLIST_SUB+= SQLITE3="" -.else -CONFIGURE_ARGS+= --without-sqlite3 -PLIST_SUB+= SQLITE3="@comment " -.endif - -post-patch: - ${REINPLACE_CMD} -e "s|INCLUDES = -I../hk_classes \ - -I./pxlib|INCLUDES = -I../hk_classes -I./pxlib \ - -I${LOCALBASE}/include|g" \ - ${WRKSRC}/hk_paradoxclasses/Makefile.in - ${REINPLACE_CMD} -e "s|python setup.py|${PYTHON_CMD} setup.py|" \ - ${WRKSRC}/python/Makefile.in - -post-configure: - ${REINPLACE_CMD} -e "s| -I|','|g" ${WRKSRC}/python/setup.py - -post-install: - @${SED} -e 's#%%PREFIX%%#${PREFIX}#' ${FILESDIR}/hk_classes.sh > \ - ${PREFIX}/etc/rc.d/hk_classes.sh; \ - ${CHMOD} a+x ${PREFIX}/etc/rc.d/hk_classes.sh - -.include <bsd.port.mk> diff --git a/databases/hk_classes/distinfo b/databases/hk_classes/distinfo deleted file mode 100644 index c509e3118074..000000000000 --- a/databases/hk_classes/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (hk_classes-0.8.3.tar.bz2) = d57a8a2f3c2fb534e01ee5d7b6c5bb650536f20cb7e88a721ec9da7b5befb593 -SIZE (hk_classes-0.8.3.tar.bz2) = 1532249 diff --git a/databases/hk_classes/files/hk_classes.sh b/databases/hk_classes/files/hk_classes.sh deleted file mode 100644 index 708f8e699cea..000000000000 --- a/databases/hk_classes/files/hk_classes.sh +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/sh - -case "$1" in - start) - /sbin/ldconfig -m %%PREFIX%%/lib/hk_classes - ;; - stop) - ;; - *) - echo "" - echo "Usage: `basename $0` { start | stop }" - echo "" - exit 64 - ;; -esac diff --git a/databases/hk_classes/files/patch-configure b/databases/hk_classes/files/patch-configure deleted file mode 100644 index 0bf44059a194..000000000000 --- a/databases/hk_classes/files/patch-configure +++ /dev/null @@ -1,11 +0,0 @@ ---- configure.orig 2006-12-17 15:27:45.000000000 +0100 -+++ configure 2012-02-19 20:23:04.014494956 +0100 -@@ -20681,7 +20681,7 @@ - py_version=`$PYTHON -c "from distutils.sysconfig import *; \ - from string import join; \ - print join(get_config_vars('VERSION'))"` -- if test "$py_version" == "None"; then -+ if test "$py_version" = "None"; then - if test -n "$PYTHON_VERSION"; then - py_version=$PYTHON_VERSION - else diff --git a/databases/hk_classes/files/patch-hk_classes_hk_database.h b/databases/hk_classes/files/patch-hk_classes_hk_database.h deleted file mode 100644 index cd537d133b9b..000000000000 --- a/databases/hk_classes/files/patch-hk_classes_hk_database.h +++ /dev/null @@ -1,10 +0,0 @@ ---- hk_classes/hk_database.h.orig Thu Jul 15 22:02:22 2004 -+++ hk_classes/hk_database.h Thu Jul 15 22:02:36 2004 -@@ -14,6 +14,7 @@ - #include <list> - #include <vector> - #include <algorithm> -+#include <sstream> - #include "hk_presentation.h" - using namespace std; - diff --git a/databases/hk_classes/files/patch-utilities_Makefile.in b/databases/hk_classes/files/patch-utilities_Makefile.in deleted file mode 100644 index 2c77b7e8d89d..000000000000 --- a/databases/hk_classes/files/patch-utilities_Makefile.in +++ /dev/null @@ -1,33 +0,0 @@ ---- utilities/Makefile.in.orig 2006-12-17 15:27:52.000000000 +0100 -+++ utilities/Makefile.in 2012-02-19 19:21:04.761495232 +0100 -@@ -248,22 +248,22 @@ - target_alias = @target_alias@ - INCLUDES = -I../hk_classes - AM_CXXFLAGS = -Wall -W -Wconversion -Wshadow -Wcast-qual -Wwrite-strings -I@XMLINCLUDE@ @BITARCHITECTURE@ --hk_report_LDADD = ../hk_classes/libhk_classes.la -ldl -+hk_report_LDADD = ../hk_classes/libhk_classes.la -largp ${LIBPTHREAD} - hk_report_SOURCES = hk_reportutility.cpp - --#hk_webform_LDADD = ../hk_classes/libhk_classes.la -ldl -+#hk_webform_LDADD = ../hk_classes/libhk_classes.la -largp ${LIBPTHREAD} - #hk_webform_SOURCES = hk_webformutility.cpp --hk_actionquery_LDADD = ../hk_classes/libhk_classes.la -ldl -+hk_actionquery_LDADD = ../hk_classes/libhk_classes.la -largp ${LIBPTHREAD} - hk_actionquery_SOURCES = hk_actionqueryutility.cpp --hk_exportxml_LDADD = ../hk_classes/libhk_classes.la -ldl -+hk_exportxml_LDADD = ../hk_classes/libhk_classes.la -largp ${LIBPTHREAD} - hk_exportxml_SOURCES = hk_exportxmlutility.cpp --hk_exportcsv_LDADD = ../hk_classes/libhk_classes.la -ldl -+hk_exportcsv_LDADD = ../hk_classes/libhk_classes.la -largp ${LIBPTHREAD} - hk_exportcsv_SOURCES = hk_exportcsvutility.cpp --hk_exporthtml_LDADD = ../hk_classes/libhk_classes.la -ldl -+hk_exporthtml_LDADD = ../hk_classes/libhk_classes.la -largp ${LIBPTHREAD} - hk_exporthtml_SOURCES = hk_exporthtmlutility.cpp --hk_importcsv_LDADD = ../hk_classes/libhk_classes.la -ldl -+hk_importcsv_LDADD = ../hk_classes/libhk_classes.la -largp ${LIBPTHREAD} - hk_importcsv_SOURCES = hk_importcsvutility.cpp --hk_dbcopy_LDFLAGS = -lhk_classes -ldl -L../hk_classes -+hk_dbcopy_LDFLAGS = -lhk_classes -largp ${LIBPTHREAD} -L../hk_classes - hk_dbcopy_SOURCES = hk_dbcopyutility.cpp - man_MANS = hk_report.1man hk_actionquery.1man hk_dbcopy.1man hk_exportxml.1man \ - hk_exporthtml.1man hk_exportcsv.1man hk_importcsv.1man diff --git a/databases/hk_classes/pkg-descr b/databases/hk_classes/pkg-descr deleted file mode 100644 index 9e00a484da92..000000000000 --- a/databases/hk_classes/pkg-descr +++ /dev/null @@ -1,21 +0,0 @@ -hk_classes is C++ library which allows rapid development of database -applications with all features a modern database application should -have like forms an reports. hk_classes is database and GUI independent. -In combination with hk_kdeclasses (which is part of the knoda package) -it supports the rapid development of database applications for KDE. - -hk_classes allows you to: - * connect to a database server ( Dbase/Xbase, Firebird, - MS Access/Mdbtools, Mysql, Paradox, Postgresql, SQLite or ODBC); - * create and delete databases; - * create, alter and delete tables and indices; - * add, change and delete data in tables; - * define, execute and store sql queries; - * create, alter and delete views; - * import and export CSV data; - * define and use forms; and - * define and print reports - * write your own scripts in Python - * use reports and queries in your own scripts with the command line tools - -WWW: http://hk-classes.sourceforge.net/ diff --git a/databases/hk_classes/pkg-plist b/databases/hk_classes/pkg-plist deleted file mode 100644 index 293ec93dea67..000000000000 --- a/databases/hk_classes/pkg-plist +++ /dev/null @@ -1,90 +0,0 @@ -etc/rc.d/hk_classes.sh -include/hk_classes/hk_actionquery.h -include/hk_classes/hk_button.h -include/hk_classes/hk_class.h -include/hk_classes/hk_classes.h -include/hk_classes/hk_colour.h -include/hk_classes/hk_column.h -include/hk_classes/hk_connection.h -include/hk_classes/hk_data.h -include/hk_classes/hk_database.h -include/hk_classes/hk_datasource.h -include/hk_classes/hk_datetime.h -include/hk_classes/hk_dbvisible.h -include/hk_classes/hk_definitions.h -include/hk_classes/hk_drivermanager.h -include/hk_classes/hk_dsboolean.h -include/hk_classes/hk_dscombobox.h -include/hk_classes/hk_dsdatavisible.h -include/hk_classes/hk_dsdate.h -include/hk_classes/hk_dsgrid.h -include/hk_classes/hk_dsgridcolumn.h -include/hk_classes/hk_dsimage.h -include/hk_classes/hk_dslineedit.h -include/hk_classes/hk_dsmemo.h -include/hk_classes/hk_dsmodevisible.h -include/hk_classes/hk_dsquery.h -include/hk_classes/hk_dsrowselector.h -include/hk_classes/hk_dstable.h -include/hk_classes/hk_dsvisible.h -include/hk_classes/hk_font.h -include/hk_classes/hk_form.h -include/hk_classes/hk_importcsv.h -include/hk_classes/hk_interpreter.h -include/hk_classes/hk_key.h -include/hk_classes/hk_label.h -include/hk_classes/hk_mimetype.h -include/hk_classes/hk_module.h -include/hk_classes/hk_presentation.h -include/hk_classes/hk_qbe.h -include/hk_classes/hk_referentialintegrity.h -include/hk_classes/hk_report.h -include/hk_classes/hk_reportdata.h -include/hk_classes/hk_reportsection.h -include/hk_classes/hk_reportsectionpair.h -include/hk_classes/hk_reportutils.h -include/hk_classes/hk_storagecolumn.h -include/hk_classes/hk_storagedatasource.h -include/hk_classes/hk_string.h -include/hk_classes/hk_subform.h -include/hk_classes/hk_tabvisible.h -include/hk_classes/hk_url.h -include/hk_classes/hk_visible.h -%%MYSQL%%lib/hk_classes/drivers/libhk_mysqldriver.a -%%MYSQL%%lib/hk_classes/drivers/libhk_mysqldriver.la -%%MYSQL%%lib/hk_classes/drivers/libhk_mysqldriver.so -%%MYSQL%%lib/hk_classes/drivers/libhk_mysqldriver.so.3 -%%DBASE%%lib/hk_classes/drivers/libhk_dbasedriver.a -%%DBASE%%lib/hk_classes/drivers/libhk_dbasedriver.la -%%DBASE%%lib/hk_classes/drivers/libhk_dbasedriver.so -%%DBASE%%lib/hk_classes/drivers/libhk_dbasedriver.so.0 -%%ODBC%%lib/hk_classes/drivers/libhk_odbcdriver.a -%%ODBC%%lib/hk_classes/drivers/libhk_odbcdriver.la -%%ODBC%%lib/hk_classes/drivers/libhk_odbcdriver.so -%%ODBC%%lib/hk_classes/drivers/libhk_odbcdriver.so.0 -%%PARADOX%%lib/hk_classes/drivers/libhk_paradoxdriver.a -%%PARADOX%%lib/hk_classes/drivers/libhk_paradoxdriver.la -%%PARADOX%%lib/hk_classes/drivers/libhk_paradoxdriver.so.0 -%%PARADOX%%lib/hk_classes/drivers/libhk_paradoxdriver.so -%%POSTGRESQL%%lib/hk_classes/drivers/libhk_postgresdriver.a -%%POSTGRESQL%%lib/hk_classes/drivers/libhk_postgresdriver.la -%%POSTGRESQL%%lib/hk_classes/drivers/libhk_postgresdriver.so -%%POSTGRESQL%%lib/hk_classes/drivers/libhk_postgresdriver.so.0 -%%SQLITE2%%lib/hk_classes/drivers/libhk_sqlite2driver.a -%%SQLITE2%%lib/hk_classes/drivers/libhk_sqlite2driver.la -%%SQLITE2%%lib/hk_classes/drivers/libhk_sqlite2driver.so -%%SQLITE2%%lib/hk_classes/drivers/libhk_sqlite2driver.so.0 -%%SQLITE3%%lib/hk_classes/drivers/libhk_sqlite3driver.a -%%SQLITE3%%lib/hk_classes/drivers/libhk_sqlite3driver.la -%%SQLITE3%%lib/hk_classes/drivers/libhk_sqlite3driver.so -%%SQLITE3%%lib/hk_classes/drivers/libhk_sqlite3driver.so.0 -%%PYTHON_SITELIBDIR%%/_hk_classes.so -%%PYTHON_SITELIBDIR%%/hk_classes.py -%%PYTHON_SITELIBDIR%%/hk_classes.pyc -lib/hk_classes/libhk_classes.a -lib/hk_classes/libhk_classes.la -lib/hk_classes/libhk_classes.so -lib/hk_classes/libhk_classes.so.15 -@dirrm lib/hk_classes/drivers -@dirrm lib/hk_classes -@dirrm include/hk_classes |