Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Oct 2015 18:08:23 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r399565 - head/security/pecl-gnupg
Message-ID:  <201510171808.t9HI8N15029339@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201510171808.t9HI8N15029339>