Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Dec 2016 10:40:21 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r427488 - head/devel/php-maxminddb
Message-ID:  <201612011040.uB1AeL1N068200@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Thu Dec  1 10:40:20 2016
New Revision: 427488
URL: https://svnweb.freebsd.org/changeset/ports/427488

Log:
  - Pet portlint
  - Add LICENSE_FILE
  - Switch to USES=localbase
  - Remove bogus (in presence of USE_GITHUB) USES=tar*
  
  Approved by:	portmgr blanket

Modified:
  head/devel/php-maxminddb/Makefile

Modified: head/devel/php-maxminddb/Makefile
==============================================================================
--- head/devel/php-maxminddb/Makefile	Thu Dec  1 10:38:25 2016	(r427487)
+++ head/devel/php-maxminddb/Makefile	Thu Dec  1 10:40:20 2016	(r427488)
@@ -3,8 +3,8 @@
 
 PORTNAME=	maxminddb
 PORTVERSION=	1.1.0
-PORTREVISION=	1
 DISTVERSIONPREFIX=	v
+PORTREVISION=	1
 CATEGORIES=	devel net
 PKGNAMEPREFIX=	php-
 
@@ -12,18 +12,16 @@ MAINTAINER=	danger@FreeBSD.org
 COMMENT=	MaxMind DB Reader extension for PHP
 
 LICENSE=	APACHE20
+LICENSE_FILE=	${WRKSRC}/../LICENSE
 
 LIB_DEPENDS=	libmaxminddb.so:net/libmaxminddb
 
-CPPFLAGS+=	-I${LOCALBASE}/include
-LDFLAGS+=	-L${LOCALBASE}/lib
-
 USE_GITHUB=	yes
 GH_ACCOUNT=	maxmind
 GH_PROJECT=	MaxMind-DB-Reader-php
 
 WRKSRC_SUBDIR=	ext
 
-USES=		php:ext tar:tgz
+USES=		php:ext localbase:ldflags
 
 .include <bsd.port.mk>



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