pkgsrc-wip/gpsdrive/options.mk
Tobias Nygren aac580de54 Assorted cleanup:
- needs msgfmt
- turn garmin support into an option
- depend on gpsd
- if garmin, conflict with gpsd
- bump PKGREVISION
2007-08-19 21:10:26 +00:00

16 lines
404 B
Makefile

# $NetBSD: options.mk,v 1.1 2007/08/19 21:10:26 tnn2 Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.gpsdrive
PKG_SUPPORTED_OPTIONS= garmin
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mgarmin)
CONFIGURE_ARGS+= --enable-garmin
CONFLICTS+= gpsd-[0-9]*
PLIST_SUBST+= GARMIN=""
.else
CONFIGURE_ARGS+= --disable-garmin
DEPENDS+= gpsd>=1.07:../../geography/gpsd
PLIST_SUBST+= GARMIN="@comment "
.endif