[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.14 and 1.38

version 1.14, 2012/08/15 20:23:08 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.1  PKGNAME=        ${PHP_PKG_PREFIX}-davical-${DAVICAL_VERSION}
   PKGREVISION=    2
 CATEGORIES=     www  CATEGORIES=     www
 MASTER_SITES=   http://debian.mcmillan.net.nz/packages/davical/  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
   
 PKG_DESTDIR_SUPPORT=    user-destdir  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
Line 24  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 32  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}-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 57  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
 REPLACE.php.new=        ${PREFIX}/bin/php  REPLACE.php.new=        ${PREFIX}/bin/php
 REPLACE_FILES.php=      scripts/cron-sync-ldap.php  REPLACE_FILES.php=      scripts/archive-old-events.php
   REPLACE_FILES.php+=     scripts/cron-sync-ldap.php
 REPLACE_FILES.php+=     scripts/export_calendar.php  REPLACE_FILES.php+=     scripts/export_calendar.php
 REPLACE_FILES.php+=     scripts/load_calendar.php  REPLACE_FILES.php+=     scripts/load_calendar.php
 REPLACE_FILES.php+=     scripts/refresh-alarms.php  REPLACE_FILES.php+=     scripts/refresh-alarms.php
Line 71  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 93  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-${GITLAB_TAG}-${GITLAB_REV} ${WRKSRC}
         ${CP} ${FILESDIR}/davical.conf ${WRKSRC}/davical.conf          ${CP} ${FILESDIR}/davical.conf ${WRKSRC}/davical.conf
   
 pre-install:  pre-install:
         ${FIND} ${WRKSRC} -name "*.orig" -print | ${XARGS} ${RM} -f          ${FIND} ${WRKSRC} -name "*.orig" -print | ${XARGS} ${RM} -f
           ${FIND} ${WRKSRC} -name ".gitignore" -print | ${XARGS} ${RM} -f
         ${FIND} ${WRKSRC}/po -name "*~" -print | ${XARGS} ${RM} -f          ${FIND} ${WRKSRC}/po -name "*~" -print | ${XARGS} ${RM} -f
   
 do-install:  do-install:
Line 126  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.14  
changed lines
  Added in v.1.38

CVSweb <webmaster@jp.NetBSD.org>