43 lines
956 B
Makefile
43 lines
956 B
Makefile
# $OpenBSD: Makefile,v 1.9 2006/04/11 05:49:38 kevlo Exp $
|
|
|
|
COMMENT= "lightweight and easy to use web calendar"
|
|
|
|
V= 2.7
|
|
DISTNAME= calendar-$V
|
|
PKGNAME= mycalendar-$V
|
|
CATEGORIES= www
|
|
|
|
HOMEPAGE= http://www.fuzzymonkey.org/newfuzzy/software/perl/
|
|
|
|
MAINTAINER= Kevin Lo <kevlo@openbsd.org>
|
|
|
|
# GPL
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM=Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
MASTER_SITES= http://www.fuzzymonkey.org/files/
|
|
|
|
RUN_DEPENDS= :pscal-*:print/pscal \
|
|
:ghostscript-*:print/ghostscript/gnu
|
|
|
|
NO_BUILD= Yes
|
|
NO_REGRESS= Yes
|
|
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>
|