aboutsummaryrefslogtreecommitdiffstats
path: root/www/davical/Makefile
blob: 5ed94a5af7861c3621d7e5b50dac0edc63aa0481 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
# Created by: Maurice Castro <maurice@castro.aus.net>
# $FreeBSD$

PORTNAME=   davical
DISTVERSIONPREFIX=  r
DISTVERSION=    1.1.5
PORTREVISION=   2
CATEGORIES?=    www
MASTER_SITES=   https://gitlab.com/${PORTNAME}-project/${PORTNAME}/repository/archive.tar.gz?ref=${DISTVERSIONPREFIX}${PORTVERSION}&dummy=/

MAINTAINER= lbdm@privacychain.ch
COMMENT=    Simple CalDAV server using a postgres backend

LICENSE=    GPLv2 LGPL21
LICENSE_COMB=   multi
LICENSE_FILE=   ${WRKSRC}/COPYING

RUN_DEPENDS=    p5-DBI>=0:databases/p5-DBI \
        p5-YAML>=0:textproc/p5-YAML \
        p5-DBD-Pg>=0:databases/p5-DBD-Pg \
        ${LOCALBASE}/bin/pwgen:sysutils/pwgen \
        php-libawl>=0.54:devel/php-libawl

WRKSRC=     ${WRKDIR}/${PORTNAME}-${DISTVERSIONPREFIX}${PORTVERSION}-7ccc7c449176475891ec50d5524928628df6f8d1

NO_BUILD=   yes
USES=       pgsql php shebangfix
USE_PHP=    calendar curl gettext iconv pcre pdo pdo_pgsql pgsql xml
SHEBANG_FILES=  scripts/sync-remote-caldav.php
SUB_FILES=  pkg-message httpd-davical.conf
PORTDOCS=   README INSTALL davical_en_user_guide.odt phpdoc.ini \
        translation.rst
PORTEXAMPLES=   config

OPTIONS_DEFINE= DOCS EXAMPLES

post-extract:
    ${FIND} ${WRKSRC} -name .gitignore -delete

do-install:
    ${MKDIR} ${STAGEDIR}${WWWDIR}/htdocs \
        ${STAGEDIR}${WWWDIR}/inc \
        ${STAGEDIR}${WWWDIR}/config \
        ${STAGEDIR}${EXAMPLESDIR} \
        ${STAGEDIR}${DATADIR} \
        ${STAGEDIR}${DOCSDIR}
    # WWWDIR
    (cd ${WRKSRC}/htdocs && \
        ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}/htdocs)
    (cd ${WRKSRC}/inc && ${COPYTREE_SHARE} . \
        ${STAGEDIR}${WWWDIR}/inc "! -name always.php.in")
    ${INSTALL_DATA} ${WRKSRC}/config/example-config.php \
        ${STAGEDIR}${WWWDIR}/config/config.php.sample
    # DATADIR
    (cd ${WRKSRC} && ${COPYTREE_SHARE} scripts ${STAGEDIR}${DATADIR})
    (cd ${WRKSRC} && ${COPYTREE_SHARE} dba ${STAGEDIR}${DATADIR} \
        "! -name update-davical-database")
    ${INSTALL_DATA} ${WRKDIR}/httpd-davical.conf ${STAGEDIR}${DATADIR}
    ${INSTALL_SCRIPT} ${WRKSRC}/dba/update-davical-database \
        ${STAGEDIR}${DATADIR}/dba
    # DOCSDIR
    (cd ${WRKSRC}/docs && \
        ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
    ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/INSTALL ${STAGEDIR}${DOCSDIR}
    # EXAMPLESDIR
    (cd ${WRKSRC} && \
        ${COPYTREE_SHARE} config ${STAGEDIR}${EXAMPLESDIR})

.include <bsd.port.mk>
berger2017-11-053-4/+6 * - Reset MAINTAINER due to fatal email bounces, maintainer timeoutsRyan Steinmetz2017-11-041-1/+1 * Update to 1.0972Emanuel Haupt2017-11-042-4/+4 * Update to 2.4.21Emanuel Haupt2017-11-042-4/+4 * www/groupoffice: Update from 6.2.64 to 6.2.68Jochen Neumeister2017-11-043-40/+77 * Update license of ports using MPL (without version)Danilo G. Baio2017-11-0410-10/+10 * www/firefox: move llvm* dep into Mk/bsd.gecko.mkJan Beich2017-11-041-3/+0 * gecko: unbreak build with GCC after r453437Jan Beich2017-11-043-85/+69 * gecko: speed up HTML5 video scaling on i386Jan Beich2017-11-046-3/+241 * Update to 3.7.0Sunpoet Po-Chuan Hsieh2017-11-042-4/+4 * Update to 0.9.0Sunpoet Po-Chuan Hsieh2017-11-043-6/+7 * Fix qt5 builds on some arm architecturesTobias C. Berner2017-11-046-0/+114 * Do the port clean-up:Jochen Neumeister2017-11-041-45/+35 * New port of a simple paste-bin server. Files are AES encrypted on theStefan Eßer2017-11-049-0/+249 * Update to 1.1.0Kevin Lo2017-11-033-8/+12 * Update to 7.52Adam Weinberger2017-11-032-7/+7 * Fix whitespace issues (mixed tab/spaces, alignment) in a few ports.Jimmy Olgeni2017-11-034-18/+18 * Update to 5.2.0Sunpoet Po-Chuan Hsieh2017-11-032-4/+4 * Update to 1.11.7 to match www/py-django111Sunpoet Po-Chuan Hsieh2017-11-031-1/+1 * Update to 1.11.7Sunpoet Po-Chuan Hsieh2017-11-032-4/+4 * Update to 4.37Sunpoet Po-Chuan Hsieh2017-11-032-4/+4 * Add an RSS and Atom feed generator by Kai BlankenhornDan Langille2017-11-035-0/+72 * Correctly register the run-time python dependency for the ADMIN option.Mathieu Arnold2017-11-021-3/+4 * - Update to 2.3.23Jose Alonso Cardenas Marquez2017-11-023-8/+73 * - Update to 8.4.1Jose Alonso Cardenas Marquez2017-11-023-473/+1064 * */wordpress: update to 4.8.3Jochen Neumeister2017-11-022-4/+4 * Fix whitespace issues (mixed tab/spaces, alignment) in a few ports.Jimmy Olgeni2017-11-015-12/+12 * Update to 7.51Adam Weinberger2017-11-012-4/+4 * New port www/p5-WebService-MusicBrainz0Ben Woods2017-10-315-0/+108 * - Really fix build when IPV6 option is disabledGuido Falsi2017-10-312-19/+16 * Fix whitespace issues (mixed tab/spaces, alignment) in a few ports.Jimmy Olgeni2017-10-313-3/+3 * Update to 0.9.9Baptiste Daroussin2017-10-313-4/+5 * Update to 7.50.Adam Weinberger2017-10-312-4/+4 * gecko: better detect FLAC after r453085Jan Beich2017-10-313-15/+45 * www/mod_http2-devel: Update to 1.10.13Bernard Spil2017-10-312-4/+4 * www/madsonic: Update to 6.2.9040Steve Wills2017-10-313-16/+15 * Update to 0.14Sunpoet Po-Chuan Hsieh2017-10-302-4/+4 * Update to 1.0.48.Vanilla I. Shu2017-10-303-4/+7 * Improve robustness of owner/mode settings.Xin LI2017-10-302-10/+15 * - Update to 1.58Wen Heping2017-10-302-3/+4 * Update to 1.0965Emanuel Haupt2017-10-292-4/+4 * www/gitea: Fix rc script on FreeBSD 10.x/11.0Tobias Kortkamp2017-10-292-3/+13 * gecko: speed up VP9 decoding on i386Jan Beich2017-10-296-3/+222 * Update to 1.0961Emanuel Haupt2017-10-292-4/+4 * Fix runtime problem when lighttpd is built with IPV6 option turnedGuido Falsi2017-10-292-0/+20 * gecko: double-click on tab bar crashfix for some WMsJan Beich2017-10-286-3/+126 * Update to 0.11.0Sunpoet Po-Chuan Hsieh2017-10-282-4/+4 * www/gitea: Update to 1.2.2Tobias Kortkamp2017-10-283-5/+9 * Remove uneeded patch.Vanilla I. Shu2017-10-271-64/+0 * UpdateVanilla I. Shu2017-10-277-29/+29 * Update to 2.5.2Sunpoet Po-Chuan Hsieh2017-10-272-4/+4 * Update to 1.27.0Sunpoet Po-Chuan Hsieh2017-10-272-5/+4 * Update to 1.27.0Sunpoet Po-Chuan Hsieh2017-10-272-4/+4 * www/node: Update 8.8.0 -> 8.8.1Bradley T. Hughes2017-10-272-4/+4 * Fix www/davical to be comptible with Postgres 10.0Tobias C. Berner2017-10-272-1/+60 * www/py-tvdb_api: Add missing dependenciesKubilay Kocak2017-10-261-2/+13 * [NEW] www/py-requests-cache: Persistent cache for requests libraryKubilay Kocak2017-10-264-0/+43 * www/firefox: unbreak JS debuggerJan Beich2017-10-262-1/+28 * Update to 27.0.0.183.Jung-uk Kim2017-10-262-4/+4 * www/firefox: better support ffmpeg 3.4 for media.ffvpx.enabled=falseJan Beich2017-10-262-1/+41 * www/node: Update 8.6.0 -> 8.8.0Bradley T. Hughes2017-10-264-16/+8 * www/node6: Update 6.11.4 -> 6.11.5Bradley T. Hughes2017-10-262-4/+4 * www/node4: Update 4.8.4_2 -> 4.8.5Bradley T. Hughes2017-10-262-5/+4 * Update to 1.33.0Sunpoet Po-Chuan Hsieh2017-10-262-5/+4 * www/py-flexget: update to 2.10.104Jan Beich2017-10-252-4/+4 * www/firefox: backport privacy.resistFingerprinting fix for User-AgentJan Beich2017-10-252-0/+145 * www/firefox: update to 56.0.2Jan Beich2017-10-254-199/+198 * www/rtv: Update to 1.19.0, Fix crash due Reddit API changeDanilo G. Baio2017-10-252-4/+4 * Fix Gemfile for rubygem-health_check 2.7.0 updateSunpoet Po-Chuan Hsieh2017-10-252-1/+11 * Update to 0.8.2Sunpoet Po-Chuan Hsieh2017-10-252-4/+4 * www/gitlab: Update from 9.3.11 to 9.4.7Torsten Zuehlsdorff2017-10-245-213/+536 * www/gitlab-workhorse: Update from 2.1.1 to 2.3.0Torsten Zuehlsdorff2017-10-242-4/+4 * www/mod_pagespeed: Fix distinfo by using LOCAL in MASTER_SITESMahdi Mokhtari2017-10-241-10/+1 * lang/rust: unbreak FFI for returning struct on i386Jan Beich2017-10-242-12/+1 * www/hiawatha: Update to 10.7Danilo G. Baio2017-10-243-6/+5 * www/mod_md-devel: Update to 1.0.1Bernard Spil2017-10-242-4/+4 * www/apache24: Update to 2.4.29Bernard Spil2017-10-2415-249/+7 * Update to 1.0.2Sunpoet Po-Chuan Hsieh2017-10-242-4/+4 * Fix *_DEPENDS: add missing devel/p5-Type-TinySunpoet Po-Chuan Hsieh2017-10-242-18/+22 * Update www/lighttpd to 1.4.47Guido Falsi2017-10-244-26/+11 * Update to 4.4.8 release.Alex Dupre2017-10-23