openbsd-ports/productivity/davical/Makefile
landry e53633398a Update to davical 1.1.1, from viq.
Add a patch to unbreak db initialization (remove quotes around LANGUAGE
'plpgsql', breaking with recent psqls ?)
2012-11-11 20:50:18 +00:00

43 lines
974 B
Makefile

# $OpenBSD: Makefile,v 1.3 2012/11/11 20:50:18 landry Exp $
COMMENT = CalDAV/CardDav calendar/contacts server
DISTNAME = davical-1.1.1
CATEGORIES = productivity net
HOMEPAGE = http://www.davical.org/
MAINTAINER = Landry Breuil <landry@openbsd.org>
# GPLv2+
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = 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},-pdo_pgsql \
www/awl>=0.53 \
devel/p5-YAML \
databases/p5-DBD-Pg
NO_BUILD = Yes
NO_REGRESS = 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>