[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / www / davical

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /pkgsrc/www/davical/Makefile between version 1.25 and 1.38

version 1.25, 2015/11/16 13:22:47 version 1.38, 2019/09/20 07:45:21
Line 1 
Line 1 
 # $NetBSD$  # $NetBSD$
 #  
   
 DISTNAME=       davical-${DAVICAL_VERSION}  DISTNAME=       davical-${DAVICAL_VERSION}
 DAVICAL_VERSION=1.1.3.1  PKGNAME=        ${PHP_PKG_PREFIX}-davical-${DAVICAL_VERSION}
 #PKGREVISION=   1  PKGREVISION=    2
 CATEGORIES=     www  CATEGORIES=     www
 MASTER_SITES=   -https://gitlab.com/davical-project/davical/repository/archive.tar.gz?ref=r${DAVICAL_VERSION}  MASTER_SITES=   -https://gitlab.com/davical-project/davical/repository/archive.tar.gz?ref=${GITLAB_TAG}
   
 MAINTAINER=     jym@NetBSD.org  MAINTAINER=     jym@NetBSD.org
 HOMEPAGE=       http://www.davical.org/  HOMEPAGE=       https://www.davical.org/
 COMMENT=        Simple CalDAV server using a PostgreSQL backend  COMMENT=        Simple CalDAV server using a PostgreSQL backend
   
 LICENSE=        gnu-gpl-v2 AND gnu-gpl-v3  LICENSE=        gnu-gpl-v2 AND gnu-gpl-v3
   
   DAVICAL_VERSION=1.1.8
   GITLAB_TAG=     r${DAVICAL_VERSION}
   GITLAB_REV=     4af9595f4d0530268ac1289ba4ab2adb4890802e
   
 DAVICALDIR=     ${PREFIX}/share/davical  DAVICALDIR=     ${PREFIX}/share/davical
 EGDIR=          ${PREFIX}/share/examples/davical  EGDIR=          ${PREFIX}/share/examples/davical
 DOCDIR=         ${PREFIX}/share/doc/davical  DOCDIR=         ${PREFIX}/share/doc/davical
Line 23  BUILD_DEFS= APACHE_USER APACHE_GROUP PGU
Line 25  BUILD_DEFS= APACHE_USER APACHE_GROUP PGU
 DAVICAL_USER?=  ${PGUSER}  DAVICAL_USER?=  ${PGUSER}
 DAVICAL_GROUP?= ${PGGROUP}  DAVICAL_GROUP?= ${PGGROUP}
   
 USE_TOOLS=      gmake pax msgfmt perl:build  USE_TOOLS=      gmake pax msgfmt perl
   
 PAXDIRS=        htdocs inc dba po scripts  PAXDIRS=        htdocs inc dba po scripts
   
Line 31  INSTALLATION_DIRS= ${DOCDIR} ${EGDIR}/co
Line 33  INSTALLATION_DIRS= ${DOCDIR} ${EGDIR}/co
   
 .include "../../lang/php/phpversion.mk"  .include "../../lang/php/phpversion.mk"
   
 DEPENDS+=       ${APACHE_PKG_PREFIX}-${PHP_PKG_PREFIX}>=5.2:../../www/ap-php  
 DEPENDS+=       ${PHP_PKG_PREFIX}-pgsql>=4.3.1:../../databases/php-pgsql  DEPENDS+=       ${PHP_PKG_PREFIX}-pgsql>=4.3.1:../../databases/php-pgsql
 DEPENDS+=       ${PHP_PKG_PREFIX}-pdo_pgsql>=${PHP_BASE_VERS}:../../databases/php-pdo_pgsql  DEPENDS+=       ${PHP_PKG_PREFIX}-pdo_pgsql>=${PHP_BASE_VERS}:../../databases/php-pdo_pgsql
 DEPENDS+=       ${PHP_PKG_PREFIX}-libawl>=0.53:../../devel/php-libawl  DEPENDS+=       ${PHP_PKG_PREFIX}-libawl>=0.56:../../devel/php-libawl
 DEPENDS+=       ${PHP_PKG_PREFIX}-calendar>=5.3.18:../../time/php-calendar  DEPENDS+=       ${PHP_PKG_PREFIX}-calendar>=5.3.18:../../time/php-calendar
 DEPENDS+=       ${PHP_PKG_PREFIX}-curl>=5.3.18:../../www/php-curl  DEPENDS+=       ${PHP_PKG_PREFIX}-curl>=5.3.18:../../www/php-curl
   DEPENDS+=       p5-DBI>=1.631:../../databases/p5-DBI
   DEPENDS+=       p5-DBD-postgresql>=3.5:../../databases/p5-DBD-postgresql
 DEPENDS+=       p5-YAML>=0.71:../../textproc/p5-YAML  DEPENDS+=       p5-YAML>=0.71:../../textproc/p5-YAML
 DEPENDS+=       pwgen>=2.06:../../sysutils/pwgen  DEPENDS+=       pwgen>=2.06:../../sysutils/pwgen
 DEPENDS+=       postgresql${PGSQL_VERSION}-client-[0-9]*:../../databases/postgresql${PGSQL_VERSION}-client  DEPENDS+=       postgresql${PGSQL_VERSION}-client-[0-9]*:../../databases/postgresql${PGSQL_VERSION}-client
Line 58  CONF_FILES_PERMS+= ${EGDIR}/config/examp
Line 61  CONF_FILES_PERMS+= ${EGDIR}/config/examp
                         ${PKG_SYSCONFDIR}/config.php            \                          ${PKG_SYSCONFDIR}/config.php            \
                         ${APACHE_USER} ${APACHE_GROUP} 0640                          ${APACHE_USER} ${APACHE_GROUP} 0640
   
 REPLACE_PERL=           dba/update-davical-database  REPLACE_PERL=           dba/update-davical-database scripts/davical-cli
   
 REPLACE_INTERPRETER+=   php  REPLACE_INTERPRETER+=   php
 REPLACE.php.old=        .*php  REPLACE.php.old=        .*php
Line 73  REPLACE_FILES.php+= scripts/tz-update.ph
Line 76  REPLACE_FILES.php+= scripts/tz-update.ph
   
 SUBST_CLASSES+=         conf-path  SUBST_CLASSES+=         conf-path
 SUBST_STAGE.conf-path=  pre-configure  SUBST_STAGE.conf-path=  pre-configure
   SUBST_VARS.conf-path+=  PKG_SYSCONFDIR
 SUBST_FILES.conf-path=  inc/always.php.in dba/update-davical-database  SUBST_FILES.conf-path=  inc/always.php.in dba/update-davical-database
 SUBST_FILES.conf-path+= inc/davical_configuration_missing.php  SUBST_FILES.conf-path+= inc/davical_configuration_missing.php
 SUBST_SED.conf-path+=   -e "s|@PKG_SYSCONFDIR@|${PKG_SYSCONFDIR}|g"  
 SUBST_MESSAGE.conf-path=Fixing configuration path.  SUBST_MESSAGE.conf-path=Fixing configuration path.
   
 # See ../../devel/php-libawl/Makefile.common for the LIBAWLDIR value  # See ../../devel/php-libawl/Makefile.common for the LIBAWLDIR value
 SUBST_CLASSES+=         inc-path  SUBST_CLASSES+=         inc-path
 SUBST_STAGE.inc-path=   pre-configure  SUBST_STAGE.inc-path=   pre-configure
   SUBST_VARS.inc-path+=   PKG_SYSCONFDIR
 SUBST_FILES.inc-path=   davical.conf inc/always.php.in  SUBST_FILES.inc-path=   davical.conf inc/always.php.in
 SUBST_FILES.inc-path+=  scripts/po/rebuild-translations.sh  SUBST_FILES.inc-path+=  scripts/po/rebuild-translations.sh
 SUBST_FILES.inc-path+=  dba/create-database.sh  SUBST_FILES.inc-path+=  dba/create-database.sh
Line 95  SUBST_MESSAGE.examples= Fixing config ex
Line 99  SUBST_MESSAGE.examples= Fixing config ex
   
 SUBST_CLASSES+=         files  SUBST_CLASSES+=         files
 SUBST_STAGE.files=      pre-configure  SUBST_STAGE.files=      pre-configure
   SUBST_VARS.files+=      DAVICALDIR
 SUBST_FILES.files=      davical.conf  SUBST_FILES.files=      davical.conf
 SUBST_SED.files+=       -e "s|@DAVICALDIR@|${DAVICALDIR}|g"  
 SUBST_MESSAGE.files=    Fixing DAViCal configuration file for Apache.  SUBST_MESSAGE.files=    Fixing DAViCal configuration file for Apache.
   
 post-extract:  pre-patch:
         ${MV} ${WRKDIR}/davical-r${DAVICAL_VERSION}-* \          ${MV} ${WRKDIR}/davical-${GITLAB_TAG}-${GITLAB_REV} ${WRKSRC}
                 ${WRKDIR}/davical-${DAVICAL_VERSION}  
         ${CP} ${FILESDIR}/davical.conf ${WRKSRC}/davical.conf          ${CP} ${FILESDIR}/davical.conf ${WRKSRC}/davical.conf
   
 pre-install:  pre-install:
Line 131  do-install:
Line 134  do-install:
   
 .include "../../mk/pgsql.buildlink3.mk"  .include "../../mk/pgsql.buildlink3.mk"
 .include "../../devel/php-libawl/Makefile.common"  .include "../../devel/php-libawl/Makefile.common"
 .include "../../mk/apache.mk"  
 .include "../../mk/bsd.pkg.mk"  .include "../../mk/bsd.pkg.mk"

Legend:
Removed from v.1.25  
changed lines
  Added in v.1.38

CVSweb <webmaster@jp.NetBSD.org>