diff options
author | ijliao <ijliao@FreeBSD.org> | 2002-09-18 10:21:36 +0000 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2002-09-18 10:21:36 +0000 |
commit | d6cd5e3ba5463351516b5f8a14e6997d2f6bcbbf (patch) | |
tree | 1e7033b108472977f37580098a959f81d43eeb6a | |
parent | 7229991ab956a8b02c3eb7955968bac07f2fd1a4 (diff) | |
download | FreeBSD-ports-d6cd5e3ba5463351516b5f8a14e6997d2f6bcbbf.zip FreeBSD-ports-d6cd5e3ba5463351516b5f8a14e6997d2f6bcbbf.tar.gz |
add mencal 2.0
A variation of the unix command cal
PR: 37195
Submitted by: Christian Brueffer <chris@unixpages.org>
-rw-r--r-- | deskutils/Makefile | 1 | ||||
-rw-r--r-- | deskutils/mencal/Makefile | 22 | ||||
-rw-r--r-- | deskutils/mencal/distinfo | 1 | ||||
-rw-r--r-- | deskutils/mencal/files/patch-mencal | 22 | ||||
-rw-r--r-- | deskutils/mencal/pkg-comment | 1 | ||||
-rw-r--r-- | deskutils/mencal/pkg-descr | 9 | ||||
-rw-r--r-- | deskutils/mencal/pkg-plist | 1 |
7 files changed, 57 insertions, 0 deletions
diff --git a/deskutils/Makefile b/deskutils/Makefile index 3752fe8..31af79d 100644 --- a/deskutils/Makefile +++ b/deskutils/Makefile @@ -27,6 +27,7 @@ SUBDIR += logjam SUBDIR += loserjabber SUBDIR += mcal + SUBDIR += mencal SUBDIR += mhc SUBDIR += mhc-emacs20 SUBDIR += mhc-xemacs21-mule diff --git a/deskutils/mencal/Makefile b/deskutils/mencal/Makefile new file mode 100644 index 0000000..5e6452f --- /dev/null +++ b/deskutils/mencal/Makefile @@ -0,0 +1,22 @@ +# New ports collection makefile for: mencal +# Date created: 17 April 2002 +# Whom: Christian Brueffer <chris@unixpages.org> +# +# $FreeBSD$ +# + +PORTNAME= mencal +PORTVERSION= 2.0 +CATEGORIES= deskutils +MASTER_SITES= http://mencal.kyberdigi.cz/ \ + http://unixpages.org/distfiles/ + +MAINTAINER= chris@unixpages.org + +USE_PERL= yes +NO_BUILD= yes + +do-install: + ${INSTALL_SCRIPT} ${WRKSRC}/mencal ${PREFIX}/bin + +.include <bsd.port.mk> diff --git a/deskutils/mencal/distinfo b/deskutils/mencal/distinfo new file mode 100644 index 0000000..7888a06 --- /dev/null +++ b/deskutils/mencal/distinfo @@ -0,0 +1 @@ +MD5 (mencal-2.0.tar.gz) = abd648a8b195648b2c9bf0fa889ee305 diff --git a/deskutils/mencal/files/patch-mencal b/deskutils/mencal/files/patch-mencal new file mode 100644 index 0000000..baf2167 --- /dev/null +++ b/deskutils/mencal/files/patch-mencal @@ -0,0 +1,22 @@ +--- mencal.orig Fri Mar 29 08:14:03 2002 ++++ mencal Wed Sep 18 18:19:07 2002 +@@ -1,4 +1,4 @@ +-#!/usr/bin/perl -w ++#!/usr/bin/env perl -w + + ##< month object >## + +@@ -271,13 +271,6 @@ + } + } + +- my @locales=split("\n", `locale -c LC_TIME`); +- if(($#locales>=1) && length($locales[1])) { +- $config{'topline'}=''; +- foreach my $day (split(';', $locales[1])) { $day=~s/^(..).+$/$1/; $config{'topline'}.=$day.' '; } +- $config{'topline'}=~s/ +$//; +- } +- $config{'topline'}=~s/;/ /g; + $config{'monday_first'} && $config{'topline'}=~s/^(..) (.+)$/$2 $1/; + + $config{'show_type'}=~/^(1|3|y)$/ || ($config{'show_type'}='1'); diff --git a/deskutils/mencal/pkg-comment b/deskutils/mencal/pkg-comment new file mode 100644 index 0000000..7ba2348 --- /dev/null +++ b/deskutils/mencal/pkg-comment @@ -0,0 +1 @@ +A variation of the unix command cal diff --git a/deskutils/mencal/pkg-descr b/deskutils/mencal/pkg-descr new file mode 100644 index 0000000..e545e2e --- /dev/null +++ b/deskutils/mencal/pkg-descr @@ -0,0 +1,9 @@ +Mencal is a simple variation of the well-known unix command cal. +The main difference is that you can have some periodically +repeating days highlighted in color. This can be used to track +menstruation (or other) cycles conveniently. + +WWW: http://mencal.kyberdigi.cz/english.html + +- Christian Brueffer +chris@unixpages.org diff --git a/deskutils/mencal/pkg-plist b/deskutils/mencal/pkg-plist new file mode 100644 index 0000000..65c1623 --- /dev/null +++ b/deskutils/mencal/pkg-plist @@ -0,0 +1 @@ +bin/mencal |