diff options
author | jlam <jlam> | 2008-03-03 17:45:33 +0000 |
---|---|---|
committer | jlam <jlam> | 2008-03-03 17:45:33 +0000 |
commit | 7a1142123798f48c48fc2d1fe38690a6b94d1df7 (patch) | |
tree | 620d08cc8bf79f9bacb7746632192670c7d6350d /devel/ode | |
parent | e629efdae96bb93a089e74409a36149a86e10f81 (diff) | |
download | pkgsrc-7a1142123798f48c48fc2d1fe38690a6b94d1df7.tar.gz |
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'devel/ode')
-rw-r--r-- | devel/ode/Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/devel/ode/Makefile b/devel/ode/Makefile index 2783d9a1505..70a2bd9ba32 100644 --- a/devel/ode/Makefile +++ b/devel/ode/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.14 2007/01/20 13:33:13 joerg Exp $ +# $NetBSD: Makefile,v 1.15 2008/03/03 17:45:36 jlam Exp $ DISTNAME= ode-0.5 PKGREVISION= 3 @@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://ode.org/ COMMENT= Library for the simulation of Rigid Body Dynamics +PKG_DESTDIR_SUPPORT= user-destdir + USE_LANGUAGES= c++ USE_LIBTOOL= yes USE_TOOLS+= gmake @@ -21,8 +23,9 @@ do-configure: cd ${WRKSRC} && ${MAKE_PROGRAM} configure do-install: - ${INSTALL_DATA} ${WRKSRC}/include/ode/*.h ${PREFIX}/include/ode + ${INSTALL_DATA} ${WRKSRC}/include/ode/*.h \ + ${DESTDIR}${PREFIX}/include/ode ${LIBTOOL} --mode=install ${INSTALL_LIB} ${WRKSRC}/lib/libode.la \ - ${PREFIX}/lib + ${DESTDIR}${PREFIX}/lib .include "../../mk/bsd.pkg.mk" |