diff options
author | jlam <jlam> | 2008-03-04 17:57:17 +0000 |
---|---|---|
committer | jlam <jlam> | 2008-03-04 17:57:17 +0000 |
commit | 227db4fd65c1798f1f06219f896b8a2add93ce0c (patch) | |
tree | ea772f1017a149bdf8c86107c24d16246695614e /math/gp-factint/Makefile | |
parent | 47512d21954e6312a4cd43b04b4c2594596e697b (diff) | |
download | pkgsrc-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-factint/Makefile')
-rw-r--r-- | math/gp-factint/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/math/gp-factint/Makefile b/math/gp-factint/Makefile index 81cd08e6eff..6f00361ea3e 100644 --- a/math/gp-factint/Makefile +++ b/math/gp-factint/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= factint-1.3 @@ -13,12 +13,15 @@ MAINTAINER= cjep@NetBSD.org HOMEPAGE= http://www.gap-system.org/Share/factint.html COMMENT= Integer factorization routines for GAP +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR}/factint NO_BUILD= YES GAP_PKG_NAME= factint 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" |