summaryrefslogtreecommitdiff
path: root/math/ltm/Makefile
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/ltm/Makefile
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/ltm/Makefile')
-rw-r--r--math/ltm/Makefile17
1 files changed, 9 insertions, 8 deletions
diff --git a/math/ltm/Makefile b/math/ltm/Makefile
index e65299995bb..96ad4dd946c 100644
--- a/math/ltm/Makefile
+++ b/math/ltm/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2008/02/28 11:58:48 rillig Exp $
+# $NetBSD: Makefile,v 1.12 2008/03/04 18:12:59 jlam Exp $
#
DISTNAME= ltm-0.39
@@ -11,6 +11,7 @@ HOMEPAGE= http://math.libtomcrypt.com/
COMMENT= Number theoretic multiple-precision integer library
PKG_INSTALLATION_TYPES= overwrite pkgviews
+PKG_DESTDIR_SUPPORT= user-destdir
WRKSRC= ${WRKDIR}/libtommath-0.39
MAKE_FILE= makefile
@@ -20,12 +21,12 @@ USE_TOOLS+= gmake
AUTO_MKDIRS= yes
do-install:
- ${INSTALL_DATA} ${WRKSRC}/tommath.h ${PREFIX}/include
- ${INSTALL_DATA} ${WRKSRC}/tommath_class.h ${PREFIX}/include
- ${INSTALL_DATA} ${WRKSRC}/tommath_superclass.h ${PREFIX}/include
- ${INSTALL_LIB} ${WRKSRC}/libtommath.a ${PREFIX}/lib
- ${INSTALL_DATA} ${WRKSRC}/bn.pdf ${PREFIX}/share/doc/ltm
- ${INSTALL_DATA} ${WRKSRC}/poster.pdf ${PREFIX}/share/doc/ltm
- ${INSTALL_DATA} ${WRKSRC}/tommath.pdf ${PREFIX}/share/doc/ltm
+ ${INSTALL_DATA} ${WRKSRC}/tommath.h ${DESTDIR}${PREFIX}/include
+ ${INSTALL_DATA} ${WRKSRC}/tommath_class.h ${DESTDIR}${PREFIX}/include
+ ${INSTALL_DATA} ${WRKSRC}/tommath_superclass.h ${DESTDIR}${PREFIX}/include
+ ${INSTALL_LIB} ${WRKSRC}/libtommath.a ${DESTDIR}${PREFIX}/lib
+ ${INSTALL_DATA} ${WRKSRC}/bn.pdf ${DESTDIR}${PREFIX}/share/doc/ltm
+ ${INSTALL_DATA} ${WRKSRC}/poster.pdf ${DESTDIR}${PREFIX}/share/doc/ltm
+ ${INSTALL_DATA} ${WRKSRC}/tommath.pdf ${DESTDIR}${PREFIX}/share/doc/ltm
.include "../../mk/bsd.pkg.mk"