Initial import of mencal 2.0
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 commit is contained in:
parent
1c77ef19c8
commit
a8a7fca3f8
25
sysutils/mencal/Makefile
Normal file
25
sysutils/mencal/Makefile
Normal file
@ -0,0 +1,25 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2002/06/26 02:33:09 kevlo Exp $
|
||||
|
||||
COMMENT= "cal that can use color to display calendar"
|
||||
|
||||
DISTNAME= mencal-2.0
|
||||
CATEGORIES= sysutils
|
||||
NEED_VERSION= 1.531
|
||||
|
||||
HOMEPAGE= http://mencal.kyberdigi.cz/english.html
|
||||
|
||||
MAINTAINER= Kevin Lo <kevlo@openbsd.org>
|
||||
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM=Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
MASTER_SITES= http://mencal.kyberdigi.cz/
|
||||
|
||||
NO_BUILD= Yes
|
||||
|
||||
do-install:
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/mencal ${PREFIX}/bin
|
||||
|
||||
.include <bsd.port.mk>
|
3
sysutils/mencal/distinfo
Normal file
3
sysutils/mencal/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (mencal-2.0.tar.gz) = abd648a8b195648b2c9bf0fa889ee305
|
||||
RMD160 (mencal-2.0.tar.gz) = 68147f0edc044c12c6d349ecb87125d8ed9547bc
|
||||
SHA1 (mencal-2.0.tar.gz) = 8de7edfefbc12643e1ea8091cdd874322011eb30
|
15
sysutils/mencal/patches/patch-mencal
Normal file
15
sysutils/mencal/patches/patch-mencal
Normal file
@ -0,0 +1,15 @@
|
||||
--- mencal.orig Wed Jun 26 09:59:57 2002
|
||||
+++ mencal Wed Jun 26 10:00:31 2002
|
||||
@@ -271,12 +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/;
|
||||
|
5
sysutils/mencal/pkg/DESCR
Normal file
5
sysutils/mencal/pkg/DESCR
Normal file
@ -0,0 +1,5 @@
|
||||
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.
|
||||
|
||||
WWW: ${HOMEPAGE}
|
2
sysutils/mencal/pkg/PLIST
Normal file
2
sysutils/mencal/pkg/PLIST
Normal file
@ -0,0 +1,2 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2002/06/26 02:33:09 kevlo Exp $
|
||||
bin/mencal
|
Loading…
Reference in New Issue
Block a user