deskutils/gnotime basically contains two ports. Split off one part into

a new port databases/qof:

QOF - Query Object Framework - library to add a query engine to C
applications with generic XML backend.  A SQL database is not needed; any
collection of C/C++ objects can act as tables.

WWW: https://alioth.debian.org/projects/qof/
This commit is contained in:
Tijl Coosemans 2014-09-06 21:51:59 +00:00
parent c648e19162
commit 10a3b8247f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=367477
5 changed files with 115 additions and 0 deletions

View file

@ -784,6 +784,7 @@
SUBDIR += pyspatialite
SUBDIR += qdbm
SUBDIR += qdbm-plus
SUBDIR += qof
SUBDIR += qt4-ibase-plugin
SUBDIR += qt4-mysql-plugin
SUBDIR += qt4-odbc-plugin

43
databases/qof/Makefile Normal file
View file

@ -0,0 +1,43 @@
# $FreeBSD$
PORTNAME= qof
PORTVERSION= 0.8.7
CATEGORIES= databases
MASTER_SITES= DEBIAN_POOL
DISTNAME= qof_${PORTVERSION}.orig
MAINTAINER= ports@FreeBSD.org
COMMENT= Query Object Framework
LICENSE= GPLv2 # (or later)
LICENSE_FILE= ${WRKSRC}/COPYING
CONFLICTS_INSTALL= gnotime-2.[0-3]* gnotime-2.4.0* gnotime-2.4.1 gnotime-2.4.1_[12]*
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-doxygen --disable-gdasql --disable-sqlite
CPPFLAGS+= -I${LOCALBASE}/include
LIBS+= -L${LOCALBASE}/lib
INSTALL_TARGET= install-strip
USES= gmake libtool pathfix pkgconfig
USE_GNOME= glib20 libxml2
USE_LDCONFIG= yes
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
OPTIONS_DEFINE= NLS
OPTIONS_SUB= yes
NLS_USES= gettext
NLS_CONFIGURE_ENABLE= nls
post-patch:
@${REINPLACE_CMD} -e '/CFLAGS=/s|-g2||' ${WRKSRC}/configure
@${REINPLACE_CMD} -e 's|__isleap|qof_date_isleap|' \
${WRKSRC}/qof/qofdate.c
@${REINPLACE_CMD} -e '/^AM_CFLAGS =/s|-g||' \
${WRKSRC}/lib/libsql/Makefile.in \
${WRKSRC}/qof/Makefile.in
@${REINPLACE_CMD} -e '/^sql_parse_test_DEPENDENCIES =/s/$$/ libqofsql.la/' \
${WRKSRC}/lib/libsql/Makefile.in
.include <bsd.port.mk>

2
databases/qof/distinfo Normal file
View file

@ -0,0 +1,2 @@
SHA256 (qof_0.8.7.orig.tar.gz) = 86fd671390dc13ee6fd2e1e13775786c518b0ebff5e886f27bbd394de1e73094
SIZE (qof_0.8.7.orig.tar.gz) = 932957

5
databases/qof/pkg-descr Normal file
View file

@ -0,0 +1,5 @@
QOF - Query Object Framework - library to add a query engine to C
applications with generic XML backend. A SQL database is not needed; any
collection of C/C++ objects can act as tables.
WWW: https://alioth.debian.org/projects/qof/

64
databases/qof/pkg-plist Normal file
View file

@ -0,0 +1,64 @@
include/qof/guid.h
include/qof/kvpframe.h
include/qof/kvputil.h
include/qof/qof-backend-qsf.h
include/qof/qof.h
include/qof/qofbackend-p.h
include/qof/qofbackend.h
include/qof/qofbook.h
include/qof/qofbookmerge.h
include/qof/qofchoice.h
include/qof/qofclass.h
include/qof/qofdate.h
include/qof/qoferror.h
include/qof/qofevent.h
include/qof/qofgobj.h
include/qof/qofid-p.h
include/qof/qofid.h
include/qof/qofinstance-p.h
include/qof/qofinstance.h
include/qof/qoflog.h
include/qof/qofnumeric.h
include/qof/qofobject.h
include/qof/qofquery-p.h
include/qof/qofquery.h
include/qof/qofquerycore-p.h
include/qof/qofquerycore.h
include/qof/qofreference.h
include/qof/qofsession.h
include/qof/qofsql.h
include/qof/qoftime.h
include/qof/qofundo.h
include/qof/qofutil.h
include/qof/sql_parser.h
lib/libqof.a
lib/libqof.so
lib/libqof.so.2
lib/libqof.so.2.0.4
lib/libqofsql.a
lib/libqofsql.so
lib/libqofsql.so.1
lib/libqofsql.so.1.0.1
lib/qof2/libqof-backend-qsf.a
lib/qof2/libqof-backend-qsf.so
libdata/pkgconfig/qof.pc
%%NLS%%share/locale/cs/LC_MESSAGES/qof.mo
%%NLS%%share/locale/de/LC_MESSAGES/qof.mo
%%NLS%%share/locale/fr/LC_MESSAGES/qof.mo
%%NLS%%share/locale/id/LC_MESSAGES/qof.mo
%%NLS%%share/locale/it/LC_MESSAGES/qof.mo
%%NLS%%share/locale/pt/LC_MESSAGES/qof.mo
%%NLS%%share/locale/pt_BR/LC_MESSAGES/qof.mo
%%NLS%%share/locale/ro/LC_MESSAGES/qof.mo
%%NLS%%share/locale/ru/LC_MESSAGES/qof.mo
%%NLS%%share/locale/sv/LC_MESSAGES/qof.mo
%%NLS%%share/locale/vi/LC_MESSAGES/qof.mo
%%NLS%%share/locale/zh_CN/LC_MESSAGES/qof.mo
share/xml/qof/qsf/pilot-qsf-GnuCashInvoice.xml
share/xml/qof/qsf/pilot-qsf-gncCustomer.xml
share/xml/qof/qsf/qsf-map.xsd.xml
share/xml/qof/qsf/qsf-object.xsd.xml
@dirrm share/xml/qof/qsf
@dirrm share/xml/qof
@dirrm lib/qof2
@dirrm include/qof