diff options
author | Sergey Matveychuk <sem@FreeBSD.org> | 2004-12-03 17:05:23 +0000 |
---|---|---|
committer | Sergey Matveychuk <sem@FreeBSD.org> | 2004-12-03 17:05:23 +0000 |
commit | e3800f24482d65ed00e563efc00b063197e89922 (patch) | |
tree | f637c61d80ebc63138a145670c503de817012d5c /databases/hk_classes | |
parent | a23cf173dc980766ab96d3e7663eec4d88679ebd (diff) | |
download | ports-e3800f24482d65ed00e563efc00b063197e89922.tar.gz ports-e3800f24482d65ed00e563efc00b063197e89922.zip |
Notes
Diffstat (limited to 'databases/hk_classes')
-rw-r--r-- | databases/hk_classes/Makefile | 21 | ||||
-rw-r--r-- | databases/hk_classes/distinfo | 4 | ||||
-rw-r--r-- | databases/hk_classes/pkg-plist | 10 |
3 files changed, 25 insertions, 10 deletions
diff --git a/databases/hk_classes/Makefile b/databases/hk_classes/Makefile index 3b8b8ce9b788..ab19e334c0de 100644 --- a/databases/hk_classes/Makefile +++ b/databases/hk_classes/Makefile @@ -5,7 +5,7 @@ # $FreeBSD$ PORTNAME= hk_classes -PORTVERSION= 0.7.1 +PORTVERSION= 0.7.2 CATEGORIES= databases MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= hk-classes @@ -31,7 +31,8 @@ LDCONFIG_DIRS+= ${PREFIX}/lib/hk_classes/ OPTIONS= MYSQL "Build MySQL driver" on \ POSTGRESQL "Build PostrgreSQL driver" off \ ODBC "Build unixODBC driver" off \ - SQLITE "Build with sqlite2 driver" off + SQLITE2 "Build with sqlite2 driver" off \ + SQLITE3 "Build with sqlite3 driver" off MAN1= hk_report.1man hk_actionquery.1man hk_exportxml.1man \ hk_exporthtml.1man hk_exportcsv.1man hk_importcsv.1man @@ -73,14 +74,24 @@ CONFIGURE_ARGS+= --without-odbc PLIST_SUB+= ODBC="@comment " .endif -.if defined(WITH_SQLITE) +.if defined(WITH_SQLITE2) LIB_DEPENDS+= sqlite.2:${PORTSDIR}/databases/sqlite2 CONFIGURE_ARGS+= --with-sqlite-incdir=${LOCALBASE}/include/\ --with-sqlite-libdir=${LOCALBASE}/lib -PLIST_SUB+= SQLITE="" +PLIST_SUB+= SQLITE2="" .else CONFIGURE_ARGS+= --without-sqlite -PLIST_SUB+= SQLITE="@comment " +PLIST_SUB+= SQLITE2="@comment " +.endif + +.if defined(WITH_SQLITE3) +LIB_DEPENDS+= sqlite3:${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-install: diff --git a/databases/hk_classes/distinfo b/databases/hk_classes/distinfo index 820ba6861b4c..07d56c4a0fc4 100644 --- a/databases/hk_classes/distinfo +++ b/databases/hk_classes/distinfo @@ -1,2 +1,2 @@ -MD5 (hk_classes-0.7.1.tar.bz2) = 7f114a568f695488cb6194bde66d31fb -SIZE (hk_classes-0.7.1.tar.bz2) = 518136 +MD5 (hk_classes-0.7.2.tar.bz2) = e7a9210791432a2458e7e174d84d5a0a +SIZE (hk_classes-0.7.2.tar.bz2) = 536903 diff --git a/databases/hk_classes/pkg-plist b/databases/hk_classes/pkg-plist index f48fe5abe2ce..2b36590e2587 100644 --- a/databases/hk_classes/pkg-plist +++ b/databases/hk_classes/pkg-plist @@ -47,6 +47,7 @@ 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_url.h include/hk_classes/hk_visible.h %%MYSQL%%lib/hk_classes/drivers/libhk_mysqldriver.la %%MYSQL%%lib/hk_classes/drivers/libhk_mysqldriver.so @@ -57,9 +58,12 @@ include/hk_classes/hk_visible.h %%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 -%%SQLITE%%lib/hk_classes/drivers/libhk_sqlite2driver.la -%%SQLITE%%lib/hk_classes/drivers/libhk_sqlite2driver.so -%%SQLITE%%lib/hk_classes/drivers/libhk_sqlite2driver.so.0 +%%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.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 |