summaryrefslogtreecommitdiff
path: root/devel/ode/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/ode/Makefile')
-rw-r--r--devel/ode/Makefile9
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"