aboutsummaryrefslogtreecommitdiffstats
path: root/devel/p5-Device-USB/Makefile
blob: d1fa677becf25666da7445e0fa027552be4a32d3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Created by: Jason Bacon <bacon4000@gmail.com>
# $FreeBSD$

PORTNAME=   Device-USB
PORTVERSION=    0.35
PORTREVISION=   2
CATEGORIES= devel perl5
MASTER_SITES=   CPAN
PKGNAMEPREFIX=  p5-

MAINTAINER= josh.carroll@gmail.com
COMMENT=    Perl wrapper for libusb

LICENSE=    ART10 GPLv1+
LICENSE_COMB=   dual

BUILD_DEPENDS=  p5-Inline>=0:devel/p5-Inline \
        p5-Inline-C>=0:devel/p5-Inline-C
RUN_DEPENDS:=   ${BUILD_DEPENDS}

MAKE_JOBS_UNSAFE=yes
USES=       perl5
USE_PERL5=  configure

post-patch:
    @${REINPLACE_CMD} -e 's|dump_usb.pl|lib/Device/&|' ${WRKSRC}/MANIFEST
    @${MV} ${WRKSRC}/dump_usb.pl ${WRKSRC}/lib/Device/

.include <bsd.port.mk>