openbsd-ports/www/mycalendar/Makefile

43 lines
931 B
Makefile
Raw Normal View History

2010-11-22 03:36:47 -05:00
# $OpenBSD: Makefile,v 1.11 2010/11/22 08:36:49 espie Exp $
COMMENT= lightweight and easy to use web calendar
2006-04-11 01:49:38 -04:00
V= 2.7
2003-11-13 22:16:10 -05:00
DISTNAME= calendar-$V
2006-04-11 01:49:38 -04:00
PKGNAME= mycalendar-$V
CATEGORIES= www
2003-01-10 00:02:58 -05:00
HOMEPAGE= http://www.fuzzymonkey.org/newfuzzy/software/perl/
MAINTAINER= Kevin Lo <kevlo@openbsd.org>
2003-10-18 15:44:41 -04:00
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM=Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= http://www.fuzzymonkey.org/files/
2010-11-22 03:36:47 -05:00
RUN_DEPENDS= print/pscal \
print/ghostscript/gnu
2006-04-11 01:49:38 -04:00
NO_BUILD= Yes
NO_REGRESS= Yes
2004-02-01 15:17:47 -05:00
PKG_ARCH= *
WRKDIST= ${WRKDIR}/calendar
PREFIX= /var/www
INSTDIR= ${PREFIX}/cgi-bin
do-install:
${INSTALL_DATA_DIR} ${INSTDIR}/calendar
@cd ${WRKSRC} && cp -R * ${INSTDIR}/calendar
${INSTALL_DATA_DIR} ${INSTDIR}/calendar/examples
${INSTALL_DATA} ${INSTDIR}/calendar/template.html \
${INSTDIR}/calendar/examples
@touch ${INSTDIR}/calendar/examples/appointments.txt
.include <bsd.port.mk>