summaryrefslogtreecommitdiff
path: root/emulators/dynamips
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2008-03-03 19:21:37 +0000
committerjlam <jlam@pkgsrc.org>2008-03-03 19:21:37 +0000
commit0bb78c6c9d3855e92497417696475484322d451c (patch)
treec5e0c30c0b353fd2092305665ed106c2ef4ca346 /emulators/dynamips
parent9bd3464e7e916d97f1e733a71b79c48999897987 (diff)
downloadpkgsrc-0bb78c6c9d3855e92497417696475484322d451c.tar.gz
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'emulators/dynamips')
-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"