mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
eeadd3bb8e
PR: ports/155554 Submitted by: Gleb Smirnoff <glebius@cell.glebius.int.ru>
34 lines
709 B
Makefile
34 lines
709 B
Makefile
# New ports collection makefile for: gpsbabel
|
|
# Date created: Apr 2006
|
|
# Whom: Laurent Courty
|
|
#
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= gpsbabel
|
|
PORTVERSION= 1.4.2
|
|
CATEGORIES= astro geography
|
|
MASTER_SITES= ${MASTER_SITE_GENTOO}
|
|
MASTER_SITE_SUBDIR= distfiles
|
|
|
|
MAINTAINER= wenheping@gmail.com
|
|
COMMENT= A gps file translating tool
|
|
|
|
LIB_DEPENDS= expat:${PORTSDIR}/textproc/expat2
|
|
|
|
USE_AUTOTOOLS= autoconf
|
|
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>
|