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 | 411a468ce44836ba0dce72243b549d700f29037a (patch) | |
tree | ea772f1017a149bdf8c86107c24d16246695614e /math/gp-grpconst | |
parent | a8d05d72830e3030fc1f7f00f4b39671102c05e6 (diff) | |
download | pkgsrc-411a468ce44836ba0dce72243b549d700f29037a.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-grpconst')
-rw-r--r-- | math/gp-grpconst/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/math/gp-grpconst/Makefile b/math/gp-grpconst/Makefile index 2d8190fd645..eaf8f63f992 100644 --- a/math/gp-grpconst/Makefile +++ b/math/gp-grpconst/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.9 2006/02/05 23:10:02 joerg Exp $ +# $NetBSD: Makefile,v 1.10 2008/03/04 18:12:59 jlam Exp $ # DISTNAME= grpconst @@ -13,6 +13,8 @@ MAINTAINER= cjep@NetBSD.org HOMEPAGE= http://www.gap-system.org/Share/grpconst.html COMMENT= GAP package for finding isomorphism classes of finite groups +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR}/grpconst NO_BUILD= YES GAP_PKG_NAME= grpconst @@ -21,7 +23,8 @@ post-extract: ${RM} -f ${WRKSRC}/doc/.cvsignore do-install: - cd ${WRKDIR} && ${PAX} -rw ${GAP_PKG_NAME} ${GAP_PKG_ROOT} + ${INSTALL_DATA_DIR} ${DESTDIR}${GAP_PKG_ROOT} + cd ${WRKDIR} && ${PAX} -rw ${GAP_PKG_NAME} ${DESTDIR}${GAP_PKG_ROOT} .include "../../math/gap/gap.package.mk" .include "../../mk/bsd.pkg.mk" |