1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00
freebsd-ports/devel/libk8055/Makefile
Martin Wilke 160c1853b7 - Fix build with clang
- Fix build with FreeBSD 7.x
- Respect LOCALBASE

PR:		163753
Submitted by:	Jake Smith <jake@xz.cx> (maintainer)
2012-01-14 19:11:58 +00:00

41 lines
820 B
Makefile

# New ports collection makefile for: libk8055
# Date created: 9 October 2011
# Whom: Jake Smith <jake@xz.cx>
#
# $FreeBSD$
#
PORTNAME= libk8055
PORTVERSION= 0.2
CATEGORIES= devel
MASTER_SITES= http://www.horizon9.org/~geroy/download/k8055/ \
http://xz.cx/downloads/k8055/
MAINTAINER= jake@xz.cx
COMMENT= Velleman K8055 USB experimental board support and command line tool
MAN1= k8055.1
MANCOMPRESSED= yes
USE_LDCONFIG= yes
USE_CSTD= gnu89
PLIST_FILES= bin/k8055 \
lib/libk8055.c \
lib/libk8055.o \
lib/libk8055.so \
lib/libk8055.so.0.2 \
include/k8055.h
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 800069
LIB_DEPENDS+= usb:${PORTSDIR}/devel/libusb
CFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
.endif
post-patch:
@${RM} ${WRKSRC}/libk8055.c.orig
.include <bsd.port.post.mk>