upgrade to 2.5

This commit is contained in:
kevlo 2003-08-13 09:54:01 +00:00
parent 1807226303
commit 738dc6c0ea
4 changed files with 63 additions and 7 deletions

View File

@ -1,8 +1,8 @@
# $OpenBSD: Makefile,v 1.3 2003/05/26 05:35:26 kevlo Exp $
# $OpenBSD: Makefile,v 1.4 2003/08/13 09:54:01 kevlo Exp $
COMMENT= "lightweight and easy to use web calendar"
DISTNAME= mycalendar-1.7
DISTNAME= mycalendar-2.5
CATEGORIES= www
HOMEPAGE= http://www.fuzzymonkey.org/newfuzzy/software/perl/

View File

@ -1,3 +1,3 @@
MD5 (mycalendar-1.7.tar.gz) = 82fd5feee22bc5936ac3df159d29b264
RMD160 (mycalendar-1.7.tar.gz) = bb48c9f0eca483afedfa2e9896bae27b1f3e825a
SHA1 (mycalendar-1.7.tar.gz) = 5e0e6d746cf248fdede7f868c9be6b4b31aeaeaa
MD5 (mycalendar-2.5.tar.gz) = 108a36b2083f0153c86d79d1ebcf63d9
RMD160 (mycalendar-2.5.tar.gz) = 60cf6fc8780ac93d82a69b4167328b1c51b4b0e6
SHA1 (mycalendar-2.5.tar.gz) = 8fe607ff20465f5f66f1cf582ee544fc013f2d0d

View File

@ -0,0 +1,56 @@
#!/bin/sh
# $OpenBSD: INSTALL,v 1.1 2003/08/13 09:54:06 kevlo Exp $
#
# mycalendar installation
set -e
PATH=/bin:/usr/bin:/sbin:/usr/sbin
PREFIX=${PKG_PREFIX:-/var/www}
CGI_DIR=${PREFIX}/cgi-bin/calendar
CONFIG_FILE=${PREFIX}/cgi-bin/calendar/appointments.txt
do_notice()
{
echo
echo "+---------------"
echo "| The existing $1 appointments file in $CGI_DIR,"
echo "| have NOT been changed."
echo "+---------------"
echo
}
do_install()
{
touch $CONFIG_FILE
chown www $CONFIG_FILE
echo
echo "+---------------"
echo "| The $1 appointments file have been installed into"
echo "| $CGI_DIR."
echo "+---------------"
echo
}
if [ $# -ne 2 ]; then
echo "usage: $0 distname { PRE-INSTALL | POST-INSTALL }" >&2
exit 1
fi
case $2 in
PRE-INSTALL)
: nothing to pre-install for this port
;;
POST-INSTALL)
if [ -f $CONFIG_FILE ]; then
do_notice $1
else
do_install $1
fi
;;
*)
echo "usage: $0 distname { PRE-INSTALL | POST-INSTALL }" >&2
exit 1
;;
esac
exit 0

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.2 2003/05/26 05:35:37 kevlo Exp $
@comment $OpenBSD: PLIST,v 1.3 2003/08/13 09:54:06 kevlo Exp $
cgi-bin/calendar/LICENSE
cgi-bin/calendar/README
cgi-bin/calendar/README.MAKING-PRINTABLE-CALENDARS
@ -9,7 +9,7 @@ cgi-bin/calendar/convert2pscal.pl
cgi-bin/calendar/email.pl
cgi-bin/calendar/index.cgi
cgi-bin/calendar/mycalendar-conduit.pl
cgi-bin/calendar/printable.cgi
cgi-bin/calendar/protected/update.cgi
cgi-bin/calendar/sitevariables.pl
cgi-bin/calendar/template.html
@dirrm cgi-bin/calendar/protected