blob: e3169ccebc634587cb18a1be59d405f008404135 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# $NetBSD: Makefile,v 1.5 2010/02/05 20:10:42 markd Exp $
DISTNAME= dynamips-0.2.8-RC2
PKGNAME= ${DISTNAME:S/-RC/rc/}
CATEGORIES= emulators
MASTER_SITES= http://www.ipflow.utc.fr/dynamips/
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
MAKE_JOBS_SAFE= no
USE_TOOLS+= gmake
NO_CONFIGURE= yes
BUILD_TARGET= # empty
SUBST_CLASSES+= libelf
SUBST_STAGE.libelf= post-patch
SUBST_FILES.libelf= dynamips.h rom2c.c
SUBST_SED.libelf= -e 's,<libelf.h>,<libelf/libelf.h>,'
SUBST_MESSAGE.libelf= Fix libelf header file path
INSTALLATION_DIRS= bin
do-install:
${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"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|