Makefile 641 B

1234567891011121314151617181920212223242526272829303132
  1. # $OpenBSD: Makefile,v 1.28 2016/10/19 14:30:37 jca Exp $
  2. COMMENT= self-scaling network benchmark
  3. DISTNAME= NetPIPE-3.7.2
  4. PKGNAME= netpipe-3.7.2
  5. CATEGORIES= benchmarks net
  6. HOMEPAGE= http://bitspjoule.org/netpipe/
  7. # GPLv2
  8. PERMIT_PACKAGE_CDROM= Yes
  9. WANTLIB= c
  10. MASTER_SITES= ${HOMEPAGE}/code/
  11. MAKE_FLAGS= CC="${CC}" CFLAGS="${CFLAGS}"
  12. NO_TEST= Yes
  13. MAKE_FILE= makefile
  14. ALL_TARGET= tcp tcp6
  15. do-install:
  16. ${INSTALL_PROGRAM} ${WRKBUILD}/NPtcp ${PREFIX}/bin
  17. cd ${PREFIX}/bin && ln -sf NPtcp netpipe
  18. ${INSTALL_PROGRAM} ${WRKBUILD}/NPtcp6 ${PREFIX}/bin
  19. ${INSTALL_MAN} ${WRKBUILD}/dox/netpipe.1 ${PREFIX}/man/man1
  20. .include <bsd.port.mk>