summaryrefslogtreecommitdiff
path: root/geography/garmin-utils/Makefile
blob: b32511b41f7c0d6de9036757561e9b704e9e6ecd (plain)
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
# $NetBSD: Makefile,v 1.13 2009/07/21 13:08:40 gdt Exp $
#

DISTNAME=		garmin-utils-2.5
PKGREVISION=		1
CATEGORIES=		geography
MASTER_SITES=		ftp://ftp.snafu.org/pub/

MAINTAINER=		gson@NetBSD.org
# also gdt@NetBSD.org is helping
HOMEPAGE=		http://www.snafu.org/
COMMENT=		Utilities for Garmin GPS receivers

PKG_DESTDIR_SUPPORT=	user-destdir

INSTALLATION_DIRS=	bin lib ${PKGMANDIR}/cat1 ${PKGMANDIR}/man1

USE_BSD_MAKEFILE=	yes

MAKE_JOBS_SAFE=		no

# No actual serial port will be right for any significant number of users,
# so make everyone use a symlink.
MAKE_FLAGS+=		GPS_SERIAL_PORT=/dev/gps

.include "../../mk/bsd.prefs.mk"

CPPFLAGS.Linux=		-DLINUX

.if ${OPSYS} == "Linux"
MAKE_FLAGS+=	SIO_TYPE=-DSIO_TYPE=Linux

# On Linux, libc apparently does not have strlcpy.
MAKE_FLAGS+=	NEEDS_STRLCPY=1
.endif

.include "../../mk/bsd.pkg.mk"