2012-09-22 17:48:23 +02:00
|
|
|
# Created by: Andrew Greenwood
|
2009-02-14 20:25:53 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= dynagui
|
|
|
|
PORTVERSION= 0.4
|
2010-10-19 10:09:08 +02:00
|
|
|
PORTREVISION= 1
|
2009-02-14 20:25:53 +01:00
|
|
|
CATEGORIES= emulators
|
2009-08-22 02:20:34 +02:00
|
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
|
2009-02-14 20:25:53 +01:00
|
|
|
DIST_SUBDIR= dynagui
|
|
|
|
|
2012-09-22 17:48:23 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2009-02-14 20:25:53 +01:00
|
|
|
COMMENT= GUI frontend to the dynamips router simulator
|
|
|
|
|
2010-10-19 10:09:08 +02:00
|
|
|
BUILD_DEPENDS= dynagen:${PORTSDIR}/emulators/dynagen
|
2009-02-14 20:25:53 +01:00
|
|
|
|
|
|
|
USE_PYTHON= 2.5+
|
|
|
|
USE_PYDISTUTILS= yes
|
|
|
|
IMGDIR= ${PREFIX}/share/${PORTNAME}/img
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
${MKDIR} ${IMGDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/img/* ${IMGDIR}
|
|
|
|
${CHMOD} 755 ${PYTHON_SITELIBDIR}/dynagui.py
|
|
|
|
${LN} -sf ${PYTHON_SITELIBDIR}/dynagui.py ${PREFIX}/bin/dynagui.py
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|