summaryrefslogtreecommitdiff
path: root/math/gp-lag
diff options
context:
space:
mode:
authorjlam <jlam>2008-03-04 17:57:17 +0000
committerjlam <jlam>2008-03-04 17:57:17 +0000
commit227db4fd65c1798f1f06219f896b8a2add93ce0c (patch)
treeea772f1017a149bdf8c86107c24d16246695614e /math/gp-lag
parent47512d21954e6312a4cd43b04b4c2594596e697b (diff)
downloadpkgsrc-227db4fd65c1798f1f06219f896b8a2add93ce0c.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-lag')
-rw-r--r--math/gp-lag/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/math/gp-lag/Makefile b/math/gp-lag/Makefile
index 6f14972cd5b..ae5e7015d64 100644
--- a/math/gp-lag/Makefile
+++ b/math/gp-lag/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= lag-2.1
@@ -13,12 +13,15 @@ MAINTAINER= cjep@NetBSD.org
HOMEPAGE= http://www.gap-system.org/Share/lag.html
COMMENT= GAP Bracket Lie Algebra functions
+PKG_DESTDIR_SUPPORT= user-destdir
+
WRKSRC= ${WRKDIR}/lag
NO_BUILD= YES
GAP_PKG_NAME= lag
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"