2003-04-10 14:08:56 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.8 2003/04/10 18:08:57 jsyn 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
|
|
|
|
2001-03-25 17:34:44 -05:00
|
|
|
DISTNAME= shash-0.2.4
|
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
|
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>
|