openbsd-ports/emulators/gns3/Makefile

37 lines
774 B
Makefile
Raw Normal View History

2013-03-11 07:02:49 -04:00
# $OpenBSD: Makefile,v 1.21 2013/03/11 11:06:04 espie Exp $
COMMENT= graphical network simulator
2012-10-25 08:27:53 -04:00
MODPY_EGG_VERSION = 0.8.3.1
DISTNAME= GNS3-${MODPY_EGG_VERSION}-src
PKGNAME= gns3-${MODPY_EGG_VERSION}
CATEGORIES= emulators
HOMEPAGE= http://www.gns3.net/
# GPLv2 only
PERMIT_PACKAGE_CDROM= Yes
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gns-3/}
MODULES= lang/python
2010-11-15 18:22:07 -05:00
RUN_DEPENDS= x11/py-qt4 \
emulators/dynagen \
emulators/qemu
2013-03-11 07:02:49 -04:00
NO_TEST= Yes
PKG_ARCH= *
MODPY_ADJ_FILES = qemuwrapper/qemuwrapper.py
pre-configure:
cd ${WRKSRC}/src/GNS3; ${SUBST_CMD} \
Application.py Config/Defaults.py QemuManager.py
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/libexec/gns3
${INSTALL_SCRIPT} ${WRKSRC}/qemuwrapper/qemuwrapper.py ${PREFIX}/libexec/gns3
.include <bsd.port.mk>