| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: Makefile,v 1.39 2019/11/03 14:05:19 triaxx Exp $ | | 1 | # $NetBSD: Makefile,v 1.40 2019/11/04 04:26:26 triaxx Exp $ |
2 | | | 2 | |
3 | DISTNAME= davical-${DAVICAL_VERSION} | | 3 | DISTNAME= davical-${DAVICAL_VERSION} |
4 | PKGNAME= ${PHP_PKG_PREFIX}-davical-${DAVICAL_VERSION} | | 4 | PKGNAME= ${PHP_PKG_PREFIX}-davical-${DAVICAL_VERSION} |
5 | PKGREVISION= 3 | | 5 | PKGREVISION= 3 |
6 | CATEGORIES= www | | 6 | CATEGORIES= www |
7 | MASTER_SITES= -https://gitlab.com/davical-project/davical/repository/archive.tar.gz?ref=${GITLAB_TAG} | | 7 | MASTER_SITES= -https://gitlab.com/davical-project/davical/repository/archive.tar.gz?ref=${GITLAB_TAG} |
8 | | | 8 | |
9 | MAINTAINER= jym@NetBSD.org | | 9 | MAINTAINER= jym@NetBSD.org |
10 | HOMEPAGE= https://www.davical.org/ | | 10 | HOMEPAGE= https://www.davical.org/ |
11 | COMMENT= Simple CalDAV server using a PostgreSQL backend | | 11 | COMMENT= Simple CalDAV server using a PostgreSQL backend |
12 | LICENSE= gnu-gpl-v2 AND gnu-gpl-v3 | | 12 | LICENSE= gnu-gpl-v2 AND gnu-gpl-v3 |
13 | | | 13 | |
14 | DAVICAL_VERSION=1.1.8 | | 14 | DAVICAL_VERSION=1.1.8 |
| @@ -75,27 +75,27 @@ REPLACE_FILES.php+= scripts/sync-remote- | | | @@ -75,27 +75,27 @@ REPLACE_FILES.php+= scripts/sync-remote- |
75 | REPLACE_FILES.php+= scripts/tz-update.php | | 75 | REPLACE_FILES.php+= scripts/tz-update.php |
76 | | | 76 | |
77 | SUBST_CLASSES+= conf-path | | 77 | SUBST_CLASSES+= conf-path |
78 | SUBST_STAGE.conf-path= pre-configure | | 78 | SUBST_STAGE.conf-path= pre-configure |
79 | SUBST_VARS.conf-path+= PKG_SYSCONFDIR | | 79 | SUBST_VARS.conf-path+= PKG_SYSCONFDIR |
80 | SUBST_FILES.conf-path= inc/always.php.in dba/update-davical-database | | 80 | SUBST_FILES.conf-path= inc/always.php.in dba/update-davical-database |
81 | SUBST_FILES.conf-path+= inc/davical_configuration_missing.php | | 81 | SUBST_FILES.conf-path+= inc/davical_configuration_missing.php |
82 | SUBST_MESSAGE.conf-path=Fixing configuration path. | | 82 | SUBST_MESSAGE.conf-path=Fixing configuration path. |
83 | | | 83 | |
84 | # See ../../devel/php-libawl/Makefile.common for the LIBAWLDIR value | | 84 | # See ../../devel/php-libawl/Makefile.common for the LIBAWLDIR value |
85 | SUBST_CLASSES+= inc-path | | 85 | SUBST_CLASSES+= inc-path |
86 | SUBST_STAGE.inc-path= pre-configure | | 86 | SUBST_STAGE.inc-path= pre-configure |
87 | SUBST_VARS.inc-path+= PKG_SYSCONFDIR | | 87 | SUBST_VARS.inc-path+= PKG_SYSCONFDIR |
88 | SUBST_FAWLDIRILES.inc-path= davical.conf inc/always.php.in | | 88 | SUBST_FILES.inc-path= davical.conf inc/always.php.in |
89 | SUBST_FILES.inc-path+= scripts/po/rebuild-translations.sh | | 89 | SUBST_FILES.inc-path+= scripts/po/rebuild-translations.sh |
90 | SUBST_FILES.inc-path+= dba/create-database.sh | | 90 | SUBST_FILES.inc-path+= dba/create-database.sh |
91 | SUBST_SED.inc-path+= -e "s|@LIBAWLPATH@|${PREFIX}/${LIBAWLDIR}|g" | | 91 | SUBST_SED.inc-path+= -e "s|@LIBAWLPATH@|${PREFIX}/${LIBAWLDIR}|g" |
92 | SUBST_MESSAGE.inc-path= Fixing AWL include path. | | 92 | SUBST_MESSAGE.inc-path= Fixing AWL include path. |
93 | | | 93 | |
94 | SUBST_CLASSES+= examples | | 94 | SUBST_CLASSES+= examples |
95 | SUBST_STAGE.examples= pre-configure | | 95 | SUBST_STAGE.examples= pre-configure |
96 | SUBST_FILES.examples= dba/create-database.sh | | 96 | SUBST_FILES.examples= dba/create-database.sh |
97 | SUBST_SED.examples+= -e "s|@EGDIRCONFIG@|${EGDIR}/config|g" | | 97 | SUBST_SED.examples+= -e "s|@EGDIRCONFIG@|${EGDIR}/config|g" |
98 | SUBST_MESSAGE.examples= Fixing config examples path. | | 98 | SUBST_MESSAGE.examples= Fixing config examples path. |
99 | | | 99 | |
100 | SUBST_CLASSES+= files | | 100 | SUBST_CLASSES+= files |
101 | SUBST_STAGE.files= pre-configure | | 101 | SUBST_STAGE.files= pre-configure |