Makefile 610 B

123456789101112131415161718192021222324252627282930
  1. # $OpenBSD: Makefile,v 1.4 2017/01/13 14:08:52 phessler Exp $
  2. COMMENT= BGP route injector (supporting flow routes, etc)
  3. MODPY_EGG_VERSION= 3.4.17
  4. GH_ACCOUNT= exa-networks
  5. GH_PROJECT= exabgp
  6. GH_TAGNAME= ${MODPY_EGG_VERSION}
  7. DISTNAME= exabgp-${MODPY_EGG_VERSION}
  8. CATEGORIES= net
  9. HOMEPAGE= https://github.com/exa-networks/exabgp
  10. # BSD
  11. PERMIT_PACKAGE_CDROM= Yes
  12. MODULES= lang/python
  13. MODPY_SETUPTOOLS= Yes
  14. pre-configure:
  15. ${SUBST_CMD} -m 555 -c ${FILESDIR}/exabgp ${WRKSRC}/sbin/exabgp
  16. post-install:
  17. .for i in 1 5
  18. ${INSTALL_MAN} ${WRKSRC}/doc/man/*.$i ${PREFIX}/man/man$i/
  19. .endfor
  20. .include <bsd.port.mk>