2011-11-13 08:54:04 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.6 2011/11/13 13:54:04 ajacoutot Exp $
|
2009-01-07 16:35:59 -05:00
|
|
|
|
|
|
|
COMMENT = libftdi, interface to ftdi debug device
|
|
|
|
|
|
|
|
CATEGORIES = devel
|
|
|
|
|
2010-10-25 16:55:53 -04:00
|
|
|
DISTNAME = libftdi-0.18
|
2011-11-13 08:54:04 -05:00
|
|
|
REVISION = 1
|
2009-01-07 16:35:59 -05:00
|
|
|
|
2010-10-25 16:55:53 -04:00
|
|
|
SHARED_LIBS = ftdi 15.1 # 19.0
|
2009-01-07 16:35:59 -05:00
|
|
|
|
2010-10-25 16:55:53 -04:00
|
|
|
HOMEPAGE = http://www.intra2net.com/en/developer/libftdi/
|
2009-01-07 16:35:59 -05:00
|
|
|
|
|
|
|
# LGPLv2.1
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
2011-11-13 08:54:04 -05:00
|
|
|
WANTLIB += c usb pthread usb-1.0
|
2010-10-25 16:55:53 -04:00
|
|
|
|
|
|
|
MASTER_SITES = ${HOMEPAGE}/download/
|
2009-01-07 16:35:59 -05:00
|
|
|
|
2011-11-13 08:54:04 -05:00
|
|
|
LIB_DEPENDS = devel/libusb-compat
|
2009-01-07 16:35:59 -05:00
|
|
|
|
|
|
|
CONFIGURE_STYLE = gnu
|
2010-10-25 16:55:53 -04:00
|
|
|
CONFIGURE_ARGS+= --disable-libftdipp \
|
|
|
|
--disable-python-bindings \
|
|
|
|
--without-docs
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
2009-01-07 16:35:59 -05:00
|
|
|
USE_LIBTOOL = Yes
|
|
|
|
|
|
|
|
NO_REGRESS = Yes
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|