# Ports collection makefile for:  pear-Crypt_Blowfish
# Date created:			  27 April 2005
# Whom:				  Antonio Carlos Venancio Junior (<antonio@inf.ufsc.br>)
#
# $FreeBSD: ports/security/pear-Crypt_Blowfish/Makefile,v 1.4 2006/09/23 00:23:32 linimon Exp $
#

PORTNAME=	Crypt_Blowfish
PORTVERSION=	1.0.1
CATEGORIES=	security www pear

MAINTAINER=	ports@FreeBSD.org
COMMENT=	PEAR class for blowfish encryption

BUILD_DEPENDS=	${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear
RUN_DEPENDS=	${BUILD_DEPENDS}

CATEGORY=	Crypt
FILES=		Blowfish.php Blowfish/DefaultKey.php
TESTS=		blowfish.phpt vectors.txt

post-patch:
.for file in ${FILES}
	@${REINPLACE_CMD} -e "s|@package_version@|${PORTVERSION}|" ${WRKSRC}/${file}
.endfor

.include <bsd.port.pre.mk>
.include "${PORTSDIR}/devel/pear/bsd.pear.mk"
.include <bsd.port.post.mk>
