jung bba04671c6 disable LOGFILE reverting back to earlier port versions behaviour and avoid
silent HTTP 505 error responses in initial setups (e.g. following README)

with hint and testing from mikolaj kucharski

maintainer timeout
2020-02-01 20:44:16 +00:00

44 lines
1.0 KiB
Makefile

# $OpenBSD: Makefile,v 1.17 2020/02/01 20:44:16 jung Exp $
COMMENT = a simple, safe, and minimal CalDAV server
DISTNAME = kcaldav-0.1.11
REVISION = 0
CATEGORIES = www
HOMEPAGE = https://kristaps.bsd.lv/kcaldav/
MAINTAINER = Aaron Poffenberger <akp@hypernote.com>
# ISC
PERMIT_PACKAGE = Yes
# "make port-lib-depends-check" can help
WANTLIB += c expat m sqlite3 pthread
MASTER_SITES = https://kristaps.bsd.lv/kcaldav/snapshots/
EXTRACT_SUFX = .tgz
BUILD_DEPENDS = www/kcgi
LIB_DEPENDS = databases/sqlite3
CONFIGURE_STYLE = simple
USE_GMAKE = Yes
CONFIGURE_ARGS = CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
FAKE_FLAGS = PREFIX=${WRKINST}${TRUEPREFIX} \
HTDOCSPREFIX=${VARBASE}/www/htdocs/kcaldav \
CGIPREFIX=${VARBASE}/www/cgi-bin \
CALPREFIX=${VARBASE}/www/caldav
# no doc on how to run tests
NO_TEST = Yes
ALL_TARGET = all libkcaldav.a
INSTALL_TARGET = install installcgi
post-install:
ln -s kcaldav ${WRKINST}${VARBASE}/www/cgi-bin/kcaldav.cgi
.include <bsd.port.mk>