1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-19 03:52:17 +00:00
freebsd-ports/devel/libftdi/Makefile

43 lines
1018 B
Makefile

# New ports collection makefile for: libftdi
# Date created: 2006-07-27
# Whom: Olexandr Davydenko <o.davydenko@gmail.com>
#
# $FreeBSD$
#
PORTNAME= libftdi
PORTVERSION= 0.7
CATEGORIES= devel
MASTER_SITES= http://www.intra2net.com/de/produkte/opensource/ftdi/TGZ/
MAINTAINER= o.davydenko@gmail.com
COMMENT= A library (using libusb) to talk to FTDI chips
LIB_DEPENDS= usb-0.1:${PORTSDIR}/devel/libusb
USE_AUTOTOOLS= libtool:15
GNU_CONFIGURE= yes
CONFIGURE_ENV= CFLAGS="${CFLAGS} -I${LOCALBASE}/include"
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_LDCONFIG= yes
USE_GNOME= pkgconfig gnomehack
PORTDOCS= COPYING.LIB ChangeLog README
PLIST_FILES= bin/libftdi-config \
include/ftdi.h \
lib/libftdi.a \
lib/libftdi.la \
lib/libftdi.so \
lib/libftdi.so.7 \
libdata/pkgconfig/libftdi.pc
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
.for FILE in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk>