aboutsummaryrefslogtreecommitdiffstats
path: root/astro/libroadnav/Makefile
blob: 9fce7c613d935166eef5777c54fa61017b1bb548 (plain) (blame)
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
# Created by: Steve Franks <stevefranks@ieee.org>
# $FreeBSD$

PORTNAME=   libroadnav
PORTVERSION=    0.19
PORTREVISION=   4
CATEGORIES= astro geography
MASTER_SITES=   SF/roadnav/LibRoadnav/${PORTVERSION}

MAINTAINER= ports@FreeBSD.org
COMMENT=    Helper library for Roadnav (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}
CPPFLAGS+=  -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib

PORTDOCS=   *

.include <bsd.port.pre.mk>

post-patch:
.if ! ${PORT_OPTIONS:MDOCS}
    @${REINPLACE_CMD} -e \
        '/^install-data-am:/s|install-libroadnavdocDATA||' \
            ${WRKSRC}/Makefile.in
.endif

.include <bsd.port.post.mk>