2016-02-17 10:42:08 +00:00
|
|
|
# Created by: Olivier Cochard-Labbe <olivier@FreeBSD.org>
|
2009-03-16 20:43:17 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= gns3
|
2014-07-17 15:22:02 +00:00
|
|
|
PORTVERSION= 0.8.7
|
2014-09-10 20:50:31 +00:00
|
|
|
PORTREVISION= 1
|
2009-03-16 20:43:17 +00:00
|
|
|
CATEGORIES= emulators
|
2009-08-22 00:20:34 +00:00
|
|
|
MASTER_SITES= SF/gns-3/GNS3/${PORTVERSION}
|
2009-03-16 20:43:17 +00:00
|
|
|
DISTNAME= GNS3-${PORTVERSION}-src
|
|
|
|
|
2016-02-17 10:42:08 +00:00
|
|
|
MAINTAINER= olivier@FreeBSD.org
|
2009-03-16 20:43:17 +00:00
|
|
|
COMMENT= Graphical Cisco network simulator
|
|
|
|
|
2011-07-13 20:06:49 +00:00
|
|
|
LICENSE= GPLv2
|
2015-05-08 11:07:47 +00:00
|
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
2011-07-13 20:06:49 +00:00
|
|
|
|
2018-06-20 17:05:41 +00:00
|
|
|
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/PyQt4/QtGui.so:x11-toolkits/py-qt4-gui@${PY_FLAVOR} \
|
|
|
|
${PYTHON_SITELIBDIR}/PyQt4/QtSvg.so:graphics/py-qt4-svg@${PY_FLAVOR} \
|
|
|
|
${PYTHON_SITELIBDIR}/PyQt4/QtNetwork.so:net/py-qt4-network@${PY_FLAVOR} \
|
2016-04-01 14:00:51 +00:00
|
|
|
dynamips:emulators/dynamips-community \
|
|
|
|
dynagen:emulators/dynagen \
|
|
|
|
xdotool:x11/xdotool
|
2009-03-16 20:43:17 +00:00
|
|
|
|
2015-05-08 11:07:47 +00:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-legacy-GNS3-${PORTVERSION}
|
2014-06-11 13:41:01 +00:00
|
|
|
|
2017-11-30 15:50:30 +00:00
|
|
|
USES= cpe python:2.7
|
2014-10-19 15:43:33 +00:00
|
|
|
USE_PYTHON= distutils
|
2009-03-16 20:43:17 +00:00
|
|
|
PYDISTUTILS_PKGNAME= GNS3
|
2015-09-10 11:42:14 +00:00
|
|
|
NO_ARCH= yes
|
2011-07-13 20:06:49 +00:00
|
|
|
|
2014-06-11 13:41:01 +00:00
|
|
|
DESKTOP_ENTRIES= "GNS3" "${COMMENT}" "" "${PORTNAME}" "System;Emulator;" true
|
2012-06-25 10:32:51 +00:00
|
|
|
|
2014-07-17 15:22:02 +00:00
|
|
|
PLIST_SUB= PYTHON_VERSION=${PYTHON_VERSION:S/python//} \
|
2015-05-08 11:07:47 +00:00
|
|
|
VERSION=${PORTVERSION}
|
2014-07-17 15:22:02 +00:00
|
|
|
|
2014-07-15 23:30:05 +00:00
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
|
2014-06-11 13:41:01 +00:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|g' -e 's|/share/man|/man|g' ${WRKSRC}/setup.py
|
2009-03-16 20:43:17 +00:00
|
|
|
|
|
|
|
post-install:
|
2014-06-11 13:41:01 +00:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/docs/man/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
|
2011-03-11 07:18:05 +00:00
|
|
|
@${CAT} ${PKGMESSAGE}
|
2011-07-13 20:06:49 +00:00
|
|
|
|
2012-07-03 17:41:29 +00:00
|
|
|
.include <bsd.port.mk>
|