From 46481da6f78f4f678d927a5a7e05dbdbd9fef8f4 Mon Sep 17 00:00:00 2001
From: Edwin Groothuis <edwin@FreeBSD.org>
Date: Sat, 10 Jan 2004 10:38:23 +0000
Subject: New port: deskutils/journal is a tool for replacing the traditional
 text-based diary

	Journal is a small tool useful for replacing the traditional
	text-based diary.  Its features include multpile user
	support, multiple journals for each user, encryption, reading
	and writing new entries, and timestamping of entries.

PR:		ports/59293
Submitted by:	Jose Devezas <jose.devezas@fe.up.pt>
---
 deskutils/Makefile          |  1 +
 deskutils/journal/Makefile  | 27 +++++++++++++++++++++++++++
 deskutils/journal/distinfo  |  1 +
 deskutils/journal/pkg-descr |  7 +++++++
 deskutils/journal/pkg-plist |  2 ++
 5 files changed, 38 insertions(+)
 create mode 100644 deskutils/journal/Makefile
 create mode 100644 deskutils/journal/distinfo
 create mode 100644 deskutils/journal/pkg-descr
 create mode 100644 deskutils/journal/pkg-plist

diff --git a/deskutils/Makefile b/deskutils/Makefile
index b6f695cac051..41e6de6075be 100644
--- a/deskutils/Makefile
+++ b/deskutils/Makefile
@@ -48,6 +48,7 @@
     SUBDIR += ical
     SUBDIR += ithought
     SUBDIR += jlj
+    SUBDIR += journal
     SUBDIR += karamba
     SUBDIR += kbirthday
     SUBDIR += kdepim3
diff --git a/deskutils/journal/Makefile b/deskutils/journal/Makefile
new file mode 100644
index 000000000000..be64fa093640
--- /dev/null
+++ b/deskutils/journal/Makefile
@@ -0,0 +1,27 @@
+# New ports collection makefile for:	Jose Devezas
+# Date created:				3 November 2003
+# Whom:					Jose Devezas <jose.devezas@fe.up.pt>
+#
+# $FreeBSD$
+#
+
+PORTNAME=	journal
+PORTVERSION=	0.4
+CATEGORIES=	deskutils
+MASTER_SITES=	http://soapbox.fissure.org/journal/
+
+MAINTAINER=	jose.devezas@fe.up.pt
+COMMENT=	Journal is a tool for replacing the traditional text-based diary
+
+NO_BUILD=	yes
+USE_PYTHON=	yes
+USE_REINPLACE=	yes
+
+do-patch:
+	${REINPLACE_CMD} -e "s,#!/usr/bin/python,#!${PYTHON_CMD}," ${WRKSRC}/journal.py
+
+do-install:
+	${INSTALL_SCRIPT} ${WRKSRC}/journal.py ${PREFIX}/bin
+	${INSTALL_DATA} ${WRKSRC}/journ_classes.py ${PYTHON_SITELIBDIR}
+
+.include <bsd.port.mk>
diff --git a/deskutils/journal/distinfo b/deskutils/journal/distinfo
new file mode 100644
index 000000000000..adf7e34f2df3
--- /dev/null
+++ b/deskutils/journal/distinfo
@@ -0,0 +1 @@
+MD5 (journal-0.4.tar.gz) = 3c9edf53218dc8c7b8d2b00fd3f58690
diff --git a/deskutils/journal/pkg-descr b/deskutils/journal/pkg-descr
new file mode 100644
index 000000000000..36473702880e
--- /dev/null
+++ b/deskutils/journal/pkg-descr
@@ -0,0 +1,7 @@
+From Freshmeat:
+
+Journal is a small tool useful for replacing the traditional text-based diary. 
+Its features include multpile user support, multiple journals for each user, 
+encryption, reading and writing new entries, and timestamping of entries.
+
+WWW: http://soapbox.fissure.org/journal/journal.html
diff --git a/deskutils/journal/pkg-plist b/deskutils/journal/pkg-plist
new file mode 100644
index 000000000000..312271596a73
--- /dev/null
+++ b/deskutils/journal/pkg-plist
@@ -0,0 +1,2 @@
+bin/journal.py
+%%PYTHON_SITELIBDIR%%/journ_classes.py
-- 
cgit debian/1.2.3+git2.25.1-1-2-gaceb0