mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
20c212aa87
Submitted by: maintainer
42 lines
992 B
Makefile
42 lines
992 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
|
|
|
|
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>
|