openbsd-ports/productivity/davical/Makefile
2013-03-11 11:35:43 +00:00

42 lines
940 B
Makefile

# $OpenBSD: Makefile,v 1.6 2013/03/11 11:37:54 espie Exp $
COMMENT = CalDAV/CardDav calendar/contacts server
DISTNAME = davical-1.1.1
REVISION = 1
CATEGORIES = productivity net
HOMEPAGE = http://www.davical.org/
MAINTAINER = Landry Breuil <landry@openbsd.org>
# GPLv2+
PERMIT_PACKAGE_CDROM = Yes
MASTER_SITES = http://debian.mcmillan.net.nz/packages/davical/
MODULES = lang/php
PREFIX = /var/www
INSTDIR = ${PREFIX}/davical
TINSTDIR = ${TRUEPREFIX}/davical
SUBST_VARS = TINSTDIR
RUN_DEPENDS += lang/php/${MODPHP_VERSION},-curl \
lang/php/${MODPHP_VERSION},-pdo_pgsql \
www/awl>=0.53 \
devel/p5-YAML \
databases/p5-DBD-Pg
NO_BUILD = Yes
NO_TEST = Yes
PKG_ARCH = *
do-install:
${INSTALL_DATA_DIR} ${INSTDIR}
cp -Rp ${WRKSRC}/{README,INSTALL,dba,inc,config,htdocs,po,scripts} ${INSTDIR}
${SUBST_CMD} -c ${FILESDIR}/davical.conf ${INSTDIR}/davical.conf
chown -R ${SHAREOWN}:${SHAREGRP} ${INSTDIR}
.include <bsd.port.mk>