freebsd-ports/emulators/vpcs/Makefile
Muhammad Moinur Rahman 7ca70c1517 [NEW] emulators/vpsc: Virtual PC Simulator
The VPCS can simulate up to 9 PCs. You can ping/traceroute them, or
ping/traceroute the other hosts/routers from the virtual PCs when you study
the Cisco routers in the Dynamips. VPCS is not the traditional PC, it is
just a program running on the Linux or FreeBSD, and only few network
commands can be used in it. But VPCS can give you a big hand when you study
the Cisco devices in the Dynamips. VPCS can replace the routers or VMware
boxes which are used as PCs in the Dynamips network.  It can save your
CPU/Memory. It is very small.

VPCS can be run in udp or ether mode. In the udp mode, VPCS sends or
receives the packets via udp. In the ether mode, via /dev/tap.

WWW: https://wiki.freecode.com.cn/doku.php?id=wiki:vpcs
2015-11-18 20:37:39 +00:00

31 lines
769 B
Makefile

# Created by: Muhammad Moinur Rahman <bofh@FreeBSD.org>
# $FreeBSD$
PORTNAME= vpcs
PORTVERSION= 0.8
CATEGORIES= emulators
MASTER_SITES= SF/${PORTNAME}/${PORTVERSION}/
DISTNAME= ${PORTNAME}-${PORTVERSION}-src
MAINTAINER= bofh@FreeBSD.org
COMMENT= Virtual PC Simulator
LICENSE= BSD2CLAUSE
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
ONLY_FOR_ARCHS= amd64 i386
ONLY_FOR_ARCHS_REASON= non-portable
USES= tar:tbz
PLIST_FILES= bin/vpcs man/man1/vpcs.1.gz
post-patch:
@${REINPLACE_CMD} -e 's|i386|${ARCH}|g' ${WRKSRC}/src/Makefile.fbsd
do-build:
cd ${WRKSRC}/src && ${BSDMAKE} -f Makefile.fbsd
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/vpcs ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/man/vpcs.1 ${STAGEDIR}${MANPREFIX}/man/man1
.include <bsd.port.mk>