aboutsummaryrefslogtreecommitdiffstats
path: root/astro/gpsbabel/Makefile
blob: bb9b41bc1ca11723833f194c793a4a64dce05787 (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
# New ports collection makefile for:    gpsbabel
# Date created:     Apr 2006
# Whom:         Laurent Courty
#
# $FreeBSD$

PORTNAME=   gpsbabel
PORTVERSION=    1.3.6
PORTREVISION=   1
CATEGORIES= astro geography
MASTER_SITES=   http://www.lexort.com/pkgsrc/distfiles/

MAINTAINER= wenheping@gmail.com
COMMENT=    A gps file translating tool

LIB_DEPENDS=    expat:${PORTSDIR}/textproc/expat2

USE_AUTOTOOLS=  autoconf:268
GNU_CONFIGURE=  yes
CONFIGURE_ARGS+=--with-expathdr=${LOCALBASE}/include \
        --with-libexpat=${LOCALBASE}/lib

PLIST_FILES=    bin/gpsbabel

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 800069
LIB_DEPENDS+=   usb:${PORTSDIR}/devel/libusb
.else
EXTRA_PATCHES=  ${FILESDIR}/extra-patch-libusb
.endif

.include <bsd.port.post.mk>