32 lines
621 B
Makefile
32 lines
621 B
Makefile
# $OpenBSD: Makefile,v 1.12 2013/03/11 10:50:16 espie Exp $
|
|
|
|
COMMENT= perl wrapper around libusb
|
|
|
|
DISTNAME= Device-USB-0.31
|
|
REVISION= 3
|
|
CATEGORIES= devel
|
|
SHARED_ONLY= Yes
|
|
|
|
MODULES= cpan
|
|
|
|
HOMEPAGE= http://code.google.com/p/perl-device-usb/
|
|
|
|
# perl
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
WANTLIB += c usb
|
|
|
|
BUILD_DEPENDS= ${RUN_DEPENDS}
|
|
RUN_DEPENDS= devel/p5-Inline
|
|
LIB_DEPENDS = devel/libusb-compat
|
|
|
|
CONFIGURE_ENV+= LIBUSB_INCDIR="${LOCALBASE}/include" \
|
|
LIBUSB_LIBDIR="${LOCALBASE}/lib"
|
|
USE_GROFF = Yes
|
|
|
|
pre-configure:
|
|
${SUBST_CMD} ${WRKSRC}/lib/Device/USB.pm
|
|
rm ${WRKSRC}/lib/Device/USB.pm.*
|
|
|
|
.include <bsd.port.mk>
|