freebsd-ports/net/go-geoip/Makefile
Jun Kuriyama 605c6e20c1 This package wraps the libgeoip C library for access from Go
(golang).

You can download the free GeoLite Country database or you can
subscribe to updates.

WWW: https://github.com/abh/geoip
2015-08-23 07:12:09 +00:00

29 lines
570 B
Makefile

# $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
LIB_DEPENDS= libGeoIP.so:${PORTSDIR}/net/GeoIP
USES= compiler
USE_GITHUB= yes
GH_ACCOUNT= abh
GH_PROJECT= ${PORTNAME}
GH_TAGNAME= da13074
GO_PKGNAME= github.com/${GH_ACCOUNT}/${GH_PROJECT}
.include <bsd.port.pre.mk>
.include "${PORTSDIR}/lang/go/files/bsd.go.mk"
.if ${COMPILER_TYPE} == clang && ${CC} == cc
CC= clang
.endif
.include <bsd.port.post.mk>