2004-11-26 04:54:35 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.8 2004/11/26 09:54:35 alek Exp $
|
2002-07-16 23:14:13 -04:00
|
|
|
|
|
|
|
COMMENT= "lightweight and easy to use web calendar"
|
|
|
|
|
2003-11-13 22:16:10 -05:00
|
|
|
V= 2.6
|
|
|
|
DISTNAME= calendar-$V
|
2004-11-26 04:54:35 -05:00
|
|
|
PKGNAME= mycalendar-$Vp0
|
2002-07-16 23:14:13 -04:00
|
|
|
CATEGORIES= www
|
|
|
|
|
2003-01-10 00:02:58 -05:00
|
|
|
HOMEPAGE= http://www.fuzzymonkey.org/newfuzzy/software/perl/
|
2002-07-16 23:14:13 -04:00
|
|
|
|
|
|
|
MAINTAINER= Kevin Lo <kevlo@openbsd.org>
|
|
|
|
|
2003-10-18 15:44:41 -04:00
|
|
|
# GPL
|
2002-07-16 23:14:13 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM=Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
|
|
|
MASTER_SITES= http://www.fuzzymonkey.org/files/
|
|
|
|
|
|
|
|
NO_BUILD= Yes
|
|
|
|
NO_REGRESS= Yes
|
2004-02-01 15:17:47 -05:00
|
|
|
PKG_ARCH= *
|
2002-07-16 23:14:13 -04:00
|
|
|
|
|
|
|
WRKDIST= ${WRKDIR}/calendar
|
|
|
|
|
|
|
|
PREFIX= /var/www
|
|
|
|
INSTDIR= ${PREFIX}/cgi-bin
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_DATA_DIR} ${INSTDIR}/calendar
|
|
|
|
@cd ${WRKSRC} && cp -R * ${INSTDIR}/calendar
|
2004-11-26 04:54:35 -05:00
|
|
|
${INSTALL_DATA_DIR} ${INSTDIR}/calendar/examples
|
|
|
|
${INSTALL_DATA} ${INSTDIR}/calendar/template.html \
|
|
|
|
${INSTDIR}/calendar/examples
|
|
|
|
@touch ${INSTDIR}/calendar/examples/appointments.txt
|
2002-07-16 23:14:13 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|