Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions

2
databases/php-dba/DESCR Normal file
View File

@@ -0,0 +1,2 @@
PHP is a programming language designed to be embedded into web pages.
This module provides support for DBM database access.

View File

@@ -0,0 +1,24 @@
# $NetBSD: Makefile,v 1.16 2012/10/02 21:25:38 asau Exp $
MODNAME= dba
CATEGORIES+= databases
COMMENT= PHP extension for DBM database access
CONFLICTS= php-dba-[0-9]*
CONFIGURE_ARGS+= --enable-${MODNAME}=shared
CONFIGURE_ARGS+= --with-cdb
CONFIGURE_ARGS+= --without-dbm
CONFIGURE_ARGS+= --with-inifile
.if exists(/usr/include/ndbm.h)
CONFIGURE_ARGS+= --with-ndbm=/usr
.else
CONFIGURE_ARGS+= --without-ndbm
.endif
.include "options.mk"
.include "../../lang/php/ext.mk"
.include "../../mk/bsd.pkg.mk"

View File

@@ -0,0 +1,31 @@
# $NetBSD: options.mk,v 1.1 2007/11/23 12:34:29 obache Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.php-dba
PKG_SUPPORTED_OPTIONS= bdb gdbm
.if !exists(/usr/include/ndbm.h)
PKG_SUGGESTED_OPTIONS+= gdbm
.endif
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mgdbm)
.include "../../databases/gdbm/buildlink3.mk"
CONFIGURE_ARGS+= --with-gdbm=${BUILDLINK_PREFIX.gdbm}
.else
CONFIGURE_ARGS+= --without-gdbm
.endif
.if !empty(PKG_OPTIONS:Mbdb)
BDB_ACCEPTED= db2 db3 db4
.include "../../mk/bdb.buildlink3.mk"
CONFIGURE_ARGS+= --with-${BDB_TYPE}=${BDBBASE}
. for bdb in ${BDB_ACCEPTED}
. if ${bdb}!=${BDB_TYPE}
CONFIGURE_ARGS+= --without-${bdb}
. endif
. endfor
.else
. for dbd in ${BDB_ACCEPTED}
CONFIGURE_ARGS+= --without-${bdb}
. endfor
.endif