29 lines
546 B
Makefile
29 lines
546 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_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>
|