# Created by: trevor
# $FreeBSD: head/astro/rmap/Makefile 418829 2016-07-20 09:33:31Z dinoex $

PORTNAME=	rmap
PORTVERSION=	1.2
PORTREVISION=	13
CATEGORIES=	astro geography
MASTER_SITES=	http://rmap.sourceforge.net/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Generates images of the Earth centered at a particular location

LICENSE=	GPLv2+
LICENSE_FILE=	${WRKSRC}/COPYING

LIB_DEPENDS=	libgd.so:graphics/gd

USES=		gmake
GNU_CONFIGURE=	yes

CPPFLAGS+=	-I${LOCALBASE}/include
LDFLAGS+=	-L${LOCALBASE}/lib

PLIST_FILES=	bin/rmap man/man1/rmap.1.gz %%DATADIR%%/earth.rez \
		%%DATADIR%%/rmap.colors

.include <bsd.port.mk>
