blob: 760393e61e25b17ddb529edb1c593e44727a3b8c (
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
# New ports collection makefile for: viking
# Date created: 29 April 2008
# Whom: David Le Brun <david@trucs.org>
#
# $FreeBSD$
#
PORTNAME= viking
PORTVERSION= 1.3
PORTREVISION= 1
CATEGORIES= astro
MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= Program to manage GPS data (tracks, waypoints, etc)
LICENSE= GPLv2 # (or later)
LIB_DEPENDS= curl.6:${PORTSDIR}/ftp/curl \
expat.6:${PORTSDIR}/textproc/expat2
RUN_DEPENDS= gpsbabel:${PORTSDIR}/astro/gpsbabel
OPTIONS= GEOTAG "Enable Geotag support" on \
GPSD "Enable realtime GPS tracking" off
USE_GNOME= gnomedocutils gtk20
USE_PERL5_RUN= yes
USE_GETTEXT= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
INSTALLS_ICONS= yes
INSTALLS_OMF= yes
MAKE_JOBS_SAFE= yes
CPPFLAGS+= -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
.include <bsd.port.options.mk>
.if defined(WITH_GEOTAG)
LIB_DEPENDS+= exif.12:${PORTSDIR}/graphics/libexif
.else
CONFIGURE_ARGS+= --disable-geotag
.endif
.if defined(WITH_GPSD)
LIB_DEPENDS+= gps.20:${PORTSDIR}/astro/gpsd
.else
CONFIGURE_ARGS+= --disable-realtime-gps-tracking
.endif
post-patch:
@${REINPLACE_CMD} -e '/^AM_CFLAGS/s| -g | |' ${WRKSRC}/src/Makefile.in
.include <bsd.port.mk>
|