1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00
freebsd-ports/security/pear-Crypt_Blowfish/Makefile
2009-12-01 21:46:50 +00:00

49 lines
1.1 KiB
Makefile

# Ports collection makefile for: pear-Crypt_Blowfish
# Date created: 27 April 2005
# Whom: Antonio Carlos Venancio Junior (<antonio@inf.ufsc.br>)
#
# $FreeBSD$
#
PORTNAME= Crypt_Blowfish
PORTVERSION= 1.1.0.r2
CATEGORIES= security www pear
DISTNAME= ${PORTNAME}-${PORTVERSION:S/.r/RC/}
MAINTAINER= miwi@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 <bsd.port.pre.mk>
.include "${PORTSDIR}/devel/pear/bsd.pear.mk"
.include <bsd.port.post.mk>