2006-08-03 19:28:11 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.11 2006/08/03 23:28:12 espie Exp $
|
2000-10-04 17:16:18 -04:00
|
|
|
|
2003-04-10 14:08:56 -04:00
|
|
|
COMMENT= "generates or checks digests or mac"
|
2000-10-04 17:16:18 -04:00
|
|
|
|
2004-06-19 16:38:35 -04:00
|
|
|
DISTNAME= shash-0.2.6
|
2001-03-24 14:55:27 -05:00
|
|
|
CATEGORIES= security
|
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-11-10 10:00:47 -05:00
|
|
|
BUILD_DEPENDS+= ::security/mhash
|
2000-10-04 17:16:18 -04:00
|
|
|
CONFIGURE_ARGS+= --enable-static-link
|
|
|
|
.else
|
2006-08-03 19:28:11 -04:00
|
|
|
LIB_DEPENDS+= mhash.>=2::security/mhash
|
2004-12-27 08:28:33 -05:00
|
|
|
WANTLIB= c pthread
|
2000-10-04 17:16:18 -04:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|