aboutsummaryrefslogtreecommitdiff
path: root/astro/foxtrotgps/Makefile
blob: 7c7e96a4c9c1fc21b113472d3ffe5cca185fd6ae (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
34
35
36
37
38
39
40
# New ports collection makefile for:	foxtrotgps
# Date created:				15 January 2011
# Whom:						crwhipp@gmail.com
#
# $FreeBSD$
#

PORTNAME=	foxtrotgps
PORTVERSION=	1.1.0
PORTREVISION=	1
CATEGORIES=	astro geography
MASTER_SITES=	http://www.foxtrotgps.org/releases/

MAINTAINER=	crwhipp@gmail.com
COMMENT=	A lightweight opensource gps moving map application

LIB_DEPENDS=	curl.6:${PORTSDIR}/ftp/curl \
		exif.12:${PORTSDIR}/graphics/libexif \
		soup-2.4.1:${PORTSDIR}/devel/libsoup \
		gps.20:${PORTSDIR}/astro/gpsd

USE_AUTOTOOLS=	automake aclocal libtool autoconf
ACLOCAL_ARGS=	--force
GNU_CONFIGURE=	yes
USE_GMAKE=	yes
USE_GETTEXT=	yes

USE_GNOME=	gtk20 gconf2 libxml2 intltool pkgconfig libglade2
USE_SQLITE=	3
INSTALLS_ICONS=	yes

GCONF_SCHEMAS= apps_foxtrotgps.schemas

MAN1=	foxtrotgps.1 convert2gpx.1 convert2osm.1

post-patch:
	@${REINPLACE_CMD} -e 's|/usr/bin/perl|${PERL}|' ${WRKSRC}/contrib/convert2gpx ${WRKSRC}/contrib/convert2osm
	@${REINPLACE_CMD} -e 's|/usr/bin/python|${LOCALBASE}/bin/python|' ${WRKSRC}/contrib/georss2foxtrotgps-poi

.include <bsd.port.mk>