openbsd-ports/security/shash/Makefile
espie 944fbc0454 Fix bogus dependency.
I shouldn't have to do this. Jakob, your quality control is lacking...
2000-10-22 12:45:36 +00:00

32 lines
682 B
Makefile

# $OpenBSD: Makefile,v 1.2 2000/10/22 12:45:36 espie Exp $
DISTNAME= shash-0.2.3
CATEGORIES= security
NEED_VERSION= 1.338
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= http://mcrypt.hellug.gr/shash/
CONFIGURE_STYLE= gnu
CONFIGURE_ENV+= CFLAGS='-I${PREFIX}/include -L${PREFIX}/lib'
FLAVORS= static
FLAVOR?=
.if ${FLAVOR:L:Mstatic}
BUILD_DEPENDS+= ${PREFIX}/lib/libmhash.a::security/mhash
CONFIGURE_ARGS+= --enable-static-link
.else
LIB_DEPENDS+= mhash.2::security/mhash
.endif
.include <bsd.port.mk>