openbsd-ports/security/shash/Makefile
2007-09-15 23:29:57 +00:00

34 lines
719 B
Makefile

# $OpenBSD: Makefile,v 1.12 2007/09/15 23:30:01 merdely Exp $
COMMENT= generates or checks digests or mac
DISTNAME= shash-0.2.6
CATEGORIES= security
HOMEPAGE= http://mcrypt.hellug.gr/shash/
MAINTAINER= Jakob Schlyter <jakob@openbsd.org>
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= 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:L:Mstatic}
BUILD_DEPENDS+= ::security/mhash
CONFIGURE_ARGS+= --enable-static-link
.else
LIB_DEPENDS+= mhash.>=2::security/mhash
WANTLIB= c pthread
.endif
.include <bsd.port.mk>