2015-08-23 09:12:09 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= geoip
|
|
|
|
PORTVERSION= 0.0.0.20131016
|
|
|
|
CATEGORIES= net
|
|
|
|
MASTER_SITES= GH GHC
|
|
|
|
PKGNAMEPREFIX= go-
|
|
|
|
|
|
|
|
MAINTAINER= kuriyama@FreeBSD.org
|
|
|
|
COMMENT= Go library to wrap the libgeoip C library
|
|
|
|
|
|
|
|
LICENSE= MIT
|
|
|
|
|
2016-04-01 16:16:16 +02:00
|
|
|
LIB_DEPENDS= libGeoIP.so:net/GeoIP
|
2015-08-23 09:12:09 +02:00
|
|
|
|
2016-04-22 14:40:04 +02:00
|
|
|
USES= compiler go
|
2015-08-23 09:12:09 +02:00
|
|
|
USE_GITHUB= yes
|
|
|
|
GH_ACCOUNT= abh
|
|
|
|
GH_TAGNAME= da13074
|
|
|
|
|
2016-01-03 12:32:42 +01:00
|
|
|
GO_PKGNAME= github.com/${GH_ACCOUNT}/${PORTNAME}
|
2015-08-23 09:12:09 +02:00
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
2016-04-22 14:40:04 +02:00
|
|
|
|
2015-08-23 09:12:09 +02:00
|
|
|
.if ${COMPILER_TYPE} == clang && ${CC} == cc
|
|
|
|
CC= clang
|
|
|
|
.endif
|
2016-04-22 14:40:04 +02:00
|
|
|
|
2015-08-23 09:12:09 +02:00
|
|
|
.include <bsd.port.post.mk>
|