# New ports collection makefile for:	usbutils
# Date created:		14 Nov 2007
# Whom:			Henrik Brix Andersen <brix@FreeBSD.org>
#
# $FreeBSD: ports/sysutils/usbutils/Makefile,v 1.1 2007/12/11 20:45:58 brix Exp $

PORTNAME=	usbutils
PORTVERSION=	0.73
CATEGORIES=	sysutils
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	linux-usb

MAINTAINER=	brix@FreeBSD.org
COMMENT=	Utility for listing USB devices

LIB_DEPENDS=	usb-0.1:${PORTSDIR}/devel/libusb

GNU_CONFIGURE=	yes
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
		LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS=	--datadir=${DATADIR}

MAN8=		lsusb.8
PORTDOCS=	AUTHORS ChangeLog NEWS README

.include <bsd.port.pre.mk>

post-install:
.if !defined(NOPORTDOCS)
	${MKDIR} ${DOCSDIR}
	${INSTALL_DATA} ${PORTDOCS:S@^@${WRKSRC}/@} ${DOCSDIR}
.endif

.include <bsd.port.post.mk>


syntax highlighted by Code2HTML, v. 0.9.1