# Created by: Thomas Dreibholz <dreibh@iem.uni-due.de>
# $FreeBSD: tags/RELEASE_11_1_0/net/subnetcalc/Makefile 427596 2016-12-03 08:11:52Z jhale $

PORTNAME=	subnetcalc
PORTVERSION=	2.4.5
CATEGORIES=	net
MASTER_SITES=	http://www.iem.uni-due.de/~dreibh/subnetcalc/download/ \
		http://www.uni-due.de/~be0001/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>
