summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2008-06-12 02:14:13 +0000
committerjoerg <joerg@pkgsrc.org>2008-06-12 02:14:13 +0000
commitba171a91fab519f587b027c1a2888cb6e3fce049 (patch)
treec12b9c282e2706cb6bac87456615dfdf2b256e55 /databases
parent3ba79d294eb62e9c75cc32d37b4af7759af8c9d6 (diff)
downloadpkgsrc-ba171a91fab519f587b027c1a2888cb6e3fce049.tar.gz
Add DESTDIR support.
Diffstat (limited to 'databases')
-rw-r--r--databases/edb/Makefile4
-rw-r--r--databases/p5-Ima-DBI/Makefile4
-rw-r--r--databases/p5-MARC/Makefile4
-rw-r--r--databases/p5-MLDBM-Sync/Makefile4
-rw-r--r--databases/p5-MLDBM/Makefile3
-rw-r--r--databases/p5-Net-MySQL/Makefile4
-rw-r--r--databases/p5-Palm/Makefile4
-rw-r--r--databases/p5-SQL-Abstract/Makefile4
-rw-r--r--databases/p5-SQL-ReservedWords/Makefile4
-rw-r--r--databases/p5-SQL-Statement/Makefile4
-rw-r--r--databases/p5-gdbm/Makefile4
-rw-r--r--databases/p5-perl-ldap/Makefile4
-rw-r--r--databases/p5-postgresql/Makefile4
-rw-r--r--databases/p5-sybperl/Makefile4
-rw-r--r--databases/palm-db-tools/Makefile10
-rw-r--r--databases/pgpool/Makefile6
-rw-r--r--databases/pgtcl/Makefile4
-rw-r--r--databases/pgtclng/Makefile6
-rw-r--r--databases/php-dba/Makefile4
-rw-r--r--databases/php-dbase/Makefile4
-rw-r--r--databases/php-dbx/Makefile4
-rw-r--r--databases/php-filepro/Makefile4
-rw-r--r--databases/php-ldap/Makefile4
-rw-r--r--databases/php-mysql/Makefile4
-rw-r--r--databases/php-pdo/Makefile9
-rw-r--r--databases/php-pdo_mysql/Makefile4
-rw-r--r--databases/php-pdo_pgsql/Makefile4
-rw-r--r--databases/php-pdo_sqlite/Makefile4
-rw-r--r--databases/php5-mysqli/Makefile4
-rw-r--r--databases/postgresql81-plpython/Makefile4
-rw-r--r--databases/postgresql81-pltcl/Makefile4
-rw-r--r--databases/postgresql81-tsearch2/Makefile4
-rw-r--r--databases/postgresql81/Makefile6
-rw-r--r--databases/postgresql82-adminpack/Makefile4
-rw-r--r--databases/postgresql82-plperl/Makefile4
-rw-r--r--databases/postgresql82-plpython/Makefile4
-rw-r--r--databases/postgresql82-pltcl/Makefile4
-rw-r--r--databases/postgresql82-tsearch2/Makefile4
-rw-r--r--databases/postgresql82/Makefile6
-rw-r--r--databases/postgresql83-adminpack/Makefile4
-rw-r--r--databases/postgresql83-plperl/Makefile4
-rw-r--r--databases/postgresql83-plpython/Makefile4
-rw-r--r--databases/postgresql83-pltcl/Makefile4
-rw-r--r--databases/postgresql83/Makefile6
-rw-r--r--databases/pxtools/Makefile4
-rw-r--r--databases/py-IndexedCatalog/Makefile4
-rw-r--r--databases/py-PgSQL/Makefile4
-rw-r--r--databases/py-ZODB/Makefile4
-rw-r--r--databases/py-bdb-xml/Makefile4
-rw-r--r--databases/py-gdbm/Makefile4
-rw-r--r--databases/py-ldap/Makefile9
-rw-r--r--databases/py-mssql/Makefile4
-rw-r--r--databases/py-mysqldb/Makefile4
-rw-r--r--databases/py-postgresql/Makefile12
-rw-r--r--databases/py-sqlite/Makefile4
-rw-r--r--databases/py-sqlite2/Makefile4
-rw-r--r--databases/py-sybase/Makefile4
-rw-r--r--databases/py-table/Makefile4
58 files changed, 189 insertions, 76 deletions
diff --git a/databases/edb/Makefile b/databases/edb/Makefile
index 07cb602fb94..8f129c75f03 100644
--- a/databases/edb/Makefile
+++ b/databases/edb/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.20 2006/07/20 19:00:48 wiz Exp $
+# $NetBSD: Makefile,v 1.21 2008/06/12 02:14:17 joerg Exp $
#
DISTNAME= edb-1.0.5
@@ -9,6 +9,8 @@ MAINTAINER= rh@NetBSD.org
HOMEPAGE= http://www.enlightenment.org/Libraries/Edb/
COMMENT= Database abstraction layer to Berkeley databases
+PKG_DESTDIR_SUPPORT= user-destdir
+
GNU_CONFIGURE= YES
USE_LIBTOOL= YES
USE_LANGUAGES= c c++
diff --git a/databases/p5-Ima-DBI/Makefile b/databases/p5-Ima-DBI/Makefile
index ddd07ac996b..a84d0e964c3 100644
--- a/databases/p5-Ima-DBI/Makefile
+++ b/databases/p5-Ima-DBI/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2007/11/12 22:37:12 hiramatsu Exp $
+# $NetBSD: Makefile,v 1.9 2008/06/12 02:14:17 joerg Exp $
#
DISTNAME= Ima-DBI-0.35
@@ -11,6 +11,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://search.cpan.org/dist/Ima-DBI/
COMMENT= Perl5 module for DB connection caching and organization
+PKG_DESTDIR_SUPPORT= user-destdir
+
DEPENDS+= p5-DBI>=1.20:../../databases/p5-DBI
DEPENDS+= p5-DBIx-ContextualFetch>=1.00:../../databases/p5-DBIx-ContextualFetch
DEPENDS+= p5-Class-Data-Inheritable>=0.02:../../devel/p5-Class-Data-Inheritable
diff --git a/databases/p5-MARC/Makefile b/databases/p5-MARC/Makefile
index 565d259c4a5..e8cbb41f88a 100644
--- a/databases/p5-MARC/Makefile
+++ b/databases/p5-MARC/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2006/03/04 21:29:10 jlam Exp $
+# $NetBSD: Makefile,v 1.11 2008/06/12 02:14:17 joerg Exp $
#
DISTNAME= MARC-1.15
@@ -11,6 +11,8 @@ MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=MARC/}
MAINTAINER= pkgsrc-users@NetBSD.org
COMMENT= Perl5 module for manipulating MARC (MAchine Readable Cataloging) data
+PKG_DESTDIR_SUPPORT= user-destdir
+
PERL5_PACKLIST= auto/MARC/.packlist
.include "../../lang/perl5/module.mk"
diff --git a/databases/p5-MLDBM-Sync/Makefile b/databases/p5-MLDBM-Sync/Makefile
index 664e438e4a6..7402c814d8f 100644
--- a/databases/p5-MLDBM-Sync/Makefile
+++ b/databases/p5-MLDBM-Sync/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2007/06/10 08:36:13 obache Exp $
+# $NetBSD: Makefile,v 1.17 2008/06/12 02:14:18 joerg Exp $
DISTNAME= MLDBM-Sync-0.30
PKGNAME= p5-${DISTNAME}
@@ -12,6 +12,8 @@ COMMENT= Perl5 module for safe concurrent access to MLDBM databases
DEPENDS+= p5-MLDBM>=1:../../databases/p5-MLDBM
DEPENDS+= p5-Digest-MD5-[0-9]*:../../security/p5-Digest-MD5
+PKG_DESTDIR_SUPPORT= user-destdir
+
PERL5_PACKLIST= auto/MLDBM/Sync/.packlist
.include "../../lang/perl5/module.mk"
diff --git a/databases/p5-MLDBM/Makefile b/databases/p5-MLDBM/Makefile
index 4927ee15a88..59f77bb6a92 100644
--- a/databases/p5-MLDBM/Makefile
+++ b/databases/p5-MLDBM/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.23 2007/02/22 19:18:13 wiz Exp $
+# $NetBSD: Makefile,v 1.24 2008/06/12 02:14:18 joerg Exp $
#
DISTNAME= MLDBM-2.01
@@ -15,6 +15,7 @@ COMMENT= Perl5 module for storing arbitrary data in tied hashes
DEPENDS+= {p5-Data-Dumper>=2.08,perl{,-thread}>=5.6.1nb2}:../../lang/perl5
PKG_INSTALLATION_TYPES= overwrite pkgviews
+PKG_DESTDIR_SUPPORT= user-destdir
USE_LANGUAGES= # empty
PERL5_PACKLIST= auto/MLDBM/.packlist
diff --git a/databases/p5-Net-MySQL/Makefile b/databases/p5-Net-MySQL/Makefile
index 7d856bce9ad..90f2cf21c88 100644
--- a/databases/p5-Net-MySQL/Makefile
+++ b/databases/p5-Net-MySQL/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2007/02/05 23:08:02 rillig Exp $
+# $NetBSD: Makefile,v 1.2 2008/06/12 02:14:18 joerg Exp $
#
DISTNAME= Net-MySQL-0.09
@@ -10,6 +10,8 @@ MAINTAINER= ficovh@yahoo.com
HOMEPAGE= http://search.cpan.org/CPAN/authors/id/O/OY/OYAMA/
COMMENT= Net::MySQL - Pure Perl MySQL network protocol interface
+PKG_DESTDIR_SUPPORT= user-destdir
+
PERL5_PACKLIST= auto/Net/MySQL/.packlist
USE_LANGUAGES= # none
diff --git a/databases/p5-Palm/Makefile b/databases/p5-Palm/Makefile
index fbbdd57b252..104d41bd95c 100644
--- a/databases/p5-Palm/Makefile
+++ b/databases/p5-Palm/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2006/03/04 21:29:10 jlam Exp $
+# $NetBSD: Makefile,v 1.10 2008/06/12 02:14:18 joerg Exp $
#
DISTNAME= p5-Palm-1.3.0
@@ -11,6 +11,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.coldsync.org/
COMMENT= Access Palm .pdb and .prc database files
+PKG_DESTDIR_SUPPORT= user-destdir
+
WRKSRC= ${WRKDIR}/p5-Palm-1.003_000
PERL5_PACKLIST= auto/Palm/.packlist
diff --git a/databases/p5-SQL-Abstract/Makefile b/databases/p5-SQL-Abstract/Makefile
index 406173e22ba..1b21b305508 100644
--- a/databases/p5-SQL-Abstract/Makefile
+++ b/databases/p5-SQL-Abstract/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2006/04/23 14:21:24 hiramatsu Exp $
+# $NetBSD: Makefile,v 1.6 2008/06/12 02:14:18 joerg Exp $
#
DISTNAME= SQL-Abstract-1.21
@@ -11,6 +11,8 @@ MAINTAINER= he@NetBSD.org
HOMEPAGE= http://search.cpan.org/dist/SQL-Abstract/
COMMENT= Generate SQL from Perl data structures
+PKG_DESTDIR_SUPPORT= user-destdir
+
PERL5_PACKLIST= auto/SQL/Abstract/.packlist
.include "../../lang/perl5/module.mk"
diff --git a/databases/p5-SQL-ReservedWords/Makefile b/databases/p5-SQL-ReservedWords/Makefile
index 5ecda21d4e7..c9773af71d5 100644
--- a/databases/p5-SQL-ReservedWords/Makefile
+++ b/databases/p5-SQL-ReservedWords/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2007/06/10 13:39:36 abs Exp $
+# $NetBSD: Makefile,v 1.2 2008/06/12 02:14:18 joerg Exp $
DISTNAME= SQL-ReservedWords-0.7
PKGNAME= p5-${DISTNAME}
@@ -11,6 +11,8 @@ COMMENT= Reserved SQL words by standard and vendors
DEPENDS+= p5-Sub-Exporter-[0-9]*:../../devel/p5-Sub-Exporter
+PKG_DESTDIR_SUPPORT= user-destdir
+
PERL5_PACKLIST= auto/SQL/ReservedWords/.packlist
.include "../../lang/perl5/module.mk"
diff --git a/databases/p5-SQL-Statement/Makefile b/databases/p5-SQL-Statement/Makefile
index 0d66d5c56a4..060a747b380 100644
--- a/databases/p5-SQL-Statement/Makefile
+++ b/databases/p5-SQL-Statement/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.20 2006/03/04 21:29:10 jlam Exp $
+# $NetBSD: Makefile,v 1.21 2008/06/12 02:14:18 joerg Exp $
#
DISTNAME= SQL-Statement-1.11
@@ -12,6 +12,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
# HOMEPAGE= http://
COMMENT= Small, abstract SQL engine
+PKG_DESTDIR_SUPPORT= user-destdir
+
PERL5_PACKLIST= auto/SQL/Statement/.packlist
.include "../../lang/perl5/module.mk"
diff --git a/databases/p5-gdbm/Makefile b/databases/p5-gdbm/Makefile
index 4072f864554..99bd802f10a 100644
--- a/databases/p5-gdbm/Makefile
+++ b/databases/p5-gdbm/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.30 2007/07/02 10:14:09 obache Exp $
+# $NetBSD: Makefile,v 1.31 2008/06/12 02:14:18 joerg Exp $
DISTNAME= perl-5.8.8
PKGNAME= p5-gdbm-1.08
@@ -10,6 +10,8 @@ EXTRACT_SUFX= .tar.bz2
MAINTAINER= pkgsrc-users@NetBSD.org
COMMENT= Perl interface to gdbm - GNU database manager
+PKG_DESTDIR_SUPPORT= user-destdir
+
EXTRACT_ELEMENTS= ${DISTNAME}/ext/GDBM_File
WRKSRC= ${WRKDIR}/${EXTRACT_ELEMENTS}
diff --git a/databases/p5-perl-ldap/Makefile b/databases/p5-perl-ldap/Makefile
index f67d0ac2226..14f7fbc5228 100644
--- a/databases/p5-perl-ldap/Makefile
+++ b/databases/p5-perl-ldap/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.33 2007/11/02 11:54:57 adam Exp $
+# $NetBSD: Makefile,v 1.34 2008/06/12 02:14:18 joerg Exp $
DISTNAME= perl-ldap-0.34
PKGNAME= p5-perl-ldap-0.34
@@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://ldap.perl.org/
COMMENT= Perl class to access LDAP servers
+PKG_DESTDIR_SUPPORT= user-destdir
+
DEPENDS+= p5-Convert-ASN1>=0.07:../../textproc/p5-Convert-ASN1
DEPENDS+= p5-IO-Socket-SSL>=0.81:../../security/p5-IO-Socket-SSL
DEPENDS+= p5-MIME-Base64-[0-9]*:../../converters/p5-MIME-Base64
diff --git a/databases/p5-postgresql/Makefile b/databases/p5-postgresql/Makefile
index de3d663f309..51766b765d7 100644
--- a/databases/p5-postgresql/Makefile
+++ b/databases/p5-postgresql/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.22 2008/03/13 17:38:48 joerg Exp $
+# $NetBSD: Makefile,v 1.23 2008/06/12 02:14:18 joerg Exp $
DISTNAME= pgsql_perl5-1.9.0
PKGNAME= p5-postgresql-1.9.0
@@ -11,6 +11,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://gborg.postgresql.org/project/pgperl/projdisplay.php
COMMENT= Perl interface class for PostgreSQL
+PKG_DESTDIR_SUPPORT= user-destdir
+
PERL5_PACKLIST= auto/Pg/.packlist
# Until the source catches up to the current Perl API, we need PERL_POLLUTE
diff --git a/databases/p5-sybperl/Makefile b/databases/p5-sybperl/Makefile
index cce1b09f09e..ae592775bd0 100644
--- a/databases/p5-sybperl/Makefile
+++ b/databases/p5-sybperl/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2006/10/04 20:53:45 wiz Exp $
+# $NetBSD: Makefile,v 1.13 2008/06/12 02:14:18 joerg Exp $
#
DISTNAME= sybperl-2.16
@@ -11,6 +11,8 @@ MAINTAINER= grant@NetBSD.org
HOMEPAGE= http://www.peppler.org/freeware/sybperl.html
COMMENT= Perl modules for using Sybase/MS-SQL databases
+PKG_DESTDIR_SUPPORT= user-destdir
+
PERL5_PACKLIST= auto/Sybase/.packlist
BUILD_DEFS+= USE_SYBASE_OPENCLIENT
diff --git a/databases/palm-db-tools/Makefile b/databases/palm-db-tools/Makefile
index 5d6d8d6e504..d6aac9a7bef 100644
--- a/databases/palm-db-tools/Makefile
+++ b/databases/palm-db-tools/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2007/10/21 03:53:45 dsainty Exp $
+# $NetBSD: Makefile,v 1.4 2008/06/12 02:14:18 joerg Exp $
#
DISTNAME= ${PKGNAME_NOREV:S/./_/g}
@@ -11,6 +11,8 @@ MAINTAINER= dsainty@NetBSD.org
HOMEPAGE= http://sourceforge.net/projects/palm-db-tools/
COMMENT= Conversion utilities for PalmOS flat-file database programs
+PKG_DESTDIR_SUPPORT= user-destdir
+
#LICENSE= GPL
WRKSRC= ${WRKDIR}/palm-db-tools
@@ -24,8 +26,10 @@ USE_LIBTOOL= yes
# fixes this.
CONFIGURE_ARGS= --disable-warnings --enable-libtool
+INSTALLATION_DIRS= share/doc/palm-db-tools
+INSTALL_MAKE_FLAGS= prefix=${DESTDIR}${PREFIX}
+
post-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/${PKGBASE}
- ${INSTALL_DATA} ${WRKSRC}/docs/manual.* ${PREFIX}/share/doc/${PKGBASE}
+ ${INSTALL_DATA} ${WRKSRC}/docs/manual.* ${DESTDIR}${PREFIX}/share/doc/palm-db-tools
.include "../../mk/bsd.pkg.mk"
diff --git a/databases/pgpool/Makefile b/databases/pgpool/Makefile
index 74ba68ba7d6..5411d2d4673 100644
--- a/databases/pgpool/Makefile
+++ b/databases/pgpool/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2007/03/24 19:21:20 joerg Exp $
+# $NetBSD: Makefile,v 1.9 2008/06/12 02:14:18 joerg Exp $
DISTNAME= pgpool-2.7
CATEGORIES= databases
@@ -8,6 +8,8 @@ MAINTAINER= minskim@NetBSD.org
HOMEPAGE= http://pgpool.projects.postgresql.org/
COMMENT= Connection pooling/replication server for PostgreSQL
+PKG_DESTDIR_SUPPORT= user-destdir
+
GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--sysconfdir=${PKG_SYSCONFDIR:Q}
@@ -18,6 +20,6 @@ CONF_FILES= ${PREFIX}/share/examples/pgpool.conf.sample \
${PKG_SYSCONFDIR}/pgpool.conf
post-install:
- ${INSTALL_DATA} ${WRKSRC}/pgpool.conf.sample ${PREFIX}/share/examples
+ ${INSTALL_DATA} ${WRKSRC}/pgpool.conf.sample ${DESTDIR}${PREFIX}/share/examples
.include "../../mk/bsd.pkg.mk"
diff --git a/databases/pgtcl/Makefile b/databases/pgtcl/Makefile
index 0a0097bea48..c9d6a45ded1 100644
--- a/databases/pgtcl/Makefile
+++ b/databases/pgtcl/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2008/03/13 17:38:48 joerg Exp $
+# $NetBSD: Makefile,v 1.5 2008/06/12 02:14:18 joerg Exp $
#
DISTNAME= pgtcl1.5
@@ -12,6 +12,8 @@ MAINTAINER= cjs@NetBSD.org
HOMEPAGE= http://gborg.postgresql.org/project/pgtcl/projdisplay.php
COMMENT= TCL interface to PostgreSQL
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_PKGLOCALEDIR= yes
GNU_CONFIGURE= yes
diff --git a/databases/pgtclng/Makefile b/databases/pgtclng/Makefile
index 231bd921ffd..50a4f546fc1 100644
--- a/databases/pgtclng/Makefile
+++ b/databases/pgtclng/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2008/03/13 17:38:48 joerg Exp $
+# $NetBSD: Makefile,v 1.7 2008/06/12 02:14:18 joerg Exp $
#
VER= 1.5.3
@@ -12,6 +12,8 @@ MAINTAINER= cjs@NetBSD.org
HOMEPAGE= http://pgtclng.projects.postgresql.org/
COMMENT= Next Generation TCL interface to PostgreSQL
+PKG_DESTDIR_SUPPORT= user-destdir
+
CONFLICTS+= pgtcl-[0-9]*
USE_PKGLOCALEDIR= yes
@@ -27,4 +29,4 @@ PGTCLLIBNAME = libpgtcl${VER:C/\.//g}.so
.include "../../mk/bsd.pkg.mk"
post-install:
- cd ${PREFIX}/lib && ln -s pgtcl${VER}/${PGTCLLIBNAME} libpgtcl.so
+ cd ${DESTDIR}${PREFIX}/lib && ln -s pgtcl${VER}/${PGTCLLIBNAME} libpgtcl.so
diff --git a/databases/php-dba/Makefile b/databases/php-dba/Makefile
index 23e5097495e..471af980a84 100644
--- a/databases/php-dba/Makefile
+++ b/databases/php-dba/Makefile
@@ -1,10 +1,12 @@
-# $NetBSD: Makefile,v 1.10 2007/11/23 12:34:29 obache Exp $
+# $NetBSD: Makefile,v 1.11 2008/06/12 02:14:19 joerg Exp $
MODNAME= dba
PKGREVISION= 1
CATEGORIES+= databases
COMMENT= PHP extension for DBM database access
+PKG_DESTDIR_SUPPORT= user-destdir
+
CONFLICTS= php-dba-[0-9]*
CONFIGURE_ARGS+= --enable-${MODNAME}=shared
diff --git a/databases/php-dbase/Makefile b/databases/php-dbase/Makefile
index 818a3727825..8fb573ac9cb 100644
--- a/databases/php-dbase/Makefile
+++ b/databases/php-dbase/Makefile
@@ -1,9 +1,11 @@
-# $NetBSD: Makefile,v 1.8 2006/06/04 16:26:53 joerg Exp $
+# $NetBSD: Makefile,v 1.9 2008/06/12 02:14:19 joerg Exp $
MODNAME= dbase
CATEGORIES+= databases
COMMENT= PHP extension for dBase database access
+PKG_DESTDIR_SUPPORT= user-destdir
+
CONFLICTS= php-dbase-[0-9]*
CONFIGURE_ARGS+= --with-${MODNAME}=shared
diff --git a/databases/php-dbx/Makefile b/databases/php-dbx/Makefile
index 507152eb47d..c63e3160d51 100644
--- a/databases/php-dbx/Makefile
+++ b/databases/php-dbx/Makefile
@@ -1,10 +1,12 @@
-# $NetBSD: Makefile,v 1.7 2006/06/04 16:26:53 joerg Exp $
+# $NetBSD: Makefile,v 1.8 2008/06/12 02:14:19 joerg Exp $
MODNAME= dbx
PECL_VERSION= 1.1.0
CATEGORIES+= databases
COMMENT= PHP database abstraction layer extension
+PKG_DESTDIR_SUPPORT= user-destdir
+
MAINTAINER= jdolecek@NetBSD.org
CONFLICTS= php-dbx-[0-9]*
diff --git a/databases/php-filepro/Makefile b/databases/php-filepro/Makefile
index c36b6dac705..8f509f80477 100644
--- a/databases/php-filepro/Makefile
+++ b/databases/php-filepro/Makefile
@@ -1,9 +1,11 @@
-# $NetBSD: Makefile,v 1.10 2007/02/22 19:26:19 wiz Exp $
+# $NetBSD: Makefile,v 1.11 2008/06/12 02:14:19 joerg Exp $
MODNAME= filepro
CATEGORIES+= databases
COMMENT= PHP extension for read-only filePro database access
+PKG_DESTDIR_SUPPORT= user-destdir
+
CONFLICTS= php-filepro-[0-9]*
# filepro extension removed in PHP 5.2.0, no replacement in PECL yet
diff --git a/databases/php-ldap/Makefile b/databases/php-ldap/Makefile
index 7d0ac1aed7c..cd5ecd222e6 100644
--- a/databases/php-ldap/Makefile
+++ b/databases/php-ldap/Makefile
@@ -1,9 +1,11 @@
-# $NetBSD: Makefile,v 1.10 2006/06/04 16:26:53 joerg Exp $
+# $NetBSD: Makefile,v 1.11 2008/06/12 02:14:19 joerg Exp $
MODNAME= ldap
CATEGORIES+= databases
COMMENT= PHP extension for LDAP database access
+PKG_DESTDIR_SUPPORT= user-destdir
+
CONFLICTS= php-ldap-[0-9]*
USE_PHP_EXT_PATCHES= yes
diff --git a/databases/php-mysql/Makefile b/databases/php-mysql/Makefile
index e268c11db33..1143b557bf6 100644
--- a/databases/php-mysql/Makefile
+++ b/databases/php-mysql/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2006/06/04 16:26:53 joerg Exp $
+# $NetBSD: Makefile,v 1.12 2008/06/12 02:14:19 joerg Exp $
MODNAME= mysql
CATEGORIES+= databases
@@ -6,6 +6,8 @@ COMMENT= PHP extension for MySQL databases
MAINTAINER= pkgsrc-users@NetBSD.org
+PKG_DESTDIR_SUPPORT= user-destdir
+
CONFLICTS= php-mysql-[0-9]*
USE_PHP_EXT_PATCHES= yes
diff --git a/databases/php-pdo/Makefile b/databases/php-pdo/Makefile
index e4877f22122..35b4a96f56a 100644
--- a/databases/php-pdo/Makefile
+++ b/databases/php-pdo/Makefile
@@ -1,10 +1,12 @@
-# $NetBSD: Makefile,v 1.6 2006/06/02 18:27:55 joerg Exp $
+# $NetBSD: Makefile,v 1.7 2008/06/12 02:14:19 joerg Exp $
PDO_DRIVER= # empty
PDO_VERSION= 1.0.2
PHP_VERSIONS_ACCEPTED= 5
+PKG_DESTDIR_SUPPORT= user-destdir
+
.include "../../databases/php-pdo/module.mk"
COMMENT= PHP extension for PHP Data Objects (base)
@@ -15,10 +17,11 @@ PLIST_SRC+= ${.CURDIR}/../../databases/php-pdo/PLIST.pdo
PDO_INCLUDES= php_pdo_driver.h php_pdo.h
+INSTALLATION_DIRS+= include/php/ext/pdo
+
post-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/include/php/ext/pdo
.for inc in ${PDO_INCLUDES}
- ${INSTALL_DATA} ${WRKSRC}/${inc:Q} ${PREFIX}/include/php/ext/pdo/${inc:Q}
+ ${INSTALL_DATA} ${WRKSRC}/${inc} ${DESTDIR}${PREFIX}/include/php/ext/pdo/${inc}
.endfor
.include "../../lang/php/ext.mk"
diff --git a/databases/php-pdo_mysql/Makefile b/databases/php-pdo_mysql/Makefile
index b286f620fe5..84aa6090dc7 100644
--- a/databases/php-pdo_mysql/Makefile
+++ b/databases/php-pdo_mysql/Makefile
@@ -1,9 +1,11 @@
-# $NetBSD: Makefile,v 1.5 2006/06/02 18:27:55 joerg Exp $
+# $NetBSD: Makefile,v 1.6 2008/06/12 02:14:19 joerg Exp $
PDO_DRIVER= mysql
PDO_COMMENT= MySQL
PDO_VERSION= 1.0.1
+PKG_DESTDIR_SUPPORT= user-destdir
+
.include "../../databases/php-pdo/module.mk"
CONFIGURE_ARGS+= --with-${PKGMODNAME}=shared,${BUILDLINK_PREFIX.mysql-client}
diff --git a/databases/php-pdo_pgsql/Makefile b/databases/php-pdo_pgsql/Makefile
index fac7e8d8a89..f8cb183da83 100644
--- a/databases/php-pdo_pgsql/Makefile
+++ b/databases/php-pdo_pgsql/Makefile
@@ -1,10 +1,12 @@
-# $NetBSD: Makefile,v 1.7 2008/03/13 17:38:48 joerg Exp $
+# $NetBSD: Makefile,v 1.8 2008/06/12 02:14:19 joerg Exp $
PDO_DRIVER= pgsql
PDO_COMMENT= PostgreSQL
PDO_VERSION= 1.0.1
PKGREVISION= 1
+PKG_DESTDIR_SUPPORT= user-destdir
+
.include "../../databases/php-pdo/module.mk"
CONFIGURE_ARGS+= --with-${PKGMODNAME}=shared,${PGSQL_PREFIX}
diff --git a/databases/php-pdo_sqlite/Makefile b/databases/php-pdo_sqlite/Makefile
index 85dd037f850..34a26fbc153 100644
--- a/databases/php-pdo_sqlite/Makefile
+++ b/databases/php-pdo_sqlite/Makefile
@@ -1,9 +1,11 @@
-# $NetBSD: Makefile,v 1.4 2006/06/02 18:27:55 joerg Exp $
+# $NetBSD: Makefile,v 1.5 2008/06/12 02:14:19 joerg Exp $
PDO_DRIVER= sqlite
PDO_COMMENT= SQLite v3
PDO_VERSION= 1.0
+PKG_DESTDIR_SUPPORT= user-destdir
+
.include "../../databases/php-pdo/module.mk"
CONFIGURE_ARGS+= --with-${PKGMODNAME}=shared,${BUILDLINK_PREFIX.sqlite3}
diff --git a/databases/php5-mysqli/Makefile b/databases/php5-mysqli/Makefile
index 0cac1385c62..ba42b3d03c7 100644
--- a/databases/php5-mysqli/Makefile
+++ b/databases/php5-mysqli/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2006/06/04 16:26:53 joerg Exp $
+# $NetBSD: Makefile,v 1.8 2008/06/12 02:14:19 joerg Exp $
MODNAME= mysqli
CATEGORIES+= databases
@@ -6,6 +6,8 @@ COMMENT= PHP5 extension for MySQL 4.1 and later databases
MAINTAINER= jdolecek@NetBSD.org
+PKG_DESTDIR_SUPPORT= user-destdir
+
CONFLICTS= php-mysqli-[0-9]*
PHP_VERSIONS_ACCEPTED= 5
diff --git a/databases/postgresql81-plpython/Makefile b/databases/postgresql81-plpython/Makefile
index fc7aa366efa..1027953a4e2 100644
--- a/databases/postgresql81-plpython/Makefile
+++ b/databases/postgresql81-plpython/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2008/01/18 05:06:30 tnn Exp $
+# $NetBSD: Makefile,v 1.5 2008/06/12 02:14:19 joerg Exp $
PKGNAME= postgresql81-plpython-${BASE_VERS}
PKGREVISION= 1
@@ -6,6 +6,8 @@ COMMENT= PL/Python procedural language for the PostgreSQL backend
DEPENDS+= postgresql81-server>=${BASE_VERS}:../../databases/postgresql81-server
+PKG_DESTDIR_SUPPORT= user-destdir
+
.include "../../databases/postgresql81/Makefile.common"
CONFIGURE_ARGS+= --with-python
diff --git a/databases/postgresql81-pltcl/Makefile b/databases/postgresql81-pltcl/Makefile
index c9fbe3912a2..525c6d8908e 100644
--- a/databases/postgresql81-pltcl/Makefile
+++ b/databases/postgresql81-pltcl/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2008/01/18 05:06:30 tnn Exp $
+# $NetBSD: Makefile,v 1.5 2008/06/12 02:14:19 joerg Exp $
PKGNAME= postgresql81-pltcl-${BASE_VERS}
PKGREVISION= 1
@@ -6,6 +6,8 @@ COMMENT= PL/Tcl procedural language for the PostgreSQL backend
DEPENDS+= postgresql81-server>=${BASE_VERS}:../../databases/postgresql81-server
+PKG_DESTDIR_SUPPORT= user-destdir
+
.include "../../databases/postgresql81/Makefile.common"
CONFIGURE_ARGS+= --with-tcl
diff --git a/databases/postgresql81-tsearch2/Makefile b/databases/postgresql81-tsearch2/Makefile
index 0df4fc70d85..0669545898c 100644
--- a/databases/postgresql81-tsearch2/Makefile
+++ b/databases/postgresql81-tsearch2/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2008/01/18 05:06:30 tnn Exp $
+# $NetBSD: Makefile,v 1.5 2008/06/12 02:14:19 joerg Exp $
PKGNAME= postgresql81-tsearch2-${BASE_VERS}
PKGREVISION= 1
@@ -6,6 +6,8 @@ COMMENT= Tsearch2 contrib module for fulltext indexing in PostgreSQL
DEPENDS+= postgresql81-server>=${BASE_VERS}:../../databases/postgresql81-server
+PKG_DESTDIR_SUPPORT= user-destdir
+
.include "../../databases/postgresql81/Makefile.common"
BUILD_DIRS= contrib/tsearch2/snowball
diff --git a/databases/postgresql81/Makefile b/databases/postgresql81/Makefile
index 7ef5820e2fc..8e26ed5d28a 100644
--- a/databases/postgresql81/Makefile
+++ b/databases/postgresql81/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2008/03/13 16:47:37 joerg Exp $
+# $NetBSD: Makefile,v 1.5 2008/06/12 02:14:19 joerg Exp $
PKGNAME= postgresql81-${BASE_VERS}
COMMENT= Robust, next generation, object-relational DBMS
@@ -6,8 +6,8 @@ COMMENT= Robust, next generation, object-relational DBMS
DEPENDS+= postgresql81-client>=${BASE_VERS}:../../databases/postgresql81-client
DEPENDS+= postgresql81-server>=${BASE_VERS}:../../databases/postgresql81-server
-.include "Makefile.common"
-
META_PACKAGE= yes
+.include "Makefile.common"
+
.include "../../mk/bsd.pkg.mk"
diff --git a/databases/postgresql82-adminpack/Makefile b/databases/postgresql82-adminpack/Makefile
index 726acbd7558..b58bf77cd71 100644
--- a/databases/postgresql82-adminpack/Makefile
+++ b/databases/postgresql82-adminpack/Makefile
@@ -1,10 +1,12 @@
-# $NetBSD: Makefile,v 1.5 2008/04/05 16:40:08 adam Exp $
+# $NetBSD: Makefile,v 1.6 2008/06/12 02:14:19 joerg Exp $
PKGNAME= postgresql82-adminpack-${BASE_VERS}
COMMENT= Admin pack module for pgAdmin management
DEPENDS+= postgresql82-server>=${BASE_VERS}:../../databases/postgresql82-server
+PKG_DESTDIR_SUPPORT= user-destdir
+
.include "../../databases/postgresql82/Makefile.common"
BUILD_DIRS= contrib/adminpack
diff --git a/databases/postgresql82-plperl/Makefile b/databases/postgresql82-plperl/Makefile
index 0455f12a2b8..9c7c68048df 100644
--- a/databases/postgresql82-plperl/Makefile
+++ b/databases/postgresql82-plperl/Makefile
@@ -1,10 +1,12 @@
-# $NetBSD: Makefile,v 1.5 2008/04/05 16:40:08 adam Exp $
+# $NetBSD: Makefile,v 1.6 2008/06/12 02:14:19 joerg Exp $
PKGNAME= postgresql82-plperl-${BASE_VERS}
COMMENT= PL/Perl procedural language for the PostgreSQL backend
DEPENDS+= postgresql82-server>=${BASE_VERS}:../../databases/postgresql82-server
+PKG_DESTDIR_SUPPORT= user-destdir
+
.include "../../databases/postgresql82/Makefile.common"
PERL5_CONFIGURE= no
diff --git a/databases/postgresql82-plpython/Makefile b/databases/postgresql82-plpython/Makefile
index 023a16ecc00..7b9b50fb7f5 100644
--- a/databases/postgresql82-plpython/Makefile
+++ b/databases/postgresql82-plpython/Makefile
@@ -1,10 +1,12 @@
-# $NetBSD: Makefile,v 1.4 2008/04/05 16:40:08 adam Exp $
+# $NetBSD: Makefile,v 1.5 2008/06/12 02:14:19 joerg Exp $
PKGNAME= postgresql82-plpython-${BASE_VERS}
COMMENT= PL/Python procedural language for the PostgreSQL backend
DEPENDS+= postgresql82-server>=${BASE_VERS}:../../databases/postgresql82-server
+PKG_DESTDIR_SUPPORT= user-destdir
+
.include "../../databases/postgresql82/Makefile.common"
CONFIGURE_ARGS+= --with-python
diff --git a/databases/postgresql82-pltcl/Makefile b/databases/postgresql82-pltcl/Makefile
index 147b6b4fb7c..2ba15a98315 100644
--- a/databases/postgresql82-pltcl/Makefile
+++ b/databases/postgresql82-pltcl/Makefile
@@ -1,10 +1,12 @@
-# $NetBSD: Makefile,v 1.4 2008/04/05 16:40:08 adam Exp $
+# $NetBSD: Makefile,v 1.5 2008/06/12 02:14:19 joerg Exp $
PKGNAME= postgresql82-pltcl-${BASE_VERS}
COMMENT= PL/Tcl procedural language for the PostgreSQL backend
DEPENDS+= postgresql82-server>=${BASE_VERS}:../../databases/postgresql82-server
+PKG_DESTDIR_SUPPORT= user-destdir
+
.include "../../databases/postgresql82/Makefile.common"
CONFIGURE_ARGS+= --with-tcl
diff --git a/databases/postgresql82-tsearch2/Makefile b/databases/postgresql82-tsearch2/Makefile
index 2cb45df33a8..3c485cb862a 100644
--- a/databases/postgresql82-tsearch2/Makefile
+++ b/databases/postgresql82-tsearch2/Makefile
@@ -1,10 +1,12 @@
-# $NetBSD: Makefile,v 1.5 2008/04/05 16:40:08 adam Exp $
+# $NetBSD: Makefile,v 1.6 2008/06/12 02:14:19 joerg Exp $
PKGNAME= postgresql82-tsearch2-${BASE_VERS}
COMMENT= Tsearch2 contrib module for fulltext indexing in PostgreSQL
DEPENDS+= postgresql82-server>=${BASE_VERS}:../../databases/postgresql82-server
+PKG_DESTDIR_SUPPORT= user-destdir
+
.include "../../databases/postgresql82/Makefile.common"
BUILD_DIRS= contrib/tsearch2/snowball contrib/tsearch2
diff --git a/databases/postgresql82/Makefile b/databases/postgresql82/Makefile
index b723d6d2056..b3a12083439 100644
--- a/databases/postgresql82/Makefile
+++ b/databases/postgresql82/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2008/03/13 16:47:37 joerg Exp $
+# $NetBSD: Makefile,v 1.4 2008/06/12 02:14:19 joerg Exp $
PKGNAME= postgresql82-${BASE_VERS}
COMMENT= Robust, next generation, object-relational DBMS
@@ -6,8 +6,8 @@ COMMENT= Robust, next generation, object-relational DBMS
DEPENDS+= postgresql82-client>=${BASE_VERS}:../../databases/postgresql82-client
DEPENDS+= postgresql82-server>=${BASE_VERS}:../../databases/postgresql82-server
-.include "Makefile.common"
-
META_PACKAGE= yes
+.include "Makefile.common"
+
.include "../../mk/bsd.pkg.mk"
diff --git a/databases/postgresql83-adminpack/Makefile b/databases/postgresql83-adminpack/Makefile
index 9355375d597..4f503016382 100644
--- a/databases/postgresql83-adminpack/Makefile
+++ b/databases/postgresql83-adminpack/Makefile
@@ -1,8 +1,10 @@
-# $NetBSD: Makefile,v 1.1.1.1 2008/03/04 12:42:13 adam Exp $
+# $NetBSD: Makefile,v 1.2 2008/06/12 02:14:20 joerg Exp $
PKGNAME= postgresql83-adminpack-${BASE_VERS}
COMMENT= Admin pack module for pgAdmin management
+PKG_DESTDIR_SUPPORT= user-destdir
+
DEPENDS+= postgresql83-server>=${BASE_VERS}:../../databases/postgresql83-server
.include "../../databases/postgresql83/Makefile.common"
diff --git a/databases/postgresql83-plperl/Makefile b/databases/postgresql83-plperl/Makefile
index 01e56f53258..28e7f3ec178 100644
--- a/databases/postgresql83-plperl/Makefile
+++ b/databases/postgresql83-plperl/Makefile
@@ -1,8 +1,10 @@
-# $NetBSD: Makefile,v 1.1.1.1 2008/03/04 12:44:23 adam Exp $
+# $NetBSD: Makefile,v 1.2 2008/06/12 02:14:20 joerg Exp $
PKGNAME= postgresql83-plperl-${BASE_VERS}
COMMENT= PL/Perl procedural language for the PostgreSQL backend
+PKG_DESTDIR_SUPPORT= user-destdir
+
DEPENDS+= postgresql83-server>=${BASE_VERS}:../../databases/postgresql83-server
.include "../../databases/postgresql83/Makefile.common"
diff --git a/databases/postgresql83-plpython/Makefile b/databases/postgresql83-plpython/Makefile
index 4db658788bd..5f0ac01f8ec 100644
--- a/databases/postgresql83-plpython/Makefile
+++ b/databases/postgresql83-plpython/Makefile
@@ -1,8 +1,10 @@
-# $NetBSD: Makefile,v 1.1.1.1 2008/03/04 12:44:41 adam Exp $
+# $NetBSD: Makefile,v 1.2 2008/06/12 02:14:20 joerg Exp $
PKGNAME= postgresql83-plpython-${BASE_VERS}
COMMENT= PL/Python procedural language for the PostgreSQL backend
+PKG_DESTDIR_SUPPORT= user-destdir
+
DEPENDS+= postgresql83-server>=${BASE_VERS}:../../databases/postgresql83-server
.include "../../databases/postgresql83/Makefile.common"
diff --git a/databases/postgresql83-pltcl/Makefile b/databases/postgresql83-pltcl/Makefile
index a88331efbe8..f1cf7e9f811 100644
--- a/databases/postgresql83-pltcl/Makefile
+++ b/databases/postgresql83-pltcl/Makefile
@@ -1,8 +1,10 @@
-# $NetBSD: Makefile,v 1.1.1.1 2008/03/04 12:45:02 adam Exp $
+# $NetBSD: Makefile,v 1.2 2008/06/12 02:14:20 joerg Exp $
PKGNAME= postgresql83-pltcl-${BASE_VERS}
COMMENT= PL/Tcl procedural language for the PostgreSQL backend
+PKG_DESTDIR_SUPPORT= user-destdir
+
DEPENDS+= postgresql83-server>=${BASE_VERS}:../../databases/postgresql83-server
.include "../../databases/postgresql83/Makefile.common"
diff --git a/databases/postgresql83/Makefile b/databases/postgresql83/Makefile
index dee43ce7351..69c0a702df8 100644
--- a/databases/postgresql83/Makefile
+++ b/databases/postgresql83/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2008/03/13 16:47:37 joerg Exp $
+# $NetBSD: Makefile,v 1.3 2008/06/12 02:14:20 joerg Exp $
PKGNAME= postgresql83-${BASE_VERS}
COMMENT= Robust, next generation, object-relational DBMS
@@ -6,8 +6,8 @@ COMMENT= Robust, next generation, object-relational DBMS
DEPENDS+= postgresql83-client>=${BASE_VERS}:../../databases/postgresql83-client
DEPENDS+= postgresql83-server>=${BASE_VERS}:../../databases/postgresql83-server
-.include "Makefile.common"
-
META_PACKAGE= yes
+.include "Makefile.common"
+
.include "../../mk/bsd.pkg.mk"
diff --git a/databases/pxtools/Makefile b/databases/pxtools/Makefile
index 4c72baa3a61..3b12b2239d3 100644
--- a/databases/pxtools/Makefile
+++ b/databases/pxtools/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2006/12/15 14:34:20 wiz Exp $
+# $NetBSD: Makefile,v 1.14 2008/06/12 02:14:20 joerg Exp $
#
DISTNAME= pxtools-0.0.20
@@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://jan.kneschke.de/projects/pxtools/
COMMENT= Paradox database export/info utilities
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_PKGLOCALEDIR= YES
USE_TOOLS+= gmake
diff --git a/databases/py-IndexedCatalog/Makefile b/databases/py-IndexedCatalog/Makefile
index 829206505c8..b163ca5e86a 100644
--- a/databases/py-IndexedCatalog/Makefile
+++ b/databases/py-IndexedCatalog/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2008/04/25 20:39:07 joerg Exp $
+# $NetBSD: Makefile,v 1.9 2008/06/12 02:14:20 joerg Exp $
#
DISTNAME= IndexedCatalog-0.6.0
@@ -11,6 +11,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://async.com.br/projects/IndexedCatalog/
COMMENT= Indexed Catalog extension for standalone ZODB
+PKG_DESTDIR_SUPPORT= user-destdir
+
PYTHON_VERSIONS_ACCEPTED= 23
PYDISTUTILSPKG= yes
diff --git a/databases/py-PgSQL/Makefile b/databases/py-PgSQL/Makefile
index 8c59822a568..204b2d80179 100644
--- a/databases/py-PgSQL/Makefile
+++ b/databases/py-PgSQL/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2008/04/25 20:39:07 joerg Exp $
+# $NetBSD: Makefile,v 1.16 2008/06/12 02:14:20 joerg Exp $
#
DISTNAME= pyPgSQL-2.4
@@ -11,6 +11,8 @@ MAINTAINER= recht@NetBSD.org
HOMEPAGE= http://pypgsql.sourceforge.net/
COMMENT= Python DB-API 2.0 compliant interface to PostgreSQL
+PKG_DESTDIR_SUPPORT= user-destdir
+
WRKSRC= ${WRKDIR}/pypgsql
PYDISTUTILSPKG= YES
PYBINMODULE= YES
diff --git a/databases/py-ZODB/Makefile b/databases/py-ZODB/Makefile
index eceb9789667..520a42c124b 100644
--- a/databases/py-ZODB/Makefile
+++ b/databases/py-ZODB/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2008/04/25 20:39:07 joerg Exp $
+# $NetBSD: Makefile,v 1.16 2008/06/12 02:14:20 joerg Exp $
#
DISTNAME= ZODB3-3.2.1
@@ -11,6 +11,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://zope.org/Products/ZODB3.2/3.2/
COMMENT= Standalone distro of Zope Object Database
+PKG_DESTDIR_SUPPORT= user-destdir
+
PY_PATCHPLIST= yes
PYDISTUTILSPKG= yes
diff --git a/databases/py-bdb-xml/Makefile b/databases/py-bdb-xml/Makefile
index 54a52cbbb32..2dd35968f8b 100644
--- a/databases/py-bdb-xml/Makefile
+++ b/databases/py-bdb-xml/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2008/04/25 20:39:07 joerg Exp $
+# $NetBSD: Makefile,v 1.14 2008/06/12 02:14:20 joerg Exp $
DISTNAME= dbxml-1.2.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/db/bdb-/}
@@ -10,6 +10,8 @@ MAINTAINER= minskim@NetBSD.org
HOMEPAGE= http://www.sleepycat.com/products/xml.shtml
COMMENT= Python wrapper for Berkeley DB XML C++ API
+PKG_DESTDIR_SUPPORT= user-destdir
+
CONFLICTS= ${PYPKGPREFIX}-dbxml<=1.2.1
WRKSRC= ${WRKDIR}/${DISTNAME}/src/python
diff --git a/databases/py-gdbm/Makefile b/databases/py-gdbm/Makefile
index 100f1088e5d..3e250b4e53f 100644
--- a/databases/py-gdbm/Makefile
+++ b/databases/py-gdbm/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.24 2006/06/16 10:58:23 rillig Exp $
+# $NetBSD: Makefile,v 1.25 2008/06/12 02:14:20 joerg Exp $
#
PKGNAME= ${PYPKGPREFIX}-gdbm-0
@@ -9,6 +9,8 @@ MAINTAINER= dolecek@ics.muni.cz
HOMEPAGE= http://www.python.org/doc/lib/module-gdbm.html
COMMENT= Python interface to gdbm - GNU database manager
+PKG_DESTDIR_SUPPORT= user-destdir
+
EVAL_PREFIX+= GDBMDIR=gdbm
USE_TOOLS+= patch
diff --git a/databases/py-ldap/Makefile b/databases/py-ldap/Makefile
index 765a077cce1..5e23a6248b5 100644
--- a/databases/py-ldap/Makefile
+++ b/databases/py-ldap/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.36 2008/05/25 21:42:21 joerg Exp $
+# $NetBSD: Makefile,v 1.37 2008/06/12 02:14:20 joerg Exp $
DISTNAME= python-ldap-2.3.1
PKGNAME= ${DISTNAME:S/python/${PYPKGPREFIX}/}
@@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://sourceforge.net/projects/python-ldap/
COMMENT= LDAP client API for Python
+PKG_DESTDIR_SUPPORT= user-destdir
+
PYDISTUTILSPKG= yes
PY_LDAP_LIBRARY_DIRS= ${BUILDLINK_PREFIX.openldap-client}/lib
@@ -29,10 +31,11 @@ PY_LDAP_DOCDIR= ${PREFIX}/share/doc/py-ldap
USE_TOOLS+= pax
+INSTALLATION_DIRS= ${PY_LDAP_DOCDIR}
+
post-install:
- ${INSTALL_DATA_DIR} ${PY_LDAP_DOCDIR}
cd ${WRKSRC} && pax -rw CHANGES README INSTALL TODO Demo \
- ${PY_LDAP_DOCDIR}
+ ${DESTDIR}${PY_LDAP_DOCDIR}
.include "../../databases/openldap-client/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"
diff --git a/databases/py-mssql/Makefile b/databases/py-mssql/Makefile
index f0607fcf76c..a6344cc06ab 100644
--- a/databases/py-mssql/Makefile
+++ b/databases/py-mssql/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2008/04/25 20:39:07 joerg Exp $
+# $NetBSD: Makefile,v 1.8 2008/06/12 02:14:20 joerg Exp $
#
DISTNAME= pymssql-0.8.0
@@ -10,6 +10,8 @@ MAINTAINER= bartosz.kuzma@gmail.com
HOMEPAGE= http://pymssql.sourceforge.net/
COMMENT= Python interface to MS SQL
+PKG_DESTDIR_SUPPORT= user-destdir
+
BUILDLINK_API_DEPENDS.freetds+= freetds>=0.63
PYTHON_VERSIONS_ACCEPTED= 25 24
diff --git a/databases/py-mysqldb/Makefile b/databases/py-mysqldb/Makefile
index d765422781a..c22d5d73102 100644
--- a/databases/py-mysqldb/Makefile
+++ b/databases/py-mysqldb/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.23 2008/04/25 19:47:58 joerg Exp $
+# $NetBSD: Makefile,v 1.24 2008/06/12 02:14:20 joerg Exp $
DISTNAME= MySQL-python-0.9.2
PKGNAME= ${PYPKGPREFIX}-mysqldb-0.9.2
@@ -10,6 +10,8 @@ MAINTAINER= tsarna@NetBSD.org
HOMEPAGE= http://sourceforge.net/projects/mysql-python
COMMENT= MySQL interface for Python
+PKG_DESTDIR_SUPPORT= user-destdir
+
PYDISTUTILSPKG= yes
PY_PATCHPLIST= yes
diff --git a/databases/py-postgresql/Makefile b/databases/py-postgresql/Makefile
index 4633c54fd2c..fef69ff27ad 100644
--- a/databases/py-postgresql/Makefile
+++ b/databases/py-postgresql/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.52 2008/04/25 20:39:07 joerg Exp $
+# $NetBSD: Makefile,v 1.53 2008/06/12 02:14:20 joerg Exp $
DISTNAME= PyGreSQL-3.8.1
PKGNAME= ${PYPKGPREFIX}-postgresql-3.8.1
@@ -11,6 +11,8 @@ MAINTAINER= darcy@NetBSD.org
HOMEPAGE= http://www.PyGreSQL.org/
COMMENT= Python interface to PostgreSQL
+PKG_DESTDIR_SUPPORT= user-destdir
+
MAKE_ENV+= MANDIR=${LOCALBASE}/man
MAKE_ENV+= BINDIR=${LOCALBASE}/bin
USE_TOOLS+= gmake
@@ -25,18 +27,18 @@ PYDISTUTILSPKG= yes
PYBINMODULE= yes
DOCDIR= ${PREFIX}/share/doc/${PYPKGPREFIX}-postgresql
+INSTALLATION_DIRS= ${DOCDIR}/tutorial ${DOCDIR}/docs
+
post-install:
- ${INSTALL_DATA_DIR} ${DOCDIR}/tutorial
- ${INSTALL_DATA_DIR} ${DOCDIR}/docs
set -e; \
cd ${WRKSRC}/tutorial; \
for f in *.py; do \
- ${INSTALL_DATA} "$$f" ${DOCDIR}/tutorial; \
+ ${INSTALL_DATA} "$$f" ${DESTDIR}${DOCDIR}/tutorial; \
done
set -e; \
cd ${WRKSRC}/docs; \
for f in *; do \
- ${INSTALL_DATA} "$$f" ${DOCDIR}/docs; \
+ ${INSTALL_DATA} "$$f" ${DESTDIR}${DOCDIR}/docs; \
done
.include "../../lang/python/extension.mk"
diff --git a/databases/py-sqlite/Makefile b/databases/py-sqlite/Makefile
index 62fb840b0e2..8367d944cea 100644
--- a/databases/py-sqlite/Makefile
+++ b/databases/py-sqlite/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2008/04/25 20:39:08 joerg Exp $
+# $NetBSD: Makefile,v 1.13 2008/06/12 02:14:20 joerg Exp $
DISTNAME= pysqlite-1.0.1
PKGNAME= ${PYPKGPREFIX}-sqlite-1.0.1
@@ -10,6 +10,8 @@ MAINTAINER= tsarna@NetBSD.org
HOMEPAGE= http://pysqlite.org/
COMMENT= SQLite database adapter for Python
+PKG_DESTDIR_SUPPORT= user-destdir
+
PYDISTUTILSPKG= yes
PY_PATCHPLIST= yes
PYTHON_VERSIONS_ACCEPTED= 25 24 23 21
diff --git a/databases/py-sqlite2/Makefile b/databases/py-sqlite2/Makefile
index e6b73dafb61..67da52c7e53 100644
--- a/databases/py-sqlite2/Makefile
+++ b/databases/py-sqlite2/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2008/04/25 20:39:08 joerg Exp $
+# $NetBSD: Makefile,v 1.11 2008/06/12 02:14:20 joerg Exp $
DISTNAME= pysqlite-2.3.5
PKGNAME= ${PYPKGPREFIX}-sqlite2-2.3.5
@@ -9,6 +9,8 @@ MAINTAINER= tsarna@NetBSD.org
HOMEPAGE= http://initd.org/tracker/pysqlite
COMMENT= SQLite database adapter for Python
+PKG_DESTDIR_SUPPORT= user-destdir
+
PYDISTUTILSPKG= yes
do-postinstall-test: .PHONY
diff --git a/databases/py-sybase/Makefile b/databases/py-sybase/Makefile
index e20732ef0e0..3a9c6daea0d 100644
--- a/databases/py-sybase/Makefile
+++ b/databases/py-sybase/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.19 2008/04/25 20:39:08 joerg Exp $
+# $NetBSD: Makefile,v 1.20 2008/06/12 02:14:20 joerg Exp $
#
DISTNAME= sybase-0.36
@@ -11,6 +11,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.object-craft.com.au/projects/sybase/
COMMENT= Sybase interface for Python using FreeTDS
+PKG_DESTDIR_SUPPORT= user-destdir
+
PYSETUPBUILDARGS= build_ext -D HAVE_FREETDS=61 -U WANT_BULKCOPY
PYDISTUTILSPKG= yes
diff --git a/databases/py-table/Makefile b/databases/py-table/Makefile
index 173c77e40ae..ca64b081d68 100644
--- a/databases/py-table/Makefile
+++ b/databases/py-table/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2008/04/25 20:39:08 joerg Exp $
+# $NetBSD: Makefile,v 1.12 2008/06/12 02:14:21 joerg Exp $
#
DISTNAME= pytable-0.8.3a
@@ -11,6 +11,8 @@ MAINTAINER= darcy@NetBSD.org
HOMEPAGE= http://pytable.sourceforge.net/
COMMENT= Python RDBMS wrapper for various databases
+PKG_DESTDIR_SUPPORT= user-destdir
+
DEPENDS+= ${PYPKGPREFIX}-basicproperty-[0-9]*:../../lang/py-basicproperty
MAKE_ENV+= MANDIR=${PREFIX}/man