svn commit: r399565 - head/security/pecl-gnupg

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Sat Oct 17 18:08:24 UTC 2015


Author: sunpoet
Date: Sat Oct 17 18:08:22 2015
New Revision: 399565
URL: https://svnweb.freebsd.org/changeset/ports/399565

Log:
  - Add LICENSE_FILE
  - Use USES=localbase

Modified:
  head/security/pecl-gnupg/Makefile

Modified: head/security/pecl-gnupg/Makefile
==============================================================================
--- head/security/pecl-gnupg/Makefile	Sat Oct 17 18:08:17 2015	(r399564)
+++ head/security/pecl-gnupg/Makefile	Sat Oct 17 18:08:22 2015	(r399565)
@@ -13,15 +13,14 @@ MAINTAINER=	sunpoet at 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


More information about the svn-ports-all mailing list