diff options
author | joerg <joerg> | 2008-06-12 02:14:13 +0000 |
---|---|---|
committer | joerg <joerg> | 2008-06-12 02:14:13 +0000 |
commit | 168a3246f0e3c46b0ef3b5dcf5d18607cff1583f (patch) | |
tree | c12b9c282e2706cb6bac87456615dfdf2b256e55 /databases/pgtclng/Makefile | |
parent | 63309a20a533bc79929c9bd5b3bf872561762300 (diff) | |
download | pkgsrc-168a3246f0e3c46b0ef3b5dcf5d18607cff1583f.tar.gz |
Add DESTDIR support.
Diffstat (limited to 'databases/pgtclng/Makefile')
-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 |