aboutsummaryrefslogtreecommitdiffstats
path: root/devel/libftdi/Makefile
blob: 611d20c1a3be01506bf734b60a77120a119ad922 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# 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>