diff --git a/sysutils/mencal/Makefile b/sysutils/mencal/Makefile new file mode 100644 index 00000000000..1d15b86a7f2 --- /dev/null +++ b/sysutils/mencal/Makefile @@ -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 + +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 diff --git a/sysutils/mencal/distinfo b/sysutils/mencal/distinfo new file mode 100644 index 00000000000..c26ec047954 --- /dev/null +++ b/sysutils/mencal/distinfo @@ -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 diff --git a/sysutils/mencal/patches/patch-mencal b/sysutils/mencal/patches/patch-mencal new file mode 100644 index 00000000000..7e54ff2e8fd --- /dev/null +++ b/sysutils/mencal/patches/patch-mencal @@ -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/; + diff --git a/sysutils/mencal/pkg/DESCR b/sysutils/mencal/pkg/DESCR new file mode 100644 index 00000000000..c97b0daceba --- /dev/null +++ b/sysutils/mencal/pkg/DESCR @@ -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} diff --git a/sysutils/mencal/pkg/PLIST b/sysutils/mencal/pkg/PLIST new file mode 100644 index 00000000000..6493d63f75e --- /dev/null +++ b/sysutils/mencal/pkg/PLIST @@ -0,0 +1,2 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2002/06/26 02:33:09 kevlo Exp $ +bin/mencal