Makefile 646 B

1234567891011121314151617181920212223242526272829303132
  1. # $OpenBSD: Makefile,v 1.20 2015/04/03 15:12:28 pascal Exp $
  2. COMMENT= generates or checks digests or mac
  3. DISTNAME= shash-0.2.6
  4. REVISION= 1
  5. CATEGORIES= security
  6. HOMEPAGE= http://mcrypt.hellug.gr/shash/
  7. MAINTAINER= Jakob Schlyter <jakob@openbsd.org>
  8. PERMIT_PACKAGE_CDROM= Yes
  9. MASTER_SITES= ftp://mcrypt.hellug.gr/pub/mcrypt/shash/
  10. CONFIGURE_STYLE= gnu
  11. CONFIGURE_ENV+= CFLAGS='-I${LOCALBASE}/include -L${LOCALBASE}/lib'
  12. FLAVORS= static
  13. FLAVOR?=
  14. .if ${FLAVOR:Mstatic}
  15. BUILD_DEPENDS+= security/mhash
  16. CONFIGURE_ARGS+= --enable-static-link
  17. .else
  18. LIB_DEPENDS+= security/mhash
  19. WANTLIB= c pthread mhash>=2
  20. .endif
  21. .include <bsd.port.mk>