freebsd-ports/astro/roadnav/Makefile
Dmitry Marakasov 6f6fbe4bdf - Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead

PR:		157936
Submitted by:	myself
Exp-runs by:	pav
Approved by:	pav
2011-09-23 22:26:39 +00:00

43 lines
945 B
Makefile

# ex:ts=8
# Ports collection makefile for: roadnav
# Date created: 28 July 2008
# Whom: stevef
#
# $FreeBSD$
#
PORTNAME= roadnav
PORTVERSION= 0.19
PORTREVISION= 3
CATEGORIES= astro geography
MASTER_SITES= SF/${PORTNAME}/Roadnav/${PORTVERSION}
MAINTAINER= bahamasfranks@gmail.com
COMMENT= A 3D GPS Mapping program
BUILD_DEPENDS= ${LOCALBASE}/lib/libroadnav.a:${PORTSDIR}/astro/libroadnav
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= *
pre-install:
${MKDIR} ${PREFIX}/share/applications
post-patch:
@${REINPLACE_CMD} -e 's|/usr/share|${PREFIX}/share|g' \
${WRKSRC}/Makefile.in ${WRKSRC}/src/Makefile.in
.if defined(NOPORTDOCS)
@${REINPLACE_CMD} -e '/^install-data-am:/ s|install-roadnavdocDATA||' \
${WRKSRC}/Makefile.in
.endif
.include <bsd.port.mk>