diff options
author | markd <markd@pkgsrc.org> | 2010-02-05 20:20:41 +0000 |
---|---|---|
committer | markd <markd@pkgsrc.org> | 2010-02-05 20:20:41 +0000 |
commit | fe296cee308203854d093359da7a79d54a940b34 (patch) | |
tree | 4ed26d1b59d3b852841795bcafef5e5bc9f504b0 /emulators/dynagen/Makefile | |
parent | 031b1d3d6b5fd63b001817bb5ced0edc73d620c8 (diff) | |
download | pkgsrc-fe296cee308203854d093359da7a79d54a940b34.tar.gz |
Initial import of dynagen 0.11.0
Dynagen is a front-end for use with the Dynamips Cisco router emulator.
It uses an INI-like configuration file to provision Dynamips emulator
networks. It takes care of specifying the right port adapters, generating
and matching up those pesky NIO descriptors, specifying bridges,
frame-relay, ATM switches, etc. It also provides a management CLI for
listing devices, suspending and reloading instances, determining and
managing idle-pc values, performing packet captures, etc.
Diffstat (limited to 'emulators/dynagen/Makefile')
-rw-r--r-- | emulators/dynagen/Makefile | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/emulators/dynagen/Makefile b/emulators/dynagen/Makefile new file mode 100644 index 00000000000..8465e0e1257 --- /dev/null +++ b/emulators/dynagen/Makefile @@ -0,0 +1,44 @@ +# $NetBSD: Makefile,v 1.1.1.1 2010/02/05 20:20:41 markd Exp $ + +DISTNAME= dynagen-0.11.0 +CATEGORIES= emulators +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=dyna-gen/} + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://dynagen.org/ +COMMENT= Network configuration generator for Dynamips +LICENSE= gnu-gpl-v2 + +PKG_DESTDIR_SUPPORT= user-destdir + +DEPENDS+= dynamips>=0.2.8rc1:../../emulators/dynamips + +NO_BUILD= yes +PY_PATCHPLIST= yes +REPLACE_PYTHON+= dynagen confConsole.py console.py dynamips_lib.py pemu_lib.py + +SUBST_CLASSES+= paths +SUBST_STAGE.paths= post-patch +SUBST_FILES.paths= dynagen +SUBST_SED.paths= -e "s|@SYSCONFDIR@|${PKG_SYSCONFDIR}|" +SUBST_SED.paths+= -e "s|@PREFIX@|${PREFIX}|" + +CONF_FILES+= share/examples/dynagen/dynagen.ini ${PKG_SYSCONFDIR}/dynagen.ini + +INSTALLATION_DIRS= bin ${PYSITELIB}/dynagen share/dynagen \ + share/doc/dynagen/tutorial_files share/examples/dynagen + +do-install: + ${INSTALL_SCRIPT} ${WRKSRC}/dynagen ${DESTDIR}${PREFIX}/bin + ${INSTALL_SCRIPT} ${WRKSRC}/*.py* ${DESTDIR}${PREFIX}/${PYSITELIB}/dynagen + ${INSTALL_SCRIPT} ${FILESDIR}/*.py* ${DESTDIR}${PREFIX}/${PYSITELIB}/dynagen + ${INSTALL_DATA} ${WRKSRC}/configspec ${DESTDIR}${PREFIX}/share/dynagen + ${INSTALL_DATA} ${WRKSRC}/docs/*htm* ${DESTDIR}${PREFIX}/share/doc/dynagen + ${INSTALL_DATA} ${WRKSRC}/docs/tutorial_files/* \ + ${DESTDIR}${PREFIX}/share/doc/dynagen/tutorial_files + ${INSTALL_DATA} ${WRKSRC}/dynagen.ini ${DESTDIR}${PREFIX}/share/examples/dynagen + cp -R ${WRKSRC}/sample_labs/* ${DESTDIR}${PREFIX}/share/examples/dynagen + +.include "../../lang/python/application.mk" +.include "../../lang/python/extension.mk" +.include "../../mk/bsd.pkg.mk" |