aboutsummaryrefslogtreecommitdiff
path: root/security/pecl-gnupg
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2015-10-17 18:08:22 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2015-10-17 18:08:22 +0000
commit5943262277f318344bf4ece6162a47b86346f8bc (patch)
treefa3aae54e32e1be552ecfc311c13539b8ba34eaf /security/pecl-gnupg
parentd7afdb2fbf3c8d129972996c842a7ade6832fe63 (diff)
downloadports-5943262277f318344bf4ece6162a47b86346f8bc.tar.gz
ports-5943262277f318344bf4ece6162a47b86346f8bc.zip
- Add LICENSE_FILE
- Use USES=localbase
Notes
Notes: svn path=/head/; revision=399565
Diffstat (limited to 'security/pecl-gnupg')
-rw-r--r--security/pecl-gnupg/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/security/pecl-gnupg/Makefile b/security/pecl-gnupg/Makefile
index e4dbc760e31d..5ec9c037e274 100644
--- a/security/pecl-gnupg/Makefile
+++ b/security/pecl-gnupg/Makefile
@@ -13,15 +13,14 @@ MAINTAINER= sunpoet@FreeBSD.org
COMMENT= PECL wrapper around the gpgme library
LICENSE= BSD2CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libgpgme.so:${PORTSDIR}/security/gpgme
-CFLAGS+= -I${LOCALBASE}/include
CONFIGURE_ARGS= --with-gnupg=${LOCALBASE}/include/gpgme
-LDFLAGS+= -L${LOCALBASE}/lib
USE_PHP= yes
USE_PHPEXT= yes
-USES= tar:tgz
+USES= localbase tar:tgz
post-patch:
@${REINPLACE_CMD} -e 's|$$GNUPG_DIR/lib|${LOCALBASE}/lib|; s| -ldl||g' ${WRKSRC}/config.m4