[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.9 and 1.34

version 1.9, 2011/10/13 15:57:03 version 1.34, 2018/06/22 10:08:48
Line 1 
Line 1 
 # $NetBSD$  # $NetBSD$
 #  
   
 DISTNAME=       davical-${DAVICAL_VERSION}  DISTNAME=       davical-${DAVICAL_VERSION}
 DAVICAL_VERSION=0.9.9.6  PKGNAME=        ${PHP_PKG_PREFIX}-davical-${DAVICAL_VERSION}
 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.7
   GITLAB_TAG=     r${DAVICAL_VERSION}
   GITLAB_REV=     05397d635c3f218b850775223aa5dd705da9f91c
   
 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 24  BUILD_DEFS= APACHE_USER APACHE_GROUP PGU
 DAVICAL_USER?=  ${PGUSER}  DAVICAL_USER?=  ${PGUSER}
 DAVICAL_GROUP?= ${PGGROUP}  DAVICAL_GROUP?= ${PGGROUP}
   
 USE_TOOLS=      pax msgfmt perl:build  USE_TOOLS=      gmake pax msgfmt perl
   
 PAXDIRS=        htdocs inc dba po scripts  PAXDIRS=        htdocs inc dba po scripts
   
Line 35  INSTALLATION_DIRS= ${DOCDIR} ${EGDIR}/co
Line 35  INSTALLATION_DIRS= ${DOCDIR} ${EGDIR}/co
 DEPENDS+=       ${APACHE_PKG_PREFIX}-${PHP_PKG_PREFIX}>=5.2:../../www/ap-php  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.48:../../devel/php-libawl  DEPENDS+=       ${PHP_PKG_PREFIX}-libawl>=0.56:../../devel/php-libawl
 DEPENDS+=       p5-DBD-postgresql>=2.16.1:../../databases/p5-DBD-postgresql  DEPENDS+=       ${PHP_PKG_PREFIX}-calendar>=5.3.18:../../time/php-calendar
 DEPENDS+=       p5-Class-DBI-Pg>=0.09:../../databases/p5-Class-DBI-Pg  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 59  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/sync-remote-caldav.php  REPLACE_FILES.php+=     scripts/cron-sync-ldap.php
   REPLACE_FILES.php+=     scripts/export_calendar.php
   REPLACE_FILES.php+=     scripts/load_calendar.php
 REPLACE_FILES.php+=     scripts/refresh-alarms.php  REPLACE_FILES.php+=     scripts/refresh-alarms.php
   REPLACE_FILES.php+=     scripts/sync-remote-caldav.php
 REPLACE_FILES.php+=     scripts/tz-update.php  REPLACE_FILES.php+=     scripts/tz-update.php
   
 SUBST_CLASSES+=         conf-path  SUBST_CLASSES+=         conf-path
Line 83  SUBST_FILES.inc-path= davical.conf inc/a
Line 88  SUBST_FILES.inc-path= davical.conf inc/a
 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
 SUBST_SED.inc-path+=    -e "s|@LIBAWLPATH@|${PREFIX}/${LIBAWLDIR}|g"  SUBST_SED.inc-path+=    -e "s|@LIBAWLPATH@|${PREFIX}/${LIBAWLDIR}|g"
   SUBST_SED.inc-path+=    -e "s|@PKG_SYSCONFDIR@|${PKG_SYSCONFDIR}|g"
 SUBST_MESSAGE.inc-path= Fixing AWL include path.  SUBST_MESSAGE.inc-path= Fixing AWL include path.
   
 SUBST_CLASSES+=         examples  SUBST_CLASSES+=         examples
Line 97  SUBST_FILES.files= davical.conf
Line 103  SUBST_FILES.files= davical.conf
 SUBST_SED.files+=       -e "s|@DAVICALDIR@|${DAVICALDIR}|g"  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:

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.34

CVSweb <webmaster@jp.NetBSD.org>