openbsd-ports/security/shash/Makefile
2022-03-11 19:53:16 +00:00

28 lines
530 B
Makefile

COMMENT= generates or checks digests or mac
DISTNAME= shash-0.2.6
REVISION= 3
CATEGORIES= security
HOMEPAGE= http://mcrypt.hellug.gr/shash/
PERMIT_PACKAGE= Yes
MASTER_SITES= ftp://mcrypt.hellug.gr/pub/mcrypt/shash/
CONFIGURE_STYLE= gnu
CONFIGURE_ENV+= CFLAGS='-I${LOCALBASE}/include -L${LOCALBASE}/lib'
FLAVORS= static
FLAVOR?=
.if ${FLAVOR:Mstatic}
BUILD_DEPENDS+= security/mhash
CONFIGURE_ARGS+= --enable-static-link
.else
LIB_DEPENDS+= security/mhash
WANTLIB= c pthread mhash>=2
.endif
.include <bsd.port.mk>