- Add LICENSE_FILE

- Use USES=localbase
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2015-10-17 18:08:22 +00:00
parent d7afdb2fbf
commit 5943262277
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=399565

View File

@ -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