summaryrefslogtreecommitdiff
path: root/math/gp-grpconst
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2008-03-04 17:57:17 +0000
committerjlam <jlam@pkgsrc.org>2008-03-04 17:57:17 +0000
commita80fd13efc426f96e55870df48a2030daea0f14b (patch)
treeea772f1017a149bdf8c86107c24d16246695614e /math/gp-grpconst
parent31c6c3a796edf9dd9bae5586339c5e2e023ca408 (diff)
downloadpkgsrc-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-grpconst')
-rw-r--r--math/gp-grpconst/Makefile7
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"