aboutsummaryrefslogtreecommitdiffstats
path: root/security/pear-Crypt_Blowfish/Makefile
blob: d53b81ae308116315777c45c2ee40a463291d51c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Created by: 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= ports@FreeBSD.org
COMMENT=    PEAR class for blowfish encryption

USES=   pear

OPTIONS_DEFINE= MCRYPT
MCRYPT_DESC=    Additional MCrypt PHP support

MCRYPT_USE= PHP=mcrypt

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.mk>