# ex:ts=8
# Ports collection makefile for:	hashish
# Date Created:			May 7, 2002
# Whom:				ijliao
#
# $FreeBSD: ports/security/hashish/Makefile,v 1.15 2003/11/18 23:34:51 fjoe Exp $
#

PORTNAME=	hashish
PORTVERSION=	1.1a
CATEGORIES=	security
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	${PORTNAME}
DISTNAME=	Hashish-${PORTVERSION}

MAINTAINER=	jllovela@ncsu.edu
COMMENT=	GUI file and string hashing utility

BUILD_DEPENDS=	${LOCALBASE}/lib/libcryptopp.a:${PORTSDIR}/security/cryptopp

.if defined(WITH_GTK1)
LIB_DEPENDS=	wx_gtk-2.4.0:${PORTSDIR}/x11-toolkits/wxgtk
.else
LIB_DEPENDS=	wx_gtk2-2.4.0:${PORTSDIR}/x11-toolkits/wxgtk2
.endif

GNU_CONFIGURE=	yes
CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
		LDFLAGS="-L${LOCALBASE}/lib"
.if !defined(WITH_GTK1)
CONFIGURE_ENV+=	WX_CONFIG="${X11BASE}/bin/wxgtk2-2.4-config"
.endif
USE_GMAKE=	yes

.include <bsd.port.mk>
