openbsd-ports/devel/p5-Device-USB/Makefile
ajacoutot fcbe5f3ae2 Sync dependencies after move from libusb to libusb-compat and fix a
couple of fallouts. Note that these ports are only the ones that used to
have a direct dependency on devel/libusb so there may be some other
hidden ports that may break because of the switch. If that's the case,
no need to start ranting all over but instead tell me which one(s)
break. Thanks.

Note: sysutils/nut hasn't been fixed yet but will be today.
2011-11-13 13:54:04 +00:00

34 lines
700 B
Makefile

# $OpenBSD: Makefile,v 1.10 2011/11/13 13:54:04 ajacoutot Exp $
COMMENT= perl wrapper around libusb
DISTNAME= Device-USB-0.31
REVISION= 2
CATEGORIES= devel
SHARED_ONLY= Yes
MODULES= cpan
HOMEPAGE= http://code.google.com/p/perl-device-usb/
# perl
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
BUILD_DEPENDS= ${RUN_DEPENDS}
RUN_DEPENDS= devel/p5-Inline
LIB_DEPENDS = devel/libusb-compat
WANTLIB = usb
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>