[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.1 and 1.17

version 1.1, 2010/05/23 21:36:30 version 1.17, 2012/11/22 10:59:09
Line 2 
Line 2 
 #  #
   
 DISTNAME=       davical-${DAVICAL_VERSION}  DISTNAME=       davical-${DAVICAL_VERSION}
 DAVICAL_VERSION=0.9.9  DAVICAL_VERSION=1.1.1
   PKGREVISION=    2
 CATEGORIES=     www  CATEGORIES=     www
 MASTER_SITES=   http://debian.mcmillan.net.nz/packages/davical/  MASTER_SITES=   http://debian.mcmillan.net.nz/packages/davical/
   
Line 12  COMMENT= Simple CalDAV server using a Po
Line 13  COMMENT= Simple CalDAV server using a Po
   
 LICENSE=        gnu-gpl-v2 AND gnu-gpl-v3  LICENSE=        gnu-gpl-v2 AND gnu-gpl-v3
   
 PKG_DESTDIR_SUPPORT=    user-destdir  
   
 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
   
 BUILD_DEFS=     APACHE_USER APACHE_GROUP  BUILD_DEFS=     APACHE_USER APACHE_GROUP PGUSER PGGROUP
   
 DAVICAL_USER?=  ${APACHE_USER}  # davical_dba account
 DAVICAL_GROUP?= ${APACHE_GROUP}  DAVICAL_USER?=  ${PGUSER}
   DAVICAL_GROUP?= ${PGGROUP}
   
 USE_TOOLS=      pax msgfmt perl:build  USE_TOOLS=      gmake pax msgfmt perl:build
   
 PAXDIRS=        htdocs inc dba po scripts  PAXDIRS=        htdocs inc dba po scripts
   
Line 31  INSTALLATION_DIRS= ${DOCDIR} ${EGDIR}/co
Line 31  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.42:../../devel/php-libawl  DEPENDS+=       ${PHP_PKG_PREFIX}-libawl>=0.53:../../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-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
   
 PKG_SYSCONFSUBDIR=      davical  PKG_SYSCONFSUBDIR=      davical
 PKG_SYSCONFDIR_PERMS=   ${DAVICAL_USER} ${DAVICAL_GROUP} 0700  
   
 MESSAGE_SUBST+=         DAVICALDIR=${DAVICALDIR:Q} DOCDIR=${DOCDIR:Q}  MESSAGE_SUBST+=         DAVICALDIR=${DAVICALDIR:Q} DOCDIR=${DOCDIR:Q}
 MESSAGE_SUBST+=         PKG_SYSCONFDIR=${PKG_SYSCONFDIR:Q}  MESSAGE_SUBST+=         PKG_SYSCONFDIR=${PKG_SYSCONFDIR:Q}
   MESSAGE_SUBST+=         HOMEPAGE=${HOMEPAGE:Q}
   
 CONF_FILES=             ${EGDIR}/davical.conf   \  CONF_FILES=             ${EGDIR}/davical.conf   \
                         ${PKG_SYSCONFDIR}/davical.conf                          ${PKG_SYSCONFDIR}/davical.conf
   
 CONF_FILES+=            ${EGDIR}/config/example-administration.yml      \  CONF_FILES_PERMS+=      ${EGDIR}/config/example-administration.yml      \
                         ${PKG_SYSCONFDIR}/administration.yml                          ${PKG_SYSCONFDIR}/administration.yml            \
                           ${DAVICAL_USER} ${DAVICAL_GROUP} 0600
   
 CONF_FILES_PERMS+=      ${EGDIR}/config/example-config.php      \  CONF_FILES_PERMS+=      ${EGDIR}/config/example-config.php      \
                         ${PKG_SYSCONFDIR}/config.php            \                          ${PKG_SYSCONFDIR}/config.php            \
                         ${DAVICAL_USER} ${DAVICAL_GROUP} 0640                          ${APACHE_USER} ${APACHE_GROUP} 0640
   
 REPLACE_INTERPRETER+=   perl  REPLACE_PERL=           dba/update-davical-database
 REPLACE.perl.old=       .*/bin/perl  
 REPLACE.perl.new=       ${PREFIX}/bin/perl  
 REPLACE_FILES.perl=     scripts/po/extract.pl  
   
 REPLACE_INTERPRETER+=   php  REPLACE_INTERPRETER+=   php
 REPLACE.php.old=        .*/bin/php  REPLACE.php.old=        .*php
 REPLACE.php.new=        ${PREFIX}/bin/php  REPLACE.php.new=        ${PREFIX}/bin/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/sync-remote-caldav.php
   REPLACE_FILES.php+=     scripts/tz-update.php
   
 SUBST_CLASSES+=         conf-path  SUBST_CLASSES+=         conf-path
 SUBST_STAGE.conf-path=  pre-configure  SUBST_STAGE.conf-path=  pre-configure
Line 114  do-install:
Line 118  do-install:
   
 .       for d in ${PAXDIRS}  .       for d in ${PAXDIRS}
                 ${INSTALL_DATA_DIR} ${DESTDIR}${DAVICALDIR}/${d}                  ${INSTALL_DATA_DIR} ${DESTDIR}${DAVICALDIR}/${d}
 .       endfor  
   
 .       for d in ${PAXDIRS}  
                 cd ${WRKSRC}/${d} && pax -rwpam . ${DESTDIR}${DAVICALDIR}/${d}                  cd ${WRKSRC}/${d} && pax -rwpam . ${DESTDIR}${DAVICALDIR}/${d}
 .       endfor  .       endfor
   

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.17

CVSweb <webmaster@jp.NetBSD.org>