freebsd-ports/astro/roadnav/Makefile
Beech Rintoul 3f852cc27c - Change maintainer email
PR:		ports/130570
Submitted by:	bahamasfranks@gmail.com (maintainer)
2009-01-15 06:46:35 +00:00

40 lines
909 B
Makefile

# ex:ts=8
# Ports collection makefile for: roadnav
# Date created: 28 July 2008
# Whom: stevef
#
# $FreeBSD$
#
PORTNAME= roadnav
PORTVERSION= 0.19
CATEGORIES= astro geography
MASTER_SITES= SF
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}
CONFIGURE_ENV= 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>