diff options
author | jlam <jlam@pkgsrc.org> | 2008-03-04 17:57:17 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2008-03-04 17:57:17 +0000 |
commit | a80fd13efc426f96e55870df48a2030daea0f14b (patch) | |
tree | ea772f1017a149bdf8c86107c24d16246695614e /math/gp-grape | |
parent | 31c6c3a796edf9dd9bae5586339c5e2e023ca408 (diff) | |
download | pkgsrc-a80fd13efc426f96e55870df48a2030daea0f14b.tar.gz |
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'math/gp-grape')
-rw-r--r-- | math/gp-grape/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/math/gp-grape/Makefile b/math/gp-grape/Makefile index df66c4049ac..b8b334477cc 100644 --- a/math/gp-grape/Makefile +++ b/math/gp-grape/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.11 2006/02/05 23:10:02 joerg Exp $ +# $NetBSD: Makefile,v 1.12 2008/03/04 18:12:59 jlam Exp $ # DISTNAME= grape4r1 @@ -13,6 +13,8 @@ MAINTAINER= cjep@NetBSD.org HOMEPAGE= http://www.gap-system.org/Share/grape.html COMMENT= GRAPE (GRape Algorithms using PErmutation groups) +PKG_DESTDIR_SUPPORT= user-destdir + BUILD_TARGET= bsd-gcc WRKSRC= ${WRKDIR}/${GAP_PKG_NAME} @@ -22,10 +24,10 @@ do-configure: cd ${WRKSRC} && ${SH} configure ${GAP_DIRECTORY} do-install: - ${INSTALL_PROGRAM_DIR} ${GAP_PKG_DIRECTORY} + ${INSTALL_PROGRAM_DIR} ${DESTDIR}${GAP_PKG_DIRECTORY} @for I in COPYING bin doc grh htm init.g lib nauty20/read.me \ prs; do \ - ${CP} -R ${WRKSRC}/$$I ${GAP_PKG_DIRECTORY}; \ + ${CP} -R ${WRKSRC}/$$I ${DESTDIR}${GAP_PKG_DIRECTORY}; \ done .include "../../math/gap/gap.package.mk" |