summaryrefslogtreecommitdiffstats
path: root/astro/libroadnav/Makefile
blob: 83f60cb42c6f003102f6d3221bc964303633c04d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# ex:ts=8
# Ports collection makefile for:	roadnav
# Date created:				28 July 2008
# Whom:					stevef
#
# $FreeBSD$
#

PORTNAME=	libroadnav
PORTVERSION=	0.19
PORTREVISION=	1
CATEGORIES=	astro geography
MASTER_SITES=	SF
MASTER_SITE_SUBDIR=roadnav

MAINTAINER=	bahamasfranks@gmail.com
COMMENT=	Helper library for Roadnav: A 3D GPS Mapping program

USE_WX=		2.6+
WX_COMPS=	wx contrib
USE_GMAKE=	yes

GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--with-wx-prefix=${LOCALBASE} --with-wx-config=${WX_CONFIG}
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"

PORTDOCS=	*

.if defined(NOPORTDOCS)
post-patch:
	@${REINPLACE_CMD} -e '/^install-data-am:/ s|install-libroadnavdocDATA||' \
		${WRKSRC}/Makefile.in
.endif

.include <bsd.port.mk>
OpenPOWER on IntegriCloud