# Created by: Thomas Dreibholz <dreibh@iem.uni-due.de>
# $FreeBSD: tags/RELEASE_11_0_0/net/subnetcalc/Makefile 412348 2016-04-01 14:16:16Z mat $

PORTNAME=	subnetcalc
PORTVERSION=	2.2.0
PORTREVISION=	1
CATEGORIES=	net
MASTER_SITES=	http://www.iem.uni-due.de/~dreibh/subnetcalc/download/ \
		http://www.exp-math.uni-essen.de/~dreibh/subnetcalc/download/

MAINTAINER=	dreibh@iem.uni-due.de
COMMENT=	IPv4/IPv6 Subnet Calculator

LICENSE=	GPLv3

LIB_DEPENDS=	libGeoIP.so:net/GeoIP

GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	"--with-geoip=${LOCALBASE}"
USES=	gmake

PLIST_FILES=	bin/subnetcalc \
		man/man1/subnetcalc.1.gz

.include <bsd.port.mk>
