use MODPHP_VSPEC for either|or dependencies on php5 extension modules

This commit is contained in:
sthen 2012-01-11 22:27:26 +00:00
parent 0fa6b43613
commit a5a2161c7a
8 changed files with 24 additions and 21 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.66 2012/01/08 18:53:22 robert Exp $
# $OpenBSD: Makefile,v 1.67 2012/01/11 22:28:19 sthen Exp $
COMMENT-main = network and application monitoring - agent
COMMENT-server = network and application monitoring - server
@ -14,6 +14,7 @@ FULLPKGPATH-web = net/zabbix,-web
CATEGORIES = net
REVISION-main = 0
REVISION-web = 0
MAJV = ${VERSION:C/^([0-9]+\.[0-9]+).*/\1/}
@ -71,7 +72,7 @@ PREFIX-web = /var/www
LIB_DEPENDS-web =
RUN_DEPENDS-web = ${MODPHP_RUN_DEPENDS} \
lang/php/${MODPHP_VERSION},-gd \
php-pgsql-*|php-mysql-*|php-pdo_sqlite-*:lang/php/${MODPHP_VERSION},-pgsql
php-pgsql-${MODPHP_VSPEC}|php-mysql-${MODPHP_VSPEC}|php-pdo_sqlite-${MODPHP_VSPEC}:lang/php/${MODPHP_VERSION},-pgsql
WANTLIB-web =
ZABBIX_WEB = ${PREFIX-web}/zabbix

View File

@ -1,13 +1,13 @@
# $OpenBSD: Makefile,v 1.22 2011/11/16 15:56:37 robert Exp $
# $OpenBSD: Makefile,v 1.23 2012/01/11 22:27:26 sthen Exp $
COMMENT = powerful content management system
DISTNAME = drupal-6.22
DISTFILES = ${DISTNAME}${EXTRACT_SUFX}
REVISION = 5
REVISION = 6
MODULES= lang/php
RUN_DEPENDS= php-mysql-*|php-mysqli-*|php-pgsql-*:lang/php/${MODPHP_VERSION},-mysql \
RUN_DEPENDS= php-mysql-${MODPHP_VSPEC}|php-mysqli-${MODPHP_VSPEC}|php-pgsql-${MODPHP_VSPEC}:lang/php/${MODPHP_VERSION},-mysql \
lang/php/${MODPHP_VERSION},-gd
do-install:

View File

@ -1,11 +1,11 @@
# $OpenBSD: Makefile,v 1.16 2011/11/16 15:56:37 robert Exp $
# $OpenBSD: Makefile,v 1.17 2012/01/11 22:27:26 sthen Exp $
COMMENT= web based bug tracking
V= 1.1.6
DISTNAME= mantisbt-${V}
PKGNAME= mantis-${V}
REVISION= 4
REVISION= 5
CATEGORIES= www
HOMEPAGE= http://www.mantisbt.org/
@ -28,7 +28,7 @@ INSTDIR= /var/www/mantis
SUBST_VARS= INSTDIR
RUN_DEPENDS= mail/femail,-chroot \
php-mysql-*|php-pgsql-*:lang/php/${MODPHP_VERSION},-mysql
php-mysql-${MODPHP_VSPEC}|php-pgsql-${MODPHP_VSPEC}:lang/php/${MODPHP_VERSION},-mysql
do-install:
@-test ! -d ${PREFIX}/mantis && mkdir ${PREFIX}/mantis

View File

@ -1,8 +1,9 @@
# $OpenBSD: Makefile,v 1.32 2011/12/21 14:00:34 jasper Exp $
# $OpenBSD: Makefile,v 1.33 2012/01/11 22:27:26 sthen Exp $
COMMENT = web-based collaborative editing environment
DISTNAME = mediawiki-1.18.0
REVISION = 0
CATEGORIES = www
HOMEPAGE = http://www.mediawiki.org/
@ -27,7 +28,7 @@ SUBST_VARS= INSTDIR
MODULES= lang/php
RUN_DEPENDS= lang/php/${MODPHP_VERSION},-gd \
php-mysql-*|php-pgsql-*:lang/php/${MODPHP_VERSION},-mysql
php-mysql-${MODPHP_VSPEC}|php-pgsql-${MODPHP_VSPEC}:lang/php/${MODPHP_VERSION},-mysql
do-install:
@mv ${WRKDIST} ${INSTDIR}

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.18 2011/11/16 15:56:37 robert Exp $
# $OpenBSD: Makefile,v 1.19 2012/01/11 22:27:26 sthen Exp $
COMMENT= learning management system
DISTNAME= moodle-1.9.7
REVISION= 3
REVISION= 4
CATEGORIES= www education
HOMEPAGE= http://www.moodle.org/
@ -30,7 +30,7 @@ MODULES= lang/php
RUN_DEPENDS= lang/php/${MODPHP_VERSION},-curl \
lang/php/${MODPHP_VERSION},-gd \
lang/php/${MODPHP_VERSION},-xmlrpc
RUN_DEPENDS+= php-mysql-*|php-pgsql-*:lang/php/${MODPHP_VERSION},-mysql
RUN_DEPENDS+= php-mysql-${MODPHP_VSPEC}|php-pgsql-${MODPHP_VSPEC}:lang/php/${MODPHP_VERSION},-mysql
do-install:
@cd ${PREFIX} && tar zxf ${FULLDISTDIR}/${DISTNAME}${EXTRACT_SUFX}

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.19 2011/11/16 15:56:38 robert Exp $
# $OpenBSD: Makefile,v 1.20 2012/01/11 22:27:26 sthen Exp $
COMMENT= open source micro messaging platform
DISTNAME= statusnet-0.8.3
REVISION= 10
REVISION= 11
CATEGORIES= www net
@ -35,7 +35,7 @@ RUN_DEPENDS= databases/pear-DB \
lang/php/${MODPHP_VERSION},-curl \
lang/php/${MODPHP_VERSION},-gd \
lang/php/${MODPHP_VERSION},-tidy \
php-mysql-*|php-pgsql-*:lang/php/${MODPHP_VERSION},-mysql
php-mysql-${MODPHP_VSPEC}|php-pgsql-${MODPHP_VSPEC}:lang/php/${MODPHP_VERSION},-mysql
NO_BUILD= Yes
NO_REGRESS= Yes

View File

@ -1,8 +1,9 @@
# $OpenBSD: Makefile,v 1.34 2011/11/21 07:54:52 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.35 2012/01/11 22:27:26 sthen Exp $
COMMENT= web-based payroll and time management suite
V= 3.7.0
REVISION= 0
DISTNAME= TimeTrex_Standard_Edition_v${V}
PKGNAME= timetrex-${V}
CATEGORIES= www productivity
@ -22,7 +23,7 @@ MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=timetrex/}
MODULES= lang/php
RUN_DEPENDS= lang/php/${MODPHP_VERSION},-gd \
lang/php/${MODPHP_VERSION},-soap \
php-mysql-*|php-pgsql-*:lang/php/${MODPHP_VERSION},-mysql \
php-mysql-${MODPHP_VSPEC}|php-pgsql-${MODPHP_VSPEC}:lang/php/${MODPHP_VERSION},-mysql \
www/pear
NO_BUILD= Yes

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.15 2011/11/24 15:12:25 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.16 2012/01/11 22:27:26 sthen Exp $
COMMENT= bacula(8) web interface
DISTNAME= webacula-5.5
REVISION= 3
REVISION= 4
CATEGORIES= www sysutils
@ -19,7 +19,7 @@ MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=webacula/}
MODULES= lang/php
RUN_DEPENDS= lang/php/${MODPHP_VERSION},-gd \
php-pdo_pgsql-*|php-pdo_mysql-*|php-pdo_sqlite-*:lang/php/${MODPHP_VERSION},-pdo_pgsql \
php-pdo_pgsql-${MODPHP_VSPEC}|php-pdo_mysql-${MODPHP_VSPEC}|php-pdo_sqlite-${MODPHP_VSPEC}:lang/php/${MODPHP_VERSION},-pdo_pgsql \
www/zendframework>=1.10.8p1 \
sysutils/bacula,-main