2008-05-02 12:09:47 +02:00
|
|
|
# New ports collection makefile for: viking
|
|
|
|
# Date created: 29 April 2008
|
|
|
|
# Whom: David Le Brun <david@trucs.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= viking
|
2011-08-25 08:54:21 +02:00
|
|
|
PORTVERSION= 1.2.1
|
2008-05-02 12:09:47 +02:00
|
|
|
CATEGORIES= astro
|
|
|
|
MASTER_SITES= SF
|
|
|
|
|
2010-06-18 11:19:54 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2008-05-02 12:09:47 +02:00
|
|
|
COMMENT= Program to manage GPS data (tracks, waypoints, etc)
|
|
|
|
|
2010-04-03 12:44:36 +02:00
|
|
|
LIB_DEPENDS= curl.6:${PORTSDIR}/ftp/curl \
|
2008-05-02 12:09:47 +02:00
|
|
|
expat.6:${PORTSDIR}/textproc/expat2
|
|
|
|
RUN_DEPENDS= gpsbabel:${PORTSDIR}/astro/gpsbabel
|
|
|
|
|
2011-08-25 08:54:21 +02:00
|
|
|
OPTIONS= GPSD "Enable realtime GPS tracking" off
|
|
|
|
|
2011-09-24 00:26:39 +02:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include ${PTHREAD_CPPFLAGS}
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
|
2011-08-25 08:54:21 +02:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
INSTALLS_ICONS= yes
|
|
|
|
INSTALLS_OMF= yes
|
|
|
|
USE_GMAKE= yes
|
|
|
|
USE_GNOME= gnomedocutils gtk20 libglade2
|
|
|
|
USE_PERL5_RUN= yes
|
2008-05-02 12:09:47 +02:00
|
|
|
|
2011-08-25 08:54:21 +02:00
|
|
|
.include <bsd.port.options.mk>
|
2008-05-02 12:09:47 +02:00
|
|
|
|
|
|
|
.if defined(WITH_GPSD)
|
2011-03-25 21:30:55 +01:00
|
|
|
LIB_DEPENDS+= gps.20:${PORTSDIR}/astro/gpsd
|
2008-05-02 12:09:47 +02:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-realtime-gps-tracking
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if !defined(WITHOUT_NLS)
|
|
|
|
USE_GETTEXT= yes
|
|
|
|
PLIST_SUB+= NLS=""
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-nls
|
|
|
|
PLIST_SUB+= NLS="@comment "
|
|
|
|
.endif
|
|
|
|
|
2011-08-25 08:54:21 +02:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|gps_poll|gps_read|g' ${WRKSRC}/configure
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|