openbsd-ports/devel/p5-Device-USB/Makefile

35 lines
699 B
Makefile
Raw Normal View History

2012-08-23 11:00:32 -04:00
# $OpenBSD: Makefile,v 1.11 2012/08/23 15:05:15 sthen Exp $
COMMENT= perl wrapper around libusb
2010-01-11 03:24:35 -05:00
DISTNAME= Device-USB-0.31
2012-08-23 11:00:32 -04:00
REVISION= 3
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
2012-08-23 11:00:32 -04:00
WANTLIB += c usb
BUILD_DEPENDS= ${RUN_DEPENDS}
2010-11-15 14:45:56 -05:00
RUN_DEPENDS= devel/p5-Inline
LIB_DEPENDS = devel/libusb-compat
CONFIGURE_ENV+= LIBUSB_INCDIR="${LOCALBASE}/include" \
LIBUSB_LIBDIR="${LOCALBASE}/lib"
2010-11-15 14:45:56 -05:00
USE_GROFF = Yes
pre-configure:
${SUBST_CMD} ${WRKSRC}/lib/Device/USB.pm
rm ${WRKSRC}/lib/Device/USB.pm.*
.include <bsd.port.mk>