From a80fd13efc426f96e55870df48a2030daea0f14b Mon Sep 17 00:00:00 2001 From: jlam Date: Tue, 4 Mar 2008 17:57:17 +0000 Subject: Mechanical changes to add DESTDIR support to packages that install their files via a custom do-install target. --- math/gp-autpgrp/Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'math/gp-autpgrp') diff --git a/math/gp-autpgrp/Makefile b/math/gp-autpgrp/Makefile index 2ce31b97cd7..3e561682c62 100644 --- a/math/gp-autpgrp/Makefile +++ b/math/gp-autpgrp/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= autpgrp-1.1 @@ -13,12 +13,15 @@ MAINTAINER= cjep@NetBSD.org HOMEPAGE= http://www.gap-system.org/Share/autpgrp.html COMMENT= GAP package for finding automorphism groups of finite p-groups +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR}/autpgrp NO_BUILD= YES GAP_PKG_NAME= autpgrp 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" -- cgit v1.2.3