aboutsummaryrefslogtreecommitdiff
path: root/deskutils
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2004-04-18 21:46:22 +0000
committerPav Lucistnik <pav@FreeBSD.org>2004-04-18 21:46:22 +0000
commit50321ef93b16695f398253a75dc7f694ae278ee5 (patch)
treec0d4a58eea9d0e33ed35d4e4ad429c55d9200340 /deskutils
parent16cdd239f041b1c5a2bb889dc9a8b7949d8e1313 (diff)
downloadports-50321ef93b16695f398253a75dc7f694ae278ee5.tar.gz
ports-50321ef93b16695f398253a75dc7f694ae278ee5.zip
Add remind, a sophisticated calendar and alarm program.
PR: ports/65419 Submitted by: Lewis Thompson <lewiz@fajita.org>
Notes
Notes: svn path=/head/; revision=107496
Diffstat (limited to 'deskutils')
-rw-r--r--deskutils/Makefile1
-rw-r--r--deskutils/remind/Makefile49
-rw-r--r--deskutils/remind/distinfo2
-rw-r--r--deskutils/remind/files/patch-Makefile::install18
-rw-r--r--deskutils/remind/pkg-descr13
-rw-r--r--deskutils/remind/pkg-plist6
6 files changed, 89 insertions, 0 deletions
diff --git a/deskutils/Makefile b/deskutils/Makefile
index e8ee1799932e..f8765eeb54b7 100644
--- a/deskutils/Makefile
+++ b/deskutils/Makefile
@@ -90,6 +90,7 @@
SUBDIR += plan
SUBDIR += planner
SUBDIR += preferences.app
+ SUBDIR += remind
SUBDIR += rolo
SUBDIR += rox-memo
SUBDIR += rubrica
diff --git a/deskutils/remind/Makefile b/deskutils/remind/Makefile
new file mode 100644
index 000000000000..5a8c79ac7e7c
--- /dev/null
+++ b/deskutils/remind/Makefile
@@ -0,0 +1,49 @@
+# New ports collection makefile for: remind
+# Date created: 10 April 2004
+# Whom: Lewis Thompson <purple@lewiz.net>
+#
+# $FreeBSD$
+#
+
+PORTNAME= remind
+PORTVERSION= 3.0.22
+CATEGORIES= deskutils
+MASTER_SITES= http://www.roaringpenguin.com/products/${PORTNAME}/
+DISTNAME= ${PORTNAME}-03.00.22
+
+MAINTAINER= purple@lewiz.net
+COMMENT= Sophisticated calendar and alarm program
+
+GNU_CONFIGURE= yes
+USE_REINPLACE= yes
+
+MAN1= kall.1 rem.1 rem2ps.1 remind.1 tkremind.1 cm2rem.1
+
+post-patch:
+# This seems more than a little ugly.
+.if defined(LAT_DEG)
+ @${REINPLACE_CMD} -e 's#LAT_DEG 45#LAT_DEG ${LAT_DEG}#' ${WRKSRC}/src/custom.h
+.endif
+.if defined(LAT_MIN)
+ @${REINPLACE_CMD} -e 's#LAT_MIN 24#LAT_MIN ${LAT_MIN}#' ${WRKSRC}/src/custom.h
+.endif
+.if defined(LAT_SEC)
+ @${REINPLACE_CMD} -e 's#LAT_SEC 0#LAT_SEC ${LAT_SEC}#' ${WRKSRC}/src/custom.h
+.endif
+.if defined(LON_DEG)
+ @${REINPLACE_CMD} -e 's#LON_DEG 75#LON_DEG ${LON_DEG}#' ${WRKSRC}/src/custom.h
+.endif
+.if defined(LON_MIN)
+ @${REINPLACE_CMD} -e 's#LON_MIN 39#LON_MIN ${LON_MIN}#' ${WRKSRC}/src/custom.h
+.endif
+.if defined(LON_SEC)
+ @${REINPLACE_CMD} -e 's#LON_SEC 0#LON_SEC ${LON_SEC}#' ${WRKSRC}/src/custom.h
+.endif
+.if defined(LOCATION)
+ @${REINPLACE_CMD} -e 's#Ottawa#${LOCATION}#' ${WRKSRC}/src/custom.h
+.endif
+.if defined(A4)
+ @${REINPLACE_CMD} -e 's#"Letter", 612, 792#"A4", 595, 842#' ${WRKSRC}/src/custom.h
+.endif
+
+.include <bsd.port.mk>
diff --git a/deskutils/remind/distinfo b/deskutils/remind/distinfo
new file mode 100644
index 000000000000..c30e8337158f
--- /dev/null
+++ b/deskutils/remind/distinfo
@@ -0,0 +1,2 @@
+MD5 (remind-03.00.22.tar.gz) = 5655ad8209f8453443d0b95658cd82ca
+SIZE (remind-03.00.22.tar.gz) = 319556
diff --git a/deskutils/remind/files/patch-Makefile::install b/deskutils/remind/files/patch-Makefile::install
new file mode 100644
index 000000000000..dc6f6dc2b301
--- /dev/null
+++ b/deskutils/remind/files/patch-Makefile::install
@@ -0,0 +1,18 @@
+--- src/Makefile.in.orig Mon Jun 26 16:50:53 2000
++++ src/Makefile.in Sun Apr 18 23:40:23 2004
+@@ -49,11 +49,14 @@
+ @CC@ @LDFLAGS@ -o remind $(REMINDOBJS) @LIBS@
+
+ install: all
+- for prog in $(PROGS) $(SCRIPTS) ; do \
++ for prog in $(PROGS) ; do \
+ $(INSTALL_PROGRAM) $$prog $(bindir) ; \
+ done
+ -strip $(bindir)/remind
+ -strip $(bindir)/rem2ps
++ for script in $(SCRIPTS) ; do \
++ $(INSTALL) -m 555 $$script $(bindir) ; \
++ done
+ for man in $(MANS) ; do \
+ $(INSTALL_DATA) $$man $(mandir)/man1 ; \
+ done
diff --git a/deskutils/remind/pkg-descr b/deskutils/remind/pkg-descr
new file mode 100644
index 000000000000..a735abb5513f
--- /dev/null
+++ b/deskutils/remind/pkg-descr
@@ -0,0 +1,13 @@
+Remind is a sophisticated calendar and alarm program. It includes the
+following features:
+
+ * A sophisticated scripting language and intelligent handling of
+ exceptions and holidays.
+ * Plain-text, PostScript and HTML output.
+ * Timed reminders and pop-up alarms.
+ * A friendly graphical front-end for people who don't want to learn
+ the scripting language.
+ * Facilities for both the Gregorian and Hebrew calendars.
+ * Support for 12 different languages.
+
+WWW: http://www.roaringpenguin.com/products/remind/
diff --git a/deskutils/remind/pkg-plist b/deskutils/remind/pkg-plist
new file mode 100644
index 000000000000..71bb40306b34
--- /dev/null
+++ b/deskutils/remind/pkg-plist
@@ -0,0 +1,6 @@
+bin/cm2rem.tcl
+bin/kall
+bin/rem
+bin/rem2ps
+bin/remind
+bin/tkremind