diff options
author | joerg <joerg@pkgsrc.org> | 2008-10-03 16:43:27 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2008-10-03 16:43:27 +0000 |
commit | 40ae1f06a1775f1b7a312aa196af5342bf6cfc47 (patch) | |
tree | 2d15ca19c2a839310a0119375dc7a59ae8bac803 /databases/unixodbc/Makefile | |
parent | ee93f9dfbb58c968c657e725f5bb19e2849e81ac (diff) | |
download | pkgsrc-40ae1f06a1775f1b7a312aa196af5342bf6cfc47.tar.gz |
Install only the newer PostgreSQL 7.1+ driver. Add DESTDIR support.
Bump revision.
Diffstat (limited to 'databases/unixodbc/Makefile')
-rw-r--r-- | databases/unixodbc/Makefile | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/databases/unixodbc/Makefile b/databases/unixodbc/Makefile index 56b26f1cdb1..26fc3cbd4ed 100644 --- a/databases/unixodbc/Makefile +++ b/databases/unixodbc/Makefile @@ -1,7 +1,8 @@ -# $NetBSD: Makefile,v 1.21 2008/09/19 09:39:23 wiz Exp $ +# $NetBSD: Makefile,v 1.22 2008/10/03 16:43:27 joerg Exp $ DISTNAME= unixODBC-2.2.12 PKGNAME= ${DISTNAME:S/ODBC/odbc/} +PKGREVISION= 1 CATEGORIES= databases MASTER_SITES= http://www.unixodbc.org/ @@ -9,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.unixodbc.org/ COMMENT= ODBC 2.x/3.x driver manager +PKG_DESTDIR_SUPPORT= user-destdir + CONFLICTS+= iodbc-[0-9]* USE_LIBTOOL= YES @@ -72,14 +75,15 @@ SUBST_SED.paths+= -e 's,@PREFIX@,${PREFIX},g' SUBST_SED.paths+= -e 's,@UNIXODBC_DRIVERS_DIR@,${UNIXODBC_DRIVERS_DIR},g' SUBST_STAGE.paths= post-patch +INSTALLATION_DIRS= ${EGDIR} + post-patch: fix-driver-installation post-extract: ${CP} ${FILESDIR}/odbcinst.ini.in ${WRKDIR}/odbc.ini post-install: - ${INSTALL_DATA_DIR} ${EGDIR} - ${INSTALL_DATA} ${WRKDIR}/odbc.ini ${EGDIR}/odbc.ini + ${INSTALL_DATA} ${WRKDIR}/odbc.ini ${DESTDIR}${EGDIR}/odbc.ini .include "../../devel/libltdl/buildlink3.mk" .include "../../devel/readline/buildlink3.mk" |