2001-06-20 16:50:46 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.5 2001/06/20 20:50:46 jakob Exp $
|
2000-10-04 17:16:18 -04:00
|
|
|
|
2001-03-24 14:55:27 -05:00
|
|
|
COMMENT= generates or checks digests or mac
|
2000-10-04 17:16:18 -04:00
|
|
|
|
2001-03-25 17:34:44 -05:00
|
|
|
DISTNAME= shash-0.2.4
|
2001-03-24 14:55:27 -05:00
|
|
|
CATEGORIES= security
|
|
|
|
NEED_VERSION= 1.363
|
2000-10-04 17:16:18 -04:00
|
|
|
|
2001-03-24 14:55:27 -05:00
|
|
|
HOMEPAGE= http://mcrypt.hellug.gr/shash/
|
|
|
|
|
|
|
|
MAINTAINER= Jakob Schlyter <jakob@openbsd.org>
|
2000-10-04 17:16:18 -04:00
|
|
|
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
2001-03-25 17:34:44 -05:00
|
|
|
MASTER_SITES= ftp://mcrypt.hellug.gr/pub/mcrypt/shash/
|
2000-10-04 17:16:18 -04:00
|
|
|
|
|
|
|
CONFIGURE_STYLE= gnu
|
2001-06-20 16:50:46 -04:00
|
|
|
CONFIGURE_ENV+= CFLAGS='-I${LOCALBASE}/include -L${LOCALBASE}/lib'
|
2000-10-04 17:16:18 -04:00
|
|
|
|
|
|
|
FLAVORS= static
|
|
|
|
FLAVOR?=
|
|
|
|
|
|
|
|
.if ${FLAVOR:L:Mstatic}
|
2001-06-20 16:50:46 -04:00
|
|
|
BUILD_DEPENDS+= ${LOCALBASE}/lib/libmhash.a::security/mhash
|
2000-10-04 17:16:18 -04:00
|
|
|
CONFIGURE_ARGS+= --enable-static-link
|
|
|
|
.else
|
2000-10-22 08:45:36 -04:00
|
|
|
LIB_DEPENDS+= mhash.2::security/mhash
|
2000-10-04 17:16:18 -04:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|