summaryrefslogtreecommitdiff
path: root/math/gp-grpconst
diff options
context:
space:
mode:
authorjlam <jlam>2008-03-04 17:57:17 +0000
committerjlam <jlam>2008-03-04 17:57:17 +0000
commitbdd0c18aec7b66f61e3330e8817dc56f3935ec5e (patch)
treeea772f1017a149bdf8c86107c24d16246695614e /math/gp-grpconst
parent3fb238c0b22ac51fd38f31b091b73ec6488f8dd9 (diff)
downloadpkgsrc-bdd0c18aec7b66f61e3330e8817dc56f3935ec5e.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"