summaryrefslogtreecommitdiff
path: root/emulators/dynamips/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/dynamips/Makefile')
-rw-r--r--emulators/dynamips/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/emulators/dynamips/Makefile b/emulators/dynamips/Makefile
index 47cd08c01be..4c5517b32d5 100644
--- a/emulators/dynamips/Makefile
+++ b/emulators/dynamips/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2008/02/14 11:00:13 kefren Exp $
+# $NetBSD: Makefile,v 1.2 2008/03/03 19:21:38 jlam Exp $
DISTNAME= dynamips-0.2.7
CATEGORIES= emulators
@@ -8,6 +8,8 @@ MAINTAINER= kefren@NetBSD.org
HOMEPAGE= http://www.ipflow.utc.fr/index.php/Cisco_7200_Simulator
COMMENT= Cisco 3600 and 7200 MIPS emulator
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_TOOLS+= gmake
NO_CONFIGURE= yes
@@ -21,8 +23,8 @@ SUBST_SED.libelf= -e 's,<libelf.h>,<libelf/libelf.h>,'
SUBST_MESSAGE.libelf= Fix libelf header file path
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/dynamips ${PREFIX}/bin
- ${INSTALL_PROGRAM} ${WRKSRC}/nvram_export ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/dynamips ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/nvram_export ${DESTDIR}${PREFIX}/bin
.include "../../devel/libelf/buildlink3.mk"
.include "../../net/libpcap/buildlink3.mk"