aboutsummaryrefslogtreecommitdiffstats
path: root/security/pecl-gnupg/Makefile
blob: 8418623cbc6dac8dbeba449ebd05cb27530ad24c (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
# Created by: mnag@FreeBSD.org
# $FreeBSD$

PORTNAME=   gnupg
PORTVERSION=    1.3.6
CATEGORIES= security
MASTER_SITES=   http://pecl.php.net/get/
PKGNAMEPREFIX=  pecl-
DIST_SUBDIR=    PECL

MAINTAINER= sunpoet@FreeBSD.org
COMMENT=    PECL wrapper around the gpgme library

LICENSE=    BSD2CLAUSE
LICENSE_FILE=   ${WRKSRC}/LICENSE

LIB_DEPENDS=    libgpgme.so:${PORTSDIR}/security/gpgme

CONFIGURE_ARGS= --with-gnupg=${LOCALBASE}/include
IGNORE_WITH_PHP=70
USE_PHP=    yes
USE_PHPEXT= yes
USES=       localbase tar:tgz

post-patch:
    @${REINPLACE_CMD} -e 's|$$GNUPG_DIR/lib|${LOCALBASE}/lib|; s| -ldl||g' ${WRKSRC}/config.m4

.include <bsd.port.mk>