Changeset View
Changeset View
Standalone View
Standalone View
head/net/go-geoip/Makefile
# $FreeBSD$ | # $FreeBSD$ | ||||
PORTNAME= geoip | PORTNAME= geoip | ||||
PORTVERSION= 0.0.0.20131016 | PORTVERSION= 0.0.0.20131016 | ||||
CATEGORIES= net | CATEGORIES= net | ||||
MASTER_SITES= GH GHC | MASTER_SITES= GH GHC | ||||
PKGNAMEPREFIX= go- | PKGNAMEPREFIX= go- | ||||
MAINTAINER= kuriyama@FreeBSD.org | MAINTAINER= kuriyama@FreeBSD.org | ||||
COMMENT= Go library to wrap the libgeoip C library | COMMENT= Go library to wrap the libgeoip C library | ||||
LICENSE= MIT | LICENSE= MIT | ||||
LIB_DEPENDS= libGeoIP.so:net/GeoIP | LIB_DEPENDS= libGeoIP.so:net/GeoIP | ||||
USES= compiler | USES= compiler go | ||||
USE_GITHUB= yes | USE_GITHUB= yes | ||||
GH_ACCOUNT= abh | GH_ACCOUNT= abh | ||||
GH_TAGNAME= da13074 | GH_TAGNAME= da13074 | ||||
GO_PKGNAME= github.com/${GH_ACCOUNT}/${PORTNAME} | GO_PKGNAME= github.com/${GH_ACCOUNT}/${PORTNAME} | ||||
.include <bsd.port.pre.mk> | .include <bsd.port.pre.mk> | ||||
.include "${PORTSDIR}/lang/go/files/bsd.go.mk" | |||||
.if ${COMPILER_TYPE} == clang && ${CC} == cc | .if ${COMPILER_TYPE} == clang && ${CC} == cc | ||||
CC= clang | CC= clang | ||||
.endif | .endif | ||||
.include <bsd.port.post.mk> | .include <bsd.port.post.mk> |