openbsd-ports/emulators/dynamips/Makefile

45 lines
985 B
Makefile
Raw Normal View History

2010-10-23 18:01:29 -04:00
# $OpenBSD: Makefile,v 1.6 2010/10/23 22:01:30 sthen Exp $
COMMENT= cisco 3600/7200 platform emulator
DISTNAME= dynamips-0.2.8-RC2
2010-10-23 18:01:29 -04:00
PKGNAME= ${DISTNAME:S/-RC/rc/}
REVISION= 2
CATEGORIES= emulators
HOMEPAGE= http://www.ipflow.utc.fr/index.php/Cisco_7200_Simulator
MASTER_SITES= http://www.ipflow.utc.fr/dynamips/
MAINTAINER= Stuart Henderson <sthen@openbsd.org>
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
2010-10-23 18:01:29 -04:00
LIB_DEPENDS= ::devel/libelf
WANTLIB= c elf pcap pthread
MAKE_ENV= DYNAMIPS_ARCH=${DYNAMIPS_ARCH}
USE_GMAKE= Yes
2010-10-23 18:01:29 -04:00
USE_GROFF= Yes
NO_REGRESS= Yes
.if ${MACHINE_ARCH} == "i386"
DYNAMIPS_ARCH= "x86"
.elif ${MACHINE_ARCH} == "amd64"
DYNAMIPS_ARCH= "amd64"
.else
DYNAMIPS_ARCH= "nojit"
.endif
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/dynamips
.for i in ChangeLog README README.hypervisor TODO
${INSTALL_DATA} ${WRKSRC}/$i ${PREFIX}/share/doc/dynamips
.endfor
.include <bsd.port.mk>