1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-30 10:38:37 +00:00
freebsd-ports/astro/viking/Makefile
Sunpoet Po-Chuan Hsieh fa139bcbb2 - Update to 1.0.1
PR:		ports/152858
Submitted by:	Gleb Smirnoff <glebius@cell.glebius.int.ru>
2010-12-06 15:42:20 +00:00

48 lines
1.0 KiB
Makefile

# New ports collection makefile for: viking
# Date created: 29 April 2008
# Whom: David Le Brun <david@trucs.org>
#
# $FreeBSD$
#
PORTNAME= viking
PORTVERSION= 1.0.1
CATEGORIES= astro
MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= Program to manage GPS data (tracks, waypoints, etc)
LIB_DEPENDS= curl.6:${PORTSDIR}/ftp/curl \
expat.6:${PORTSDIR}/textproc/expat2
RUN_DEPENDS= gpsbabel:${PORTSDIR}/astro/gpsbabel
USE_PERL5_RUN= yes
USE_GMAKE= yes
USE_GNOME= gtk20 libglade2 gnomedocutils
INSTALLS_ICONS= yes
INSTALLS_OMF= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CPPFLAGS}" \
LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
OPTIONS= GPSD "Enable realtime GPS tracking" off
.include <bsd.port.pre.mk>
.if defined(WITH_GPSD)
LIB_DEPENDS+= gps.19:${PORTSDIR}/astro/gpsd
.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
.include <bsd.port.post.mk>