aboutsummaryrefslogtreecommitdiff
path: root/www/davical/Makefile
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2010-06-07 06:27:29 +0000
committerMartin Wilke <miwi@FreeBSD.org>2010-06-07 06:27:29 +0000
commit7cc3309f2104ec9df877b3cd95f6ebd3192b1de1 (patch)
tree1f4d603a7636958fc0ee5c1b1d607fdab2e0d747 /www/davical/Makefile
parent10e1c069df15ebd1be8e2a982c8394edfee0eb27 (diff)
downloadports-7cc3309f2104ec9df877b3cd95f6ebd3192b1de1.tar.gz
ports-7cc3309f2104ec9df877b3cd95f6ebd3192b1de1.zip
Notes
Diffstat (limited to 'www/davical/Makefile')
-rw-r--r--www/davical/Makefile20
1 files changed, 5 insertions, 15 deletions
diff --git a/www/davical/Makefile b/www/davical/Makefile
index b978d32fe0de..3ccbdd1d1828 100644
--- a/www/davical/Makefile
+++ b/www/davical/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= davical
-PORTVERSION= 0.9.8.4
+PORTVERSION= 0.9.9
CATEGORIES?= www
MASTER_SITES= http://debian.mcmillan.net.nz/packages/davical/ \
SF/rscds/${PORTNAME}/${PORTVERSION}
@@ -15,33 +15,23 @@ DISTNAME= davical-${PORTVERSION}
MAINTAINER= maurice@castro.aus.net
COMMENT= A simple CalDAV server using a postgres backend
-RUN_DEPENDS= ${LOCALBASE}/bin/bash:${PORTSDIR}/shells/bash \
- ${LOCALBASE}/include/php/ext/pgsql:${PORTSDIR}/databases/php5-pgsql \
- ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/pdo.so:${PORTSDIR}/databases/php5-pdo \
- ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/pdo_pgsql.so:${PORTSDIR}/databases/php5-pdo_pgsql \
- ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI \
+RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI \
${SITE_PERL}/YAML.pm:${PORTSDIR}/textproc/p5-YAML \
${SITE_PERL}/${PERL_ARCH}/DBD/Pg.pm:${PORTSDIR}/databases/p5-DBD-Pg \
${LOCALBASE}/bin/pwgen:${PORTSDIR}/sysutils/pwgen \
- php-libawl>=0.42:${PORTSDIR}/devel/php-libawl \
- postgresql-client>=8.2:${PORTSDIR}/databases/postgresql${PGSQL_VER}-client
+ php-libawl>=0.43:${PORTSDIR}/devel/php-libawl
NO_BUILD= yes
USE_PGSQL= yes
-
-USE_PHP= gettext pcre xml iconv
+USE_PHP= gettext iconv pcre pdo pdo_pgsql pgsql xml
SUB_FILES= pkg-message httpd-davical.conf
WWWDIR?= ${PREFIX}/www/${PORTNAME}
-post-patch:
- ${RM} ${WRKSRC}/inc/always.php.orig
- ${RM} ${WRKSRC}/dba/create-database.sh.orig
-
do-install:
${MKDIR} ${WWWDIR} ${WWWDIR}/htdocs ${WWWDIR}/inc ${WWWDIR}/config
cd ${WRKSRC}/htdocs && ${COPYTREE_SHARE} . ${WWWDIR}/htdocs
- cd ${WRKSRC}/inc && ${COPYTREE_SHARE} . ${WWWDIR}/inc
+ cd ${WRKSRC}/inc && ${COPYTREE_SHARE} . ${WWWDIR}/inc "! -name *.in"
${CP} -pv ${WRKSRC}/config/example-config.php ${WWWDIR}/config/
post-install: