Skip site navigation (1)Skip section navigation (2)
Date:      17 Apr 2002 20:54:24 -0000
From:      Christian Brueffer <chris@unixpages.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/37195: New port: deskutils/mencal
Message-ID:  <20020417205424.28368.qmail@unixpages.org>

next in thread | raw e-mail | index | archive | help

>Number:         37195
>Category:       ports
>Synopsis:       New port: deskutils/mencal
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Apr 17 14:00:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Christian Brueffer
>Release:        FreeBSD 4.5-STABLE i386
>Organization:
>Environment:
System: FreeBSD gondor.middleearth 4.5-STABLE FreeBSD 4.5-STABLE #16: Fri Apr 12 01:20:12 CEST 2002 root@gondor.middleearth:/usr/obj/usr/src/sys/GONDOR i386


	
>Description:
	Mencal is a variation of the unix command cal.
	It can highlight periodically repeating days in color.
>How-To-Repeat:
	
>Fix:

	

--- mencal.port begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	mencal
#	mencal/pkg-plist
#	mencal/pkg-comment
#	mencal/pkg-descr
#	mencal/Makefile
#	mencal/distinfo
#	mencal/files
#	mencal/files/patch-aa
#
echo c - mencal
mkdir -p mencal > /dev/null 2>&1
echo x - mencal/pkg-plist
sed 's/^X//' >mencal/pkg-plist << 'END-of-mencal/pkg-plist'
Xbin/mencal
END-of-mencal/pkg-plist
echo x - mencal/pkg-comment
sed 's/^X//' >mencal/pkg-comment << 'END-of-mencal/pkg-comment'
XA variation of the unix command cal
END-of-mencal/pkg-comment
echo x - mencal/pkg-descr
sed 's/^X//' >mencal/pkg-descr << 'END-of-mencal/pkg-descr'
XMencal is a simple variation of the well-known unix command cal.
XThe main difference is that you can have some periodically
Xrepeating days highlighted in color. This can be used to track
Xmenstruation (or other) cycles conveniently.
X
XWWW: http://mencal.kyberdigi.cz/english.html
X
X- Christian Brueffer
Xchris@unixpages.org
END-of-mencal/pkg-descr
echo x - mencal/Makefile
sed 's/^X//' >mencal/Makefile << 'END-of-mencal/Makefile'
X# New ports collection makefile for:    mencal
X# Date created:                 17 April 2002
X# Whom:                         Christian Brueffer <chris@unixpages.org>
X#
X# $FreeBSD$
X#
X
XPORTNAME=       mencal
XPORTVERSION=    2.0
XCATEGORIES=     deskutils
XMASTER_SITES=   http://mencal.kyberdigi.cz/ \
X		http://unixpages.org/distfiles/
X
XMAINTAINER=     chris@unixpages.org
X
XUSE_PERL=       yes
XNO_BUILD=       yes
X
Xdo-install:
X	${INSTALL_SCRIPT} ${WRKSRC}/mencal ${PREFIX}/bin
X
X.include <bsd.port.mk>
END-of-mencal/Makefile
echo x - mencal/distinfo
sed 's/^X//' >mencal/distinfo << 'END-of-mencal/distinfo'
XMD5 (mencal-2.0.tar.gz) = abd648a8b195648b2c9bf0fa889ee305
END-of-mencal/distinfo
echo c - mencal/files
mkdir -p mencal/files > /dev/null 2>&1
echo x - mencal/files/patch-aa
sed 's/^X//' >mencal/files/patch-aa << 'END-of-mencal/files/patch-aa'
X--- mencal.orig	Sat Mar 30 10:34:58 2002
X+++ mencal	Wed Apr 17 20:28:43 2002
X@@ -271,13 +271,6 @@
X     }
X   }
X   
X-  my @locales=split("\n", `locale -c LC_TIME`);
X-  if(($#locales>=1) && length($locales[1])) {
X-    $config{'topline'}='';
X-    foreach my $day (split(';', $locales[1])) { $day=~s/^(..).+$/$1/; $config{'topline'}.=$day.' '; }
X-    $config{'topline'}=~s/ +$//;
X-  }
X-  $config{'topline'}=~s/;/ /g;
X   $config{'monday_first'} && $config{'topline'}=~s/^(..) (.+)$/$2 $1/;
X 
X   $config{'show_type'}=~/^(1|3|y)$/ || ($config{'show_type'}='1');
END-of-mencal/files/patch-aa
exit
--- mencal.port ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020417205424.28368.qmail>