freebsd-ports/www/cybercalendar/Makefile
Stefan Walter 5399f2f919 Mark as DEPRECATED with an EXPIRATION_DATE of 2010-12-31: Has been unmaintained
since 2001 and doesn't support dates after 2010.

PR:		150974
Submitted by:	Rodrigo OSORIO (ros) <rodrigo@bebik.net>
Approved by:	maintainer
2010-11-10 15:35:55 +00:00

61 lines
1.9 KiB
Makefile

# New ports collection makefile for: cybercalendar
# Date created: 17 June 2002
# Whom: janos.mohacsi@bsd.hu
#
# $FreeBSD$
PORTNAME= cybercalendar
PORTVERSION= 1.8.2
PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= http://ipv6.niif.hu/~mohacsi/downloads/
DISTNAME= CyberCalendar_${PORTVERSION}
MAINTAINER= janos.mohacsi@bsd.hu
COMMENT= CyberCalendar is a web based calendar program written in perl
RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/DBD/mysql.pm:${PORTSDIR}/databases/p5-DBD-mysql \
${SITE_PERL}/Date/Calc.pm:${PORTSDIR}/devel/p5-Date-Calc \
${SITE_PERL}/MIME/Lite.pm:${PORTSDIR}/mail/p5-MIME-Lite
WRKSRC= ${WRKDIR}/CyberCalendar
USE_PERL5= yes
NO_BUILD= yes
NO_PACKAGE= needs customization and postconfiguration
IGNORE= has been unmaintained since 2001 and is unusable with dates after 2010 (see ports/150974)
DEPRECATED= ${IGNORE}
EXPIRATION_DATE=2010-12-31
DOC_FILES= README INSTALL INSTALL.NOSITEPERL TODO CHANGES COPYING
SCRIPT_FILES= calendar/index.pl calendar/optionform.pl calendar/pda.pl \
calendar/printable.pl calendar/submit.pl calendar/vcal.pl \
calendar/admin/admin.pl calendar/admin/index.pl calendar/admin/setup.pl
do-install:
@if [ ! -d ${PREFIX}/cybercalendar ]; then \
${MKDIR} ${PREFIX}/cybercalendar; fi
@${CP} -R ${WRKSRC}/calendar ${PREFIX}/cybercalendar
@${CP} -R ${WRKSRC}/CyberCalendar ${PREFIX}/cybercalendar
.for file in ${SCRIPT_FILES}
@${CHMOD} 755 ${PREFIX}/cybercalendar/${file}
.endfor
${LN} -s ${PREFIX}/cybercalendar/CyberCalendar \
${PREFIX}/cybercalendar/calendar
${LN} -s ${PREFIX}/cybercalendar/CyberCalendar \
${PREFIX}/cybercalendar/calendar/admin
@${CP} -R ${WRKSRC}/setup ${PREFIX}/cybercalendar
${INSTALL_DATA} ${FILESDIR}/httpd.conf.changes \
${PREFIX}/cybercalendar/setup
post-install:
.ifndef(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for file in ${DOC_FILES}
@${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
.endif
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>