diff options
author | joerg <joerg> | 2008-05-23 17:33:37 +0000 |
---|---|---|
committer | joerg <joerg> | 2008-05-23 17:33:37 +0000 |
commit | f76dcd43380c23c89c5faa70ba0240eade8cbf94 (patch) | |
tree | a5b6e21c9bae705f87e2df991de8c5c664fd2f6c /devel/dmalloc | |
parent | 71177ab598b2b04b48cd4f0626d76dd6fca9a791 (diff) | |
download | pkgsrc-f76dcd43380c23c89c5faa70ba0240eade8cbf94.tar.gz |
Add DESTDIR support.
Diffstat (limited to 'devel/dmalloc')
-rw-r--r-- | devel/dmalloc/Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/devel/dmalloc/Makefile b/devel/dmalloc/Makefile index 8527c66d798..ec9d9298fc7 100644 --- a/devel/dmalloc/Makefile +++ b/devel/dmalloc/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.18 2006/10/04 21:35:58 wiz Exp $ +# $NetBSD: Makefile,v 1.19 2008/05/23 17:33:37 joerg Exp $ DISTNAME= dmalloc-5.4.2 CATEGORIES= devel @@ -9,6 +9,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://dmalloc.com/ COMMENT= Run-time configurable debugging malloc library +PKG_DESTDIR_SUPPORT= user-destdir + USE_LANGUAGES= c c++ GNU_CONFIGURE= yes CONFIGURE_ARGS+= --enable-shlib @@ -18,12 +20,14 @@ INFO_FILES= # PLIST INSTALLATION_DIRS= ${PKGINFODIR} +INSTALL_MAKE_FLAGS+= prefix=${DESTDIR}${PREFIX} + # XXX the "installinfo" target is broken #INSTALL_TARGET= install installinfo post-install: cd ${WRKSRC}/docs; for f in *.info *.info-[0-9]*; do \ ${TEST} ! -f "$$f" || \ - ${INSTALL_DATA} "$$f" ${PREFIX}/${PKGINFODIR}; \ + ${INSTALL_DATA} "$$f" ${DESTDIR}${PREFIX}/${PKGINFODIR}; \ done .include "../../mk/pthread.buildlink3.mk" |