- Pet portlint

- Add LICENSE_FILE
- Switch to USES=localbase
- Remove bogus (in presence of USE_GITHUB) USES=tar*

Approved by:	portmgr blanket
This commit is contained in:
Dmitry Marakasov 2016-12-01 10:40:20 +00:00
parent 62a828bc60
commit d9e5da73e1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=427488

View file

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