# Ports collection makefile for: pear-Crypt_Blowfish # Date created: 27 April 2005 # Whom: Antonio Carlos Venancio Junior () # # $FreeBSD$ # PORTNAME= Crypt_Blowfish PORTVERSION= 1.1.0.r2 CATEGORIES= security www pear DISTNAME= ${PORTNAME}-${PORTVERSION:S/.r/RC/} MAINTAINER= tabthorpe@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/CBC.php \ Blowfish/DefaultKey.php \ Blowfish/ECB.php \ Blowfish/MCrypt.php \ Blowfish/PHP.php TESTS= blowfish.phpt \ blowfish_cbc.phpt \ vectors.txt \ vectors_cbc.txt .if defined(WITH_PHP_MCRYPT) USE_PHP=mcrypt .endif pre-fetch: @${ECHO_CMD} "" @${ECHO_CMD} "You may set envirtonment variable WITH_PHP_MCRYPT to include" @${ECHO_CMD} "additional MCrypt PHP support" @${ECHO_CMD} "" post-patch: .for file in ${FILES} @${REINPLACE_CMD} -e "s|@package_version@|${PORTVERSION}|" ${WRKSRC}/${file} .endfor .include .include "${PORTSDIR}/devel/pear/bsd.pear.mk" .include