Makefile 881 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. # $OpenBSD: Makefile,v 1.12 2017/02/25 21:52:25 sthen Exp $
  2. COMMENT= cisco 3600/7200 platform emulator
  3. USE_WXNEEDED= Yes
  4. DISTNAME= dynamips-0.2.8-RC2
  5. PKGNAME= ${DISTNAME:S/-RC/rc/}
  6. REVISION= 5
  7. CATEGORIES= emulators
  8. HOMEPAGE= http://www.gns3.net/dynamips/
  9. MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gns-3/}
  10. MAINTAINER= Stuart Henderson <sthen@openbsd.org>
  11. # GPL
  12. PERMIT_PACKAGE_CDROM= Yes
  13. LIB_DEPENDS= devel/libelf
  14. WANTLIB= c elf pcap pthread
  15. MAKE_ENV= DYNAMIPS_ARCH=${DYNAMIPS_ARCH}
  16. USE_GMAKE= Yes
  17. NO_TEST= Yes
  18. .if ${MACHINE_ARCH} == "i386"
  19. DYNAMIPS_ARCH= "x86"
  20. .elif ${MACHINE_ARCH} == "amd64"
  21. DYNAMIPS_ARCH= "amd64"
  22. .else
  23. DYNAMIPS_ARCH= "nojit"
  24. .endif
  25. post-install:
  26. ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/dynamips
  27. .for i in ChangeLog README README.hypervisor TODO
  28. ${INSTALL_DATA} ${WRKSRC}/$i ${PREFIX}/share/doc/dynamips
  29. .endfor
  30. .include <bsd.port.mk>