Tweak security/pecl-gnupg version 1.3.3_1
[dports.git] / security / pecl-gnupg / Makefile
1 # Created by: mnag@FreeBSD.org
2 # $FreeBSD$
3
4 PORTNAME=       gnupg
5 PORTVERSION=    1.3.3
6 PORTREVISION=   1
7 CATEGORIES=     security
8 MASTER_SITES=   http://pecl.php.net/get/
9 PKGNAMEPREFIX=  pecl-
10 DIST_SUBDIR=    PECL
11
12 MAINTAINER=     sunpoet@FreeBSD.org
13 COMMENT=        PECL wrapper around the gpgme library
14
15 LICENSE=        BSD2CLAUSE
16 LICENSE_FILE=   ${WRKSRC}/LICENSE
17
18 LIB_DEPENDS=    libgpgme.so:${PORTSDIR}/security/gpgme
19
20 CONFIGURE_ARGS= --with-gnupg=${LOCALBASE}/include/gpgme
21 USE_PHP=        yes
22 USE_PHPEXT=     yes
23 USES=           localbase tar:tgz
24
25 post-patch:
26         @${REINPLACE_CMD} -e 's|$$GNUPG_DIR/lib|${LOCALBASE}/lib|; s| -ldl||g' ${WRKSRC}/config.m4
27
28 .include <bsd.port.mk>