diff options
author | joerg <joerg@pkgsrc.org> | 2008-06-12 02:14:13 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2008-06-12 02:14:13 +0000 |
commit | ba171a91fab519f587b027c1a2888cb6e3fce049 (patch) | |
tree | c12b9c282e2706cb6bac87456615dfdf2b256e55 /databases/pgtclng | |
parent | 3ba79d294eb62e9c75cc32d37b4af7759af8c9d6 (diff) | |
download | pkgsrc-ba171a91fab519f587b027c1a2888cb6e3fce049.tar.gz |
Add DESTDIR support.
Diffstat (limited to 'databases/pgtclng')
-rw-r--r-- | databases/pgtclng/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
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 |