mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
27 lines
675 B
Makefile
27 lines
675 B
Makefile
# Created by: Andrew Greenwood
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= dynagui
|
|
PORTVERSION= 0.4
|
|
PORTREVISION= 1
|
|
CATEGORIES= emulators
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
|
|
DIST_SUBDIR= dynagui
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= GUI frontend to the dynamips router simulator
|
|
|
|
BUILD_DEPENDS= dynagen:${PORTSDIR}/emulators/dynagen
|
|
|
|
USE_PYTHON= yes
|
|
USE_PYDISTUTILS= yes
|
|
IMGDIR= ${STAGEDIR}${PREFIX}/share/${PORTNAME}/img
|
|
|
|
post-install:
|
|
@${MKDIR} ${IMGDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/img/* ${IMGDIR}
|
|
${CHMOD} 755 ${STAGEDIR}${PYTHON_SITELIBDIR}/dynagui.py
|
|
${LN} -sf ${PYTHON_SITELIBDIR}/dynagui.py ${STAGEDIR}${PREFIX}/bin/dynagui.py
|
|
|
|
.include <bsd.port.mk>
|