aboutsummaryrefslogtreecommitdiff
path: root/finance
diff options
context:
space:
mode:
authorAdriaan de Groot <adridg@FreeBSD.org>2020-01-01 21:22:19 +0000
committerAdriaan de Groot <adridg@FreeBSD.org>2020-01-01 21:22:19 +0000
commit14cbef3090df4d7e630992a2f00450c5b9c6bfa9 (patch)
treefe2880ac4ed52d061a68a066765d1b9ad38180d5 /finance
parenta44dd8d7c54d967d12e91c43fb8d84e38d61bbc8 (diff)
downloadports-14cbef3090df4d7e630992a2f00450c5b9c6bfa9.tar.gz
ports-14cbef3090df4d7e630992a2f00450c5b9c6bfa9.zip
Notes
Diffstat (limited to 'finance')
-rw-r--r--finance/Makefile1
-rw-r--r--finance/kraft/Makefile26
-rw-r--r--finance/kraft/distinfo3
-rw-r--r--finance/kraft/files/patch-CMakeLists.txt12
-rw-r--r--finance/kraft/files/patch-src_models_datemodel.cpp11
-rw-r--r--finance/kraft/pkg-descr23
-rw-r--r--finance/kraft/pkg-plist97
7 files changed, 173 insertions, 0 deletions
diff --git a/finance/Makefile b/finance/Makefile
index 9e7ea94f38f7..366c89b0deed 100644
--- a/finance/Makefile
+++ b/finance/Makefile
@@ -38,6 +38,7 @@
SUBDIR += homebank
SUBDIR += jgnash
SUBDIR += kmymoney
+ SUBDIR += kraft
SUBDIR += ktoblzcheck
SUBDIR += ledger
SUBDIR += ledgersmb12
diff --git a/finance/kraft/Makefile b/finance/kraft/Makefile
new file mode 100644
index 000000000000..2794e8045f52
--- /dev/null
+++ b/finance/kraft/Makefile
@@ -0,0 +1,26 @@
+# $FreeBSD$
+
+PORTNAME= kraft
+DISTVERSIONPREFIX= v
+DISTVERSION= 0.90
+CATEGORIES= finance kde
+
+MAINTAINER= kde@FreeBSD.org
+COMMENT= Manage invoices and documents for small companies
+
+LICENSE= GPLv2
+LICENSE_FILE= ${WRKSRC}/COPYING
+
+LIB_DEPENDS+=libctemplate.so:textproc/google-ctemplate
+
+USES= cmake kde:5 qt:5
+USE_KDE= akonadi akonadicontacts \
+ auth codecs config configwidgets contacts coreaddons \
+ i18n itemmodels widgetsaddons
+USE_QT= core dbus gui sql widgets xml \
+ buildtools_build qmake_build
+
+USE_GITHUB= yes
+GH_ACCOUNT= dragotin
+
+.include <bsd.port.mk>
diff --git a/finance/kraft/distinfo b/finance/kraft/distinfo
new file mode 100644
index 000000000000..50c47dd0a406
--- /dev/null
+++ b/finance/kraft/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1577908318
+SHA256 (dragotin-kraft-v0.90_GH0.tar.gz) = 53d8e1afd6a0e9554a5bde44b654c11130f9ac43327759772351710ae1cb6f6b
+SIZE (dragotin-kraft-v0.90_GH0.tar.gz) = 705767
diff --git a/finance/kraft/files/patch-CMakeLists.txt b/finance/kraft/files/patch-CMakeLists.txt
new file mode 100644
index 000000000000..b713503bc9a0
--- /dev/null
+++ b/finance/kraft/files/patch-CMakeLists.txt
@@ -0,0 +1,12 @@
+--- CMakeLists.txt.orig 2020-01-01 20:22:21 UTC
++++ CMakeLists.txt
+@@ -60,7 +60,8 @@ endif()
+
+ find_package(Ctemplate REQUIRED)
+
+-set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-suggest-override")
++# Not applicable to base clang in 12.0
++# set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-suggest-override")
+ # disable the warning about null-pointer zero. FIXME.
+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-zero-as-null-pointer-constant")
+ #option(QTINDICATE_DISABLE "Disable support for notifications via indicator")
diff --git a/finance/kraft/files/patch-src_models_datemodel.cpp b/finance/kraft/files/patch-src_models_datemodel.cpp
new file mode 100644
index 000000000000..64641d928207
--- /dev/null
+++ b/finance/kraft/files/patch-src_models_datemodel.cpp
@@ -0,0 +1,11 @@
+--- src/models/datemodel.cpp.orig 2020-01-01 20:28:31 UTC
++++ src/models/datemodel.cpp
+@@ -347,8 +347,6 @@ void DateModel::setYearCountColumn( int column )
+ }
+ }
+
+-void DateModel::setYearCountColumn( int column );
+-
+ TreeItem *DateModel::findYearItem(int year)
+ {
+ TreeItem *yearItem = NULL;
diff --git a/finance/kraft/pkg-descr b/finance/kraft/pkg-descr
new file mode 100644
index 000000000000..0cd2c676d866
--- /dev/null
+++ b/finance/kraft/pkg-descr
@@ -0,0 +1,23 @@
+Kraft is a free software project that helps to create office documents
+especially for small enterprise operators such as handcrafters. These
+features are provided:
+
+ - Customer management, deeply integrated in the KDE infrastructure
+ using KAddressbook
+ - Automatted creation of offers, invoices and similar documents
+ - Text templates
+ - Material management
+
+Kraft comes with a very clear and simple user interface. The central
+form to work on a document provides a good overview over the entire
+document but avoids overwhelming display of not needed information.
+In the Focus there is always the currently important area such as
+document header, item list or document footer.
+
+Kraft supports calculated items in documents, items with manually
+entered pricing and On-Demand and alternative items.
+Documents can be copied completely to shorten the step to create similar
+documents. Followup documents such as an invoice following an offer can
+be created from the predocuments easily.
+
+WWW: http://volle-kraft-voraus.de/
diff --git a/finance/kraft/pkg-plist b/finance/kraft/pkg-plist
new file mode 100644
index 000000000000..9e95c3ac713b
--- /dev/null
+++ b/finance/kraft/pkg-plist
@@ -0,0 +1,97 @@
+bin/findcontact
+bin/kraft
+share/applications/de.volle_kraft_voraus.kraft.desktop
+share/config.kcfg/databasesettings.kcfg
+share/config.kcfg/kraftsettings.kcfg
+share/icons/hicolor/16x16/actions/kraft_alternative.png
+share/icons/hicolor/16x16/actions/kraft_demand.png
+share/icons/hicolor/16x16/actions/kraft_fulltax.png
+share/icons/hicolor/16x16/actions/kraft_notax.png
+share/icons/hicolor/16x16/actions/kraft_redtax.png
+share/icons/hicolor/16x16/apps/kraft.png
+share/icons/hicolor/22x22/actions/kraftdice.png
+share/icons/hicolor/32x32/apps/kraft.png
+share/icons/hicolor/48x48/apps/kraft.png
+share/icons/hicolor/scalable/apps/kraft.svg
+share/icons/hicolor/scalable/apps/kraft_catalogue.svg
+%%DATADIR%%/dbinit/mysql/create_schema.sql
+%%DATADIR%%/dbinit/mysql/fill_schema_de.sql
+%%DATADIR%%/dbinit/mysql/fill_schema_en.sql
+%%DATADIR%%/dbinit/sqlite3/create_schema.sql
+%%DATADIR%%/dbinit/sqlite3/fill_schema_de.sql
+%%DATADIR%%/dbinit/sqlite3/fill_schema_en.sql
+%%DATADIR%%/dbmigrate/mysql/10_dbmigrate.sql
+%%DATADIR%%/dbmigrate/mysql/11_dbmigrate.sql
+%%DATADIR%%/dbmigrate/mysql/12_dbmigrate.sql
+%%DATADIR%%/dbmigrate/mysql/13_dbmigrate.sql
+%%DATADIR%%/dbmigrate/mysql/14_dbmigrate.sql
+%%DATADIR%%/dbmigrate/mysql/15_dbmigrate.sql
+%%DATADIR%%/dbmigrate/mysql/16_dbmigrate.sql
+%%DATADIR%%/dbmigrate/mysql/17_dbmigrate.sql
+%%DATADIR%%/dbmigrate/mysql/18_dbmigrate.sql
+%%DATADIR%%/dbmigrate/mysql/19_dbmigrate.sql
+%%DATADIR%%/dbmigrate/mysql/20_dbmigrate.sql
+%%DATADIR%%/dbmigrate/mysql/21_dbmigrate.sql
+%%DATADIR%%/dbmigrate/mysql/2_dbmigrate.sql
+%%DATADIR%%/dbmigrate/mysql/3_dbmigrate.sql
+%%DATADIR%%/dbmigrate/mysql/4_dbmigrate.sql
+%%DATADIR%%/dbmigrate/mysql/5_dbmigrate.sql
+%%DATADIR%%/dbmigrate/mysql/6_dbmigrate.sql
+%%DATADIR%%/dbmigrate/mysql/7_dbmigrate.sql
+%%DATADIR%%/dbmigrate/mysql/8_dbmigrate.sql
+%%DATADIR%%/dbmigrate/mysql/9_dbmigrate.sql
+%%DATADIR%%/dbmigrate/mysql/README
+%%DATADIR%%/dbmigrate/sqlite3/10_dbmigrate.sql
+%%DATADIR%%/dbmigrate/sqlite3/11_dbmigrate.sql
+%%DATADIR%%/dbmigrate/sqlite3/12_dbmigrate.sql
+%%DATADIR%%/dbmigrate/sqlite3/13_dbmigrate.sql
+%%DATADIR%%/dbmigrate/sqlite3/14_dbmigrate.sql
+%%DATADIR%%/dbmigrate/sqlite3/15_dbmigrate.sql
+%%DATADIR%%/dbmigrate/sqlite3/16_dbmigrate.sql
+%%DATADIR%%/dbmigrate/sqlite3/17_dbmigrate.sql
+%%DATADIR%%/dbmigrate/sqlite3/18_dbmigrate.sql
+%%DATADIR%%/dbmigrate/sqlite3/19_dbmigrate.sql
+%%DATADIR%%/dbmigrate/sqlite3/20_dbmigrate.sql
+%%DATADIR%%/dbmigrate/sqlite3/21_dbmigrate.sql
+%%DATADIR%%/dbmigrate/sqlite3/2_dbmigrate.sql
+%%DATADIR%%/dbmigrate/sqlite3/3_dbmigrate.sql
+%%DATADIR%%/dbmigrate/sqlite3/4_dbmigrate.sql
+%%DATADIR%%/dbmigrate/sqlite3/5_dbmigrate.sql
+%%DATADIR%%/dbmigrate/sqlite3/6_dbmigrate.sql
+%%DATADIR%%/dbmigrate/sqlite3/7_dbmigrate.sql
+%%DATADIR%%/dbmigrate/sqlite3/8_dbmigrate.sql
+%%DATADIR%%/dbmigrate/sqlite3/9_dbmigrate.sql
+%%DATADIR%%/importfilter/positions/standard_txt.ftr
+%%DATADIR%%/importfilter/positions/woerlein_txt.ftr
+%%DATADIR%%/meta/21_meta.xml
+%%DATADIR%%/pics/kraftapp_logo.png
+%%DATADIR%%/pics/kraftsplash.png
+%%DATADIR%%/reports/delivery_receipt.trml
+%%DATADIR%%/reports/images/docdigestdetailview/kraft_customer.png
+%%DATADIR%%/reports/images/docdigestdetailview/postit.png
+%%DATADIR%%/reports/images/identity.png
+%%DATADIR%%/reports/images/lurchie.png
+%%DATADIR%%/reports/invoice.trml
+%%DATADIR%%/styles/catalogview.css
+%%DATADIR%%/styles/docdigestview.css
+%%DATADIR%%/styles/docoverview.css
+%%DATADIR%%/styles/docoverview_ro.css
+%%DATADIR%%/styles/pics/docoverviewbg.png
+%%DATADIR%%/styles/pics/kraft_customer.png
+%%DATADIR%%/styles/pics/kraftapp_logo_trans.png
+%%DATADIR%%/styles/pics/postit.png
+%%DATADIR%%/styles/systemview.css
+%%DATADIR%%/styles/templcatalog.style
+%%DATADIR%%/tools/erml2pdf.py
+%%DATADIR%%/views/docdigest.thtml
+%%DATADIR%%/views/identity.thtml
+%%DATADIR%%/views/kraftdoc_ro.thtml
+%%DATADIR%%/views/monthdigest.thtml
+%%DATADIR%%/views/systemviewdetails.thtml
+%%DATADIR%%/views/systemviewerror.thtml
+%%DATADIR%%/views/yeardigest.thtml
+share/kxmlgui5/kraft/katalogview.rc
+share/kxmlgui5/kraft/kraftui.rc
+share/locale/de/LC_MESSAGES/kraft.mo
+share/locale/nl/LC_MESSAGES/kraft.mo
+share/metainfo/de.volle_kraft_voraus.kraft.appdata.xml