summaryrefslogtreecommitdiff
path: root/emulators/dynamips
diff options
context:
space:
mode:
authorjlam <jlam>2008-03-03 19:21:37 +0000
committerjlam <jlam>2008-03-03 19:21:37 +0000
commit4bec39ccba022dfbd2daa6f6d25f7e86d987b4b7 (patch)
treec5e0c30c0b353fd2092305665ed106c2ef4ca346 /emulators/dynamips
parent9bb1fb4eb3cd00b14bf35efc1f775513b341c2e6 (diff)
downloadpkgsrc-4bec39ccba022dfbd2daa6f6d25f7e86d987b4b7.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"