summaryrefslogtreecommitdiff
path: root/finance
diff options
context:
space:
mode:
authorCheng-Lung Sung <clsung@FreeBSD.org>2007-05-01 06:47:30 +0000
committerCheng-Lung Sung <clsung@FreeBSD.org>2007-05-01 06:47:30 +0000
commit320ab2d3b8098beefe88490342b6ded8e14b0d5c (patch)
tree7c7e1be84dfa7b0f5e73c0c4a0da69d173ba99fc /finance
parent- Update to 2.19 (diff)
Add sabernetdcs-client 2.0.3, saberNet DCS - A labor data collection
system. PR: ports/107367 Submitted by: Matthew Ranostay <mranostay at saberlogic.com>
Notes
Notes: svn path=/head/; revision=191259
Diffstat (limited to 'finance')
-rw-r--r--finance/Makefile1
-rw-r--r--finance/sabernetdcs-client/Makefile46
-rw-r--r--finance/sabernetdcs-client/distinfo3
-rw-r--r--finance/sabernetdcs-client/files/extra-patch-setup.py11
-rw-r--r--finance/sabernetdcs-client/files/patch-setup.py11
-rw-r--r--finance/sabernetdcs-client/files/sndcs2.conf22
-rw-r--r--finance/sabernetdcs-client/pkg-descr6
-rw-r--r--finance/sabernetdcs-client/pkg-plist115
8 files changed, 215 insertions, 0 deletions
diff --git a/finance/Makefile b/finance/Makefile
index 6abf31add3b5..e0a9f7b9d26e 100644
--- a/finance/Makefile
+++ b/finance/Makefile
@@ -62,6 +62,7 @@
SUBDIR += qhacc
SUBDIR += qtstalker
SUBDIR += quantlib
+ SUBDIR += sabernetdcs-client
SUBDIR += sql-ledger
SUBDIR += tinyerp-server
SUBDIR += venice
diff --git a/finance/sabernetdcs-client/Makefile b/finance/sabernetdcs-client/Makefile
new file mode 100644
index 000000000000..d6f09bbf9b39
--- /dev/null
+++ b/finance/sabernetdcs-client/Makefile
@@ -0,0 +1,46 @@
+# New ports collection makefile for: sabernetdcs
+# Date created: 29 December 2006
+# Whom: Matthew Ranostay <mranostay@saberlogic.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= sabernetdcs
+PORTVERSION= 2.0.3
+CATEGORIES= finance www
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= sabernetdcs
+PKGNAMESUFFIX= -client
+DISTNAME= sndcs-${PORTVERSION}
+
+MAINTAINER= mranostay@saberlogic.com
+COMMENT= SaberNet DCS - A labor data collection system
+
+RUN_DEPENDS= pygtk-codegen-2.0:${PORTSDIR}/x11-toolkits/py-gtk2 \
+ ${PYTHONPREFIX_SITELIBDIR}/gtk-2.0/gobject/__init__.py:${PORTSDIR}/devel/py-gobject \
+ ${PYTHONPREFIX_SITELIBDIR}/Pyro/__init__.py:${PORTSDIR}/devel/py-ro
+
+USE_PYTHON= 2.4
+USE_PYDISTUTILS= yes
+USE_BZIP2= yes
+DOCSDIR= ${TARGETDIR}/share/doc/sndcs
+DATADIR= ${TARGETDIR}/share/sndcs
+
+.if defined(NOPORTDOCS)
+EXTRA_PATCHES= ${FILESDIR}/extra-patch-setup.py
+.endif
+
+post-patch:
+ ${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' ${WRKSRC}/setup.py
+
+do-configure:
+ cd ${WRKSRC} && ${CP} "${FILESDIR}/sndcs2.conf" "sndcs/config/sndcs2.conf"
+
+post-install:
+ @${ECHO} " - - - - - - - - - - - - - - - - - - - - - - - - -"
+ @${ECHO} " SaberNet DCS Client is now installed. "
+ @${ECHO} " Change the settings in ${PREFIX}/etc/sndcs/sndcs2.conf "
+ @${ECHO} " to suit your needs. "
+ @${ECHO} " - - - - - - - - - - - - - - - - - - - - - - - - -"
+
+.include <bsd.port.mk>
diff --git a/finance/sabernetdcs-client/distinfo b/finance/sabernetdcs-client/distinfo
new file mode 100644
index 000000000000..413671c6f654
--- /dev/null
+++ b/finance/sabernetdcs-client/distinfo
@@ -0,0 +1,3 @@
+MD5 (sndcs-2.0.3.tar.bz2) = 04f6614047005a320cf7d975b3094549
+SHA256 (sndcs-2.0.3.tar.bz2) = c0f6f3030f27c9c1010aa313d9b25b4c2cb8d2803fbfe1696130c40450fb3746
+SIZE (sndcs-2.0.3.tar.bz2) = 1808042
diff --git a/finance/sabernetdcs-client/files/extra-patch-setup.py b/finance/sabernetdcs-client/files/extra-patch-setup.py
new file mode 100644
index 000000000000..ee80ba3b6c0e
--- /dev/null
+++ b/finance/sabernetdcs-client/files/extra-patch-setup.py
@@ -0,0 +1,11 @@
+--- setup.py.orig Tue Oct 3 03:09:36 2006
++++ setup.py Tue May 1 14:43:15 2007
+@@ -212,7 +212,7 @@
+ packages+=["sndcs_client", "sndcs_client.gtk"]
+ else:
+ packages+=["sndcs_client", "sndcs_common", "sndcs_client.gtk", "sndcs_client.curses"]
+- data_files+=[ ("%setc/sndcs" % (prefix), ["sndcs/config/logging.conf"]), ("share/pixmaps", ["sndcs/pixmaps/sndcs.png"]), ("share/doc/sndcs/html", glob.glob("./docs/*.html")), ("share/doc/sndcs/pdf", glob.glob("./docs/*.pdf")), ("share/doc/sndcs/txt", glob.glob("./docs/*.txt")), ("share/doc/sndcs", [ "COPYING", "README", "AUTHORS", "ChangeLog", "NEWS"]) ]
++ data_files+=[ ("%setc/sndcs" % (prefix), ["sndcs/config/logging.conf"]), ("share/pixmaps", ["sndcs/pixmaps/sndcs.png"]) ]
+ if BUILDING_DEB:
+ scripts+=["sndcs_client/gtk/sndcs_gtk"]
+ else:
diff --git a/finance/sabernetdcs-client/files/patch-setup.py b/finance/sabernetdcs-client/files/patch-setup.py
new file mode 100644
index 000000000000..da792a0df66e
--- /dev/null
+++ b/finance/sabernetdcs-client/files/patch-setup.py
@@ -0,0 +1,11 @@
+--- setup.py.orig Tue Oct 3 03:09:36 2006
++++ setup.py Tue May 1 12:06:35 2007
+@@ -142,7 +142,7 @@
+ elif os.name=="nt":
+ prefix=""
+ else:
+- prefix="/"
++ prefix="%%PREFIX%%/"
+
+ packages = []
+ data_files = []
diff --git a/finance/sabernetdcs-client/files/sndcs2.conf b/finance/sabernetdcs-client/files/sndcs2.conf
new file mode 100644
index 000000000000..cca1dfcf0965
--- /dev/null
+++ b/finance/sabernetdcs-client/files/sndcs2.conf
@@ -0,0 +1,22 @@
+[pyro]
+ns_hostname =
+namespace = sndcs
+
+[gtk]
+fullscreen = False
+search_dialog = True
+qty_complete_warning = False
+recent_activity = True
+easy_employee_selection = True
+menu_bar = True
+show_clocked_out_employees = True
+terminal_id = freebsd-sndcs
+show_notes = True
+search_criteria =
+clock_format = %I:%M %p
+scrap_codes = False
+osd_keyboard = False
+force_end_activity = False
+persistent_search = False
+department_jobs = False
+
diff --git a/finance/sabernetdcs-client/pkg-descr b/finance/sabernetdcs-client/pkg-descr
new file mode 100644
index 000000000000..5f0e34343fa9
--- /dev/null
+++ b/finance/sabernetdcs-client/pkg-descr
@@ -0,0 +1,6 @@
+SaberNet DCS is a labor data collection system, designed to allow
+organizations to rapidly capture their labor data in real-time.
+Optimized for bar code input, DCS is the perfect way to automate
+and improve the accuracy of your time tracking.
+
+WWW: http://sabernetdcs.sourceforge.net/
diff --git a/finance/sabernetdcs-client/pkg-plist b/finance/sabernetdcs-client/pkg-plist
new file mode 100644
index 000000000000..4d7e72d51ee9
--- /dev/null
+++ b/finance/sabernetdcs-client/pkg-plist
@@ -0,0 +1,115 @@
+bin/sndcs_curses
+bin/sndcs_gtk
+etc/sndcs/sndcs2.conf
+etc/sndcs/logging.conf
+share/pixmaps/sndcs.png
+%%DATADIR%%/dcs_splash.png
+%%DATADIR%%/sndcs.png
+%%DATADIR%%/sndcs2.glade
+%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
+%%PORTDOCS%%%%DOCSDIR%%/COPYING
+%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
+%%PORTDOCS%%%%DOCSDIR%%/NEWS
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/html/ADMINISTRATORS_GUIDE.html
+%%PORTDOCS%%%%DOCSDIR%%/html/ERRORS_AND_TROUBLESHOOTING.html
+%%PORTDOCS%%%%DOCSDIR%%/html/INSTALL.html
+%%PORTDOCS%%%%DOCSDIR%%/html/PLUGINS.html
+%%PORTDOCS%%%%DOCSDIR%%/html/README.html
+%%PORTDOCS%%%%DOCSDIR%%/html/RELEASE_PROCEDURES.html
+%%PORTDOCS%%%%DOCSDIR%%/html/USERS_GUIDE.html
+%%PORTDOCS%%%%DOCSDIR%%/pdf/ADMINISTRATORS_GUIDE.pdf
+%%PORTDOCS%%%%DOCSDIR%%/pdf/ERRORS_AND_TROUBLESHOOTING.pdf
+%%PORTDOCS%%%%DOCSDIR%%/pdf/GTK_Client_User_Manual.pdf
+%%PORTDOCS%%%%DOCSDIR%%/pdf/INSTALL.pdf
+%%PORTDOCS%%%%DOCSDIR%%/pdf/PLUGINS.pdf
+%%PORTDOCS%%%%DOCSDIR%%/pdf/README.pdf
+%%PORTDOCS%%%%DOCSDIR%%/pdf/RELEASE_PROCEDURES.pdf
+%%PORTDOCS%%%%DOCSDIR%%/pdf/USERS_GUIDE.pdf
+%%PORTDOCS%%%%DOCSDIR%%/txt/ADMINISTRATORS_GUIDE.txt
+%%PORTDOCS%%%%DOCSDIR%%/txt/ERRORS_AND_TROUBLESHOOTING.txt
+%%PORTDOCS%%%%DOCSDIR%%/txt/INSTALL.txt
+%%PORTDOCS%%%%DOCSDIR%%/txt/PLUGINS.txt
+%%PORTDOCS%%%%DOCSDIR%%/txt/README.txt
+%%PORTDOCS%%%%DOCSDIR%%/txt/RELEASE_PROCEDURES.txt
+%%PORTDOCS%%%%DOCSDIR%%/txt/USERS_GUIDE.txt
+%%PYTHON_SITELIBDIR%%/sndcs_client/Config.py
+%%PYTHON_SITELIBDIR%%/sndcs_client/Config.pyc
+%%PYTHON_SITELIBDIR%%/sndcs_client/Config.pyo
+%%PYTHON_SITELIBDIR%%/sndcs_client/HeartbeatMonitor.py
+%%PYTHON_SITELIBDIR%%/sndcs_client/HeartbeatMonitor.pyc
+%%PYTHON_SITELIBDIR%%/sndcs_client/HeartbeatMonitor.pyo
+%%PYTHON_SITELIBDIR%%/sndcs_client/Subscriber.py
+%%PYTHON_SITELIBDIR%%/sndcs_client/Subscriber.pyc
+%%PYTHON_SITELIBDIR%%/sndcs_client/Subscriber.pyo
+%%PYTHON_SITELIBDIR%%/sndcs_client/__init__.py
+%%PYTHON_SITELIBDIR%%/sndcs_client/__init__.pyc
+%%PYTHON_SITELIBDIR%%/sndcs_client/__init__.pyo
+%%PYTHON_SITELIBDIR%%/sndcs_client/curses/__init__.py
+%%PYTHON_SITELIBDIR%%/sndcs_client/curses/__init__.pyc
+%%PYTHON_SITELIBDIR%%/sndcs_client/curses/__init__.pyo
+%%PYTHON_SITELIBDIR%%/sndcs_client/gtk/ActiveEmployeesTreeView.py
+%%PYTHON_SITELIBDIR%%/sndcs_client/gtk/ActiveEmployeesTreeView.pyc
+%%PYTHON_SITELIBDIR%%/sndcs_client/gtk/ActiveEmployeesTreeView.pyo
+%%PYTHON_SITELIBDIR%%/sndcs_client/gtk/Application.py
+%%PYTHON_SITELIBDIR%%/sndcs_client/gtk/Application.pyc
+%%PYTHON_SITELIBDIR%%/sndcs_client/gtk/Application.pyo
+%%PYTHON_SITELIBDIR%%/sndcs_client/gtk/AvailableActivitiesTreeView.py
+%%PYTHON_SITELIBDIR%%/sndcs_client/gtk/AvailableActivitiesTreeView.pyc
+%%PYTHON_SITELIBDIR%%/sndcs_client/gtk/AvailableActivitiesTreeView.pyo
+%%PYTHON_SITELIBDIR%%/sndcs_client/gtk/CurrentActivitiesTreeView.py
+%%PYTHON_SITELIBDIR%%/sndcs_client/gtk/CurrentActivitiesTreeView.pyc
+%%PYTHON_SITELIBDIR%%/sndcs_client/gtk/CurrentActivitiesTreeView.pyo
+%%PYTHON_SITELIBDIR%%/sndcs_client/gtk/EmployeeAdminTreeView.py
+%%PYTHON_SITELIBDIR%%/sndcs_client/gtk/EmployeeAdminTreeView.pyc
+%%PYTHON_SITELIBDIR%%/sndcs_client/gtk/EmployeeAdminTreeView.pyo
+%%PYTHON_SITELIBDIR%%/sndcs_client/gtk/EventSubscriber.py
+%%PYTHON_SITELIBDIR%%/sndcs_client/gtk/EventSubscriber.pyc
+%%PYTHON_SITELIBDIR%%/sndcs_client/gtk/EventSubscriber.pyo
+%%PYTHON_SITELIBDIR%%/sndcs_client/gtk/IndirectActivitiesTreeView.py
+%%PYTHON_SITELIBDIR%%/sndcs_client/gtk/IndirectActivitiesTreeView.pyc
+%%PYTHON_SITELIBDIR%%/sndcs_client/gtk/IndirectActivitiesTreeView.pyo
+%%PYTHON_SITELIBDIR%%/sndcs_client/gtk/JobAdminTreeView.py
+%%PYTHON_SITELIBDIR%%/sndcs_client/gtk/JobAdminTreeView.pyc
+%%PYTHON_SITELIBDIR%%/sndcs_client/gtk/JobAdminTreeView.pyo
+%%PYTHON_SITELIBDIR%%/sndcs_client/gtk/__init__.py
+%%PYTHON_SITELIBDIR%%/sndcs_client/gtk/__init__.pyc
+%%PYTHON_SITELIBDIR%%/sndcs_client/gtk/__init__.pyo
+%%PYTHON_SITELIBDIR%%/sndcs_common/Config.py
+%%PYTHON_SITELIBDIR%%/sndcs_common/Config.pyc
+%%PYTHON_SITELIBDIR%%/sndcs_common/Config.pyo
+%%PYTHON_SITELIBDIR%%/sndcs_common/DateTimeMixin.py
+%%PYTHON_SITELIBDIR%%/sndcs_common/DateTimeMixin.pyc
+%%PYTHON_SITELIBDIR%%/sndcs_common/DateTimeMixin.pyo
+%%PYTHON_SITELIBDIR%%/sndcs_common/Logger.py
+%%PYTHON_SITELIBDIR%%/sndcs_common/Logger.pyc
+%%PYTHON_SITELIBDIR%%/sndcs_common/Logger.pyo
+%%PYTHON_SITELIBDIR%%/sndcs_common/MathUtilMixin.py
+%%PYTHON_SITELIBDIR%%/sndcs_common/MathUtilMixin.pyc
+%%PYTHON_SITELIBDIR%%/sndcs_common/MathUtilMixin.pyo
+%%PYTHON_SITELIBDIR%%/sndcs_common/PyroProxyMixin.py
+%%PYTHON_SITELIBDIR%%/sndcs_common/PyroProxyMixin.pyc
+%%PYTHON_SITELIBDIR%%/sndcs_common/PyroProxyMixin.pyo
+%%PYTHON_SITELIBDIR%%/sndcs_common/SndcsExceptions.py
+%%PYTHON_SITELIBDIR%%/sndcs_common/SndcsExceptions.pyc
+%%PYTHON_SITELIBDIR%%/sndcs_common/SndcsExceptions.pyo
+%%PYTHON_SITELIBDIR%%/sndcs_common/TrueAndFalseMixin.py
+%%PYTHON_SITELIBDIR%%/sndcs_common/TrueAndFalseMixin.pyc
+%%PYTHON_SITELIBDIR%%/sndcs_common/TrueAndFalseMixin.pyo
+%%PYTHON_SITELIBDIR%%/sndcs_common/Win32HelperMixin.py
+%%PYTHON_SITELIBDIR%%/sndcs_common/Win32HelperMixin.pyc
+%%PYTHON_SITELIBDIR%%/sndcs_common/Win32HelperMixin.pyo
+%%PYTHON_SITELIBDIR%%/sndcs_common/__init__.py
+%%PYTHON_SITELIBDIR%%/sndcs_common/__init__.pyc
+%%PYTHON_SITELIBDIR%%/sndcs_common/__init__.pyo
+@dirrmtry share/pixmaps
+@dirrm etc/sndcs
+@dirrm %%PYTHON_SITELIBDIR%%/sndcs_common
+@dirrm %%PYTHON_SITELIBDIR%%/sndcs_client/gtk
+@dirrm %%PYTHON_SITELIBDIR%%/sndcs_client/curses
+@dirrm %%PYTHON_SITELIBDIR%%/sndcs_client
+@dirrm %%DATADIR%%
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/txt
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/pdf
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/html
+%%PORTDOCS%%@dirrm %%DOCSDIR%%