# Created by: trevor
# $FreeBSD: tags/RELEASE_10_3_0/astro/rmap/Makefile 383463 2015-04-06 18:47:15Z bapt $

PORTNAME=	rmap
PORTVERSION=	1.2
PORTREVISION=	12
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 # (or later)
LICENSE_FILE=	${WRKSRC}/COPYING

LIB_DEPENDS=	libgd.so:${PORTSDIR}/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>
