diff options
author | joerg <joerg@pkgsrc.org> | 2010-01-29 16:51:38 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2010-01-29 16:51:38 +0000 |
commit | dd16423a601e9964c1bcd8c180fdfc7db6d12e97 (patch) | |
tree | d793efe2c921b6a9d26b1de0536e6f0ab8acc511 /databases/guile-pg | |
parent | eef4fbe1cb14fd3b0c629818c9213acb56e64e0d (diff) | |
download | pkgsrc-dd16423a601e9964c1bcd8c180fdfc7db6d12e97.tar.gz |
DESTDIR support
Diffstat (limited to 'databases/guile-pg')
-rw-r--r-- | databases/guile-pg/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/databases/guile-pg/Makefile b/databases/guile-pg/Makefile index a3e9aafcaa9..89561fb9d8c 100644 --- a/databases/guile-pg/Makefile +++ b/databases/guile-pg/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.39 2009/12/15 21:33:48 joerg Exp $ +# $NetBSD: Makefile,v 1.40 2010/01/29 17:07:05 joerg Exp $ # DISTNAME= guile-pg-0.37 @@ -11,6 +11,8 @@ HOMEPAGE= http://www.gnuvola.org/software/guile-pg/ COMMENT= PostgreSQL interface for Guile LICENSE= gnu-gpl-v3 +PKG_DESTDIR_SUPPORT= user-destdir + USE_LIBTOOL= YES USE_TOOLS+= gmake GNU_CONFIGURE= YES @@ -35,8 +37,8 @@ SITE=${PREFIX}/guile/1.6/share/guile/site post-install: # guile should make this, but if not - ${INSTALL_DATA_DIR} ${SITE} - cd ${SITE} && ${LN} -sf ../../../../../lib/guile/site/database . + ${INSTALL_DATA_DIR} ${DESTDIR}${SITE} + cd ${DESTDIR}${SITE} && ${LN} -sf ../../../../../lib/guile/site/database . .include "../../lang/guile16/buildlink3.mk" .include "../../mk/pgsql.buildlink3.mk" |