freebsd-ports/sysutils/usbutils/Makefile
Henrik Brix Andersen 02ed3f5325 Add usbutils, which contains the popular lsusb(8) utility for listing
USB device descriptors.

Approved by:	erwin (mentor)
2007-12-11 20:45:58 +00:00

34 lines
763 B
Makefile

# New ports collection makefile for: usbutils
# Date created: 14 Nov 2007
# Whom: Henrik Brix Andersen <brix@FreeBSD.org>
#
# $FreeBSD$
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>