aboutsummaryrefslogtreecommitdiffstats
path: root/devel/librevisa/Makefile
blob: 6f02568181a824554c8ffedcb7463c95252df67b (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
# Created by: Uffe Jakobsen <uffe@uffe.org>
# $FreeBSD$

PORTNAME=   librevisa
PORTVERSION=    0.0.20130412
PORTREVISION=   1
CATEGORIES= devel
MASTER_SITES=   http://www.librevisa.org/download/

MAINTAINER= uffe@uffe.org
COMMENT=    Library for interfacing test and measurement equipment

USES=       gmake pathfix libtool
USE_LDCONFIG=   yes
GNU_CONFIGURE=  yes

# Workaround FreeBSD 9.1+ libusb not knowing LIBUSB_CLASS_APPLICATION
CPPFLAGS+=  -DLIBUSB_CLASS_APPLICATION=0xfe

post-install:
    ${STRIP_CMD} ${STAGEDIR}${LOCALBASE}/lib/libvisa.so

.include <bsd.port.mk>