summaryrefslogtreecommitdiff
path: root/time/titrax
diff options
context:
space:
mode:
authorwiz <wiz>2000-12-17 23:32:09 +0000
committerwiz <wiz>2000-12-17 23:32:09 +0000
commitfb54ca6e79512b331f6c65b3efaf08d4e7219b5b (patch)
tree73288b5bb97270ccddd92731e20bbfff8858d306 /time/titrax
parent143076fe6de60fa3d2351ac4e46ccb0b17a83ce5 (diff)
downloadpkgsrc-fb54ca6e79512b331f6c65b3efaf08d4e7219b5b.tar.gz
New category: time. Move many packages here:
misc/cal, misc/cardboard-schedule, misc/ical, misc/plan, misc/py-mxDateTime, misc/remind, sysutils/logtime, and 19 more from x11.
Diffstat (limited to 'time/titrax')
-rw-r--r--time/titrax/Makefile22
-rw-r--r--time/titrax/files/md53
-rw-r--r--time/titrax/files/patch-sum4
-rw-r--r--time/titrax/patches/patch-aa64
-rw-r--r--time/titrax/patches/patch-ab17
-rw-r--r--time/titrax/pkg/COMMENT1
-rw-r--r--time/titrax/pkg/DESCR5
-rw-r--r--time/titrax/pkg/PLIST9
8 files changed, 125 insertions, 0 deletions
diff --git a/time/titrax/Makefile b/time/titrax/Makefile
new file mode 100644
index 00000000000..5a2fc738ffc
--- /dev/null
+++ b/time/titrax/Makefile
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1.1.1 2000/12/17 23:32:20 wiz Exp $
+#
+
+DISTNAME= titrax-1.98
+CATEGORIES= x11 time
+MASTER_SITES= ${MASTER_SITE_XCONTRIB:=office/}
+
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= http://www.alvestrand.no/domen/titrax/TimeTracker.html
+
+USE_IMAKE= yes
+USE_PERL5= yes
+
+post-patch:
+ ${MV} ${WRKSRC}/Imakefile ${WRKSRC}/Imakefile.bak
+ ${SED} -e 's|@LOCALBASE@|${LOCALBASE}|g' -e 's|@X11BASE@|${X11PREFIX}|g' \
+ < ${WRKSRC}/Imakefile.bak > ${WRKSRC}/Imakefile
+
+pre-install:
+ ${MKDIR} ${X11PREFIX}/libexec/titrax
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/time/titrax/files/md5 b/time/titrax/files/md5
new file mode 100644
index 00000000000..b46e3f15e74
--- /dev/null
+++ b/time/titrax/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 2000/12/17 23:32:20 wiz Exp $
+
+MD5 (titrax-1.98.tar.gz) = 6c6e98ef8b9585f42d70f9838755eaf7
diff --git a/time/titrax/files/patch-sum b/time/titrax/files/patch-sum
new file mode 100644
index 00000000000..274e6881213
--- /dev/null
+++ b/time/titrax/files/patch-sum
@@ -0,0 +1,4 @@
+$NetBSD: patch-sum,v 1.1.1.1 2000/12/17 23:32:20 wiz Exp $
+
+MD5 (patch-aa) = fe066ac06f51f05000be82f1a558287b
+MD5 (patch-ab) = 65712894ecb4c1829952a23172962803
diff --git a/time/titrax/patches/patch-aa b/time/titrax/patches/patch-aa
new file mode 100644
index 00000000000..efa4c3e11e1
--- /dev/null
+++ b/time/titrax/patches/patch-aa
@@ -0,0 +1,64 @@
+$NetBSD: patch-aa,v 1.1.1.1 2000/12/17 23:32:20 wiz Exp $
+
+--- Imakefile.orig Tue Oct 17 14:44:48 1995
++++ Imakefile Tue Dec 8 12:16:34 1998
+@@ -1,10 +1,10 @@
+ # Installation options
+ #=====================
+ # The place where you install local programs (not X)
+-NONXBINDIR = /local/bin
++NONXBINDIR = @LOCALBASE@/bin
+ #
+ # PERLLIBDIR should be the output from perl -e 'print "@INC[0]\n"'
+-PERLLIBDIR = /usr/lib/perl
++PERLLIBDIR = @X11BASE@/libexec/titrax
+ # PERL - where your Perl executable is located (is in sumtitrax)
+ PERL = $(NONXBINDIR)/perl
+ #
+@@ -12,7 +12,7 @@
+ # XAWLIB = -lXaw3d
+ #
+ # If you want to stop UDP packets to the author, uncomment this
+-# CDEBUGFLAGS = -DDO_NOT_TELL_ABOUT_ME
++CDEBUGFLAGS = -DDO_NOT_TELL_ABOUT_ME
+ #
+ # If you have problems with undefined variables, you may have
+ # hit the linker bug with SunOS 4.1.2 and X11R4; uncomment this line
+@@ -44,13 +44,13 @@
+ # functions that are declared, but not used
+ LINTOPTS = -az
+
+-all:: titrax sumtitra titrat
++all:: titrax sumtitra titrat weekno.perl
+ depend:: Titrax_ad.h
+
+ ComplexProgramTarget(titrax)
+ InstallAppDefaults(Titrax)
+-InstallProgram(sumtitra,$(NONXBINDIR))
+-InstallProgram(titrat,$(NONXBINDIR))
++InstallNamedProg(sumtitra,sumtitra,$(BINDIR))
++InstallNamedProg(titrat,titrat,$(BINDIR))
+ InstallManPage(sumtitra,$(MANDIR))
+ InstallNonExec(weekno.perl,$(PERLLIBDIR))
+
+@@ -61,7 +61,7 @@
+ # Modifying PERL scripts - technique courtesy of Lindsay (of Zircon fame)
+ sumtitra: Makefile
+ mv sumtitra sumtitra.tmp
+- echo '#!$(PERL)' > sumtitra
++ echo '#!$(PERL) -I$(PERLLIBDIR)' > sumtitra
+ tail +2 sumtitra.tmp >> sumtitra
+ rm sumtitra.tmp
+ titrat: Makefile
+@@ -69,6 +69,11 @@
+ echo '#!$(PERL)' > titrat
+ tail +2 titrat.tmp >> titrat
+ rm titrat.tmp
++weekno.perl: Makefile
++ mv weekno.perl weekno.perl.tmp
++ echo '#!$(PERL)' > weekno.perl
++ tail +2 weekno.perl.tmp >> weekno.perl
++ rm weekno.perl.tmp
+
+ #------------------------------------------------------------------
+ # Everything below this line should be only for release and debugging,
diff --git a/time/titrax/patches/patch-ab b/time/titrax/patches/patch-ab
new file mode 100644
index 00000000000..3f060b75f4e
--- /dev/null
+++ b/time/titrax/patches/patch-ab
@@ -0,0 +1,17 @@
+$NetBSD: patch-ab,v 1.1.1.1 2000/12/17 23:32:20 wiz Exp $
+
+--- titrat.orig Tue Oct 17 14:44:49 1995
++++ titrat Tue Dec 8 13:48:48 1998
+@@ -7,9 +7,9 @@
+ require 'ctime.pl';
+ # If you cannot find errno.ph, just uncomment the following line, if
+ # EEXIST is 17 in your /usr/include/sys/errno.h file.
+-# eval 'sub EEXIST {17;}';
++eval 'sub EEXIST {17;}';
+
+-require 'errno.ph';
++# require 'errno.ph';
+
+ $SIG{'HUP'} = 'signal';
+ $SIG{'INT'} = 'signal';
+
diff --git a/time/titrax/pkg/COMMENT b/time/titrax/pkg/COMMENT
new file mode 100644
index 00000000000..97bb25a02ae
--- /dev/null
+++ b/time/titrax/pkg/COMMENT
@@ -0,0 +1 @@
+Little X11 tool to track project times
diff --git a/time/titrax/pkg/DESCR b/time/titrax/pkg/DESCR
new file mode 100644
index 00000000000..9573535e130
--- /dev/null
+++ b/time/titrax/pkg/DESCR
@@ -0,0 +1,5 @@
+TimeTracker is an Athena Widget-based program to keep track of time.
+It puts up a list of projects, and the number of minutes worked on each.
+You click on the project you want to work on, and it starts counting on that.
+At the end of the day, it saves the collected data in a file, and you can
+use a script to process the data. "sumtitra" is one possible such script.
diff --git a/time/titrax/pkg/PLIST b/time/titrax/pkg/PLIST
new file mode 100644
index 00000000000..ebe875dca68
--- /dev/null
+++ b/time/titrax/pkg/PLIST
@@ -0,0 +1,9 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2000/12/17 23:32:21 wiz Exp $
+bin/sumtitra
+bin/titrax
+bin/titrat
+lib/X11/app-defaults/Titrax
+libexec/titrax/weekno.perl
+man/cat1/sumtitra.0
+man/cat1/titrax.0
+@dirrm libexec/titrax