Makefile 618 B

1234567891011121314151617181920212223242526272829
  1. # $OpenBSD: Makefile,v 1.6 2013/03/10 23:04:44 espie Exp $
  2. COMMENT= help benchmark random read performance
  3. DISTNAME= randread-0.2
  4. CATEGORIES= benchmarks
  5. REVISION= 0
  6. HOMEPAGE= http://randread.sourceforge.net/
  7. MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=randread/}
  8. # Public Domain
  9. PERMIT_PACKAGE_CDROM= Yes
  10. WANTLIB= c
  11. NO_TEST= Yes
  12. do-build:
  13. cd ${WRKSRC} && \
  14. ${CC} ${CFLAGS} -o randread randread.c filelist.c
  15. do-install:
  16. ${INSTALL_PROGRAM} ${WRKSRC}/randread ${PREFIX}/bin
  17. ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/randread
  18. ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/randread
  19. .include <bsd.port.mk>