# New ports collection makefile for:	libticables
# Date created:		27 August 2003
# Whom:			Tijl Coosemans <tijl@ulyssis.org>
#
# $FreeBSD: ports/comms/libticables/Makefile,v 1.22 2009/08/22 00:15:11 amdmi3 Exp $
#

PORTNAME=	libticables
PORTVERSION=	3.9.7
PORTREVISION=	2
CATEGORIES=	comms
MASTER_SITES=		SF/tilp/OldFiles

MAINTAINER=	tijl@ulyssis.org
COMMENT=	TI calculator link cables library

CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"
USE_GETTEXT=	yes
USE_GNOME=	gnomehack pkgconfig
USE_AUTOTOOLS=	libtool:22
USE_GMAKE=	yes
USE_LDCONFIG=	yes

.include <bsd.port.pre.mk>

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

.include <bsd.port.post.mk>
