2017-11-01 17:47:22 +00:00
|
|
|
# $OpenBSD: Makefile,v 1.21 2017/11/01 17:47:22 naddy Exp $
|
2000-10-04 21:16:18 +00:00
|
|
|
|
2007-09-15 23:29:57 +00:00
|
|
|
COMMENT= generates or checks digests or mac
|
2000-10-04 21:16:18 +00:00
|
|
|
|
2004-06-19 20:38:35 +00:00
|
|
|
DISTNAME= shash-0.2.6
|
2017-11-01 17:47:22 +00:00
|
|
|
REVISION= 2
|
2001-03-24 19:55:27 +00:00
|
|
|
CATEGORIES= security
|
2000-10-04 21:16:18 +00:00
|
|
|
|
2001-03-24 19:55:27 +00:00
|
|
|
HOMEPAGE= http://mcrypt.hellug.gr/shash/
|
|
|
|
|
|
|
|
MAINTAINER= Jakob Schlyter <jakob@openbsd.org>
|
2000-10-04 21:16:18 +00:00
|
|
|
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
|
2001-03-25 22:34:44 +00:00
|
|
|
MASTER_SITES= ftp://mcrypt.hellug.gr/pub/mcrypt/shash/
|
2000-10-04 21:16:18 +00:00
|
|
|
|
|
|
|
CONFIGURE_STYLE= gnu
|
2001-06-20 20:50:46 +00:00
|
|
|
CONFIGURE_ENV+= CFLAGS='-I${LOCALBASE}/include -L${LOCALBASE}/lib'
|
2000-10-04 21:16:18 +00:00
|
|
|
|
|
|
|
FLAVORS= static
|
|
|
|
FLAVOR?=
|
|
|
|
|
2013-02-09 14:49:50 +00:00
|
|
|
.if ${FLAVOR:Mstatic}
|
2010-11-20 17:22:40 +00:00
|
|
|
BUILD_DEPENDS+= security/mhash
|
2000-10-04 21:16:18 +00:00
|
|
|
CONFIGURE_ARGS+= --enable-static-link
|
|
|
|
.else
|
2010-11-20 17:22:40 +00:00
|
|
|
LIB_DEPENDS+= security/mhash
|
|
|
|
WANTLIB= c pthread mhash>=2
|
2000-10-04 21:16:18 +00:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|