2011-03-14 05:15:33 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.9 2011/03/14 09:17:27 sthen Exp $
|
2010-01-10 16:41:55 -05:00
|
|
|
|
|
|
|
COMMENT= perl wrapper around libusb
|
|
|
|
|
2010-01-11 03:24:35 -05:00
|
|
|
DISTNAME= Device-USB-0.31
|
2011-03-14 05:15:33 -04:00
|
|
|
REVISION= 1
|
2010-01-10 16:41:55 -05:00
|
|
|
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}
|
2010-11-15 14:45:56 -05:00
|
|
|
RUN_DEPENDS= devel/p5-Inline
|
|
|
|
LIB_DEPENDS = devel/libusb
|
2010-11-08 05:28:22 -05:00
|
|
|
WANTLIB = usb
|
2010-01-10 16:41:55 -05:00
|
|
|
|
|
|
|
CONFIGURE_ENV+= LIBUSB_INCDIR="${LOCALBASE}/include" \
|
|
|
|
LIBUSB_LIBDIR="${LOCALBASE}/lib"
|
2010-11-15 14:45:56 -05:00
|
|
|
USE_GROFF = Yes
|
2010-01-10 16:41:55 -05:00
|
|
|
|
|
|
|
pre-configure:
|
|
|
|
${SUBST_CMD} ${WRKSRC}/lib/Device/USB.pm
|
2010-04-08 16:44:54 -04:00
|
|
|
rm ${WRKSRC}/lib/Device/USB.pm.*
|
2010-01-10 16:41:55 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|