aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-Device-USB/Makefile
diff options
context:
space:
mode:
authorDennis Herrmann <dhn@FreeBSD.org>2009-06-05 18:31:48 +0000
committerDennis Herrmann <dhn@FreeBSD.org>2009-06-05 18:31:48 +0000
commit94d236d0d52e0735c9d5b296f1172d92cbd67cda (patch)
treedfcb248e3733a9b7db02ad157e8152930531c5d4 /devel/p5-Device-USB/Makefile
parent1e2ff2cd85225648c1c7f5f6107bc65ed70054da (diff)
Notes
Diffstat (limited to 'devel/p5-Device-USB/Makefile')
-rw-r--r--devel/p5-Device-USB/Makefile13
1 files changed, 4 insertions, 9 deletions
diff --git a/devel/p5-Device-USB/Makefile b/devel/p5-Device-USB/Makefile
index 085052a259b8..295fefef224a 100644
--- a/devel/p5-Device-USB/Makefile
+++ b/devel/p5-Device-USB/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= usb
-PORTVERSION= 0.21
+PORTVERSION= 0.29
CATEGORIES= devel perl5
MASTER_SITES= CPAN/Device \
http://personalpages.tds.net/~jwbacon/Ports/distfiles/
@@ -16,9 +16,10 @@ DISTNAME= Device-USB-${PORTVERSION}
MAINTAINER= jwbacon@tds.net
COMMENT= Perl wrapper for libusb
+LIB_DEPENDS+= usb-0.1.8:${PORTSDIR}/devel/libusb
BUILD_DEPENDS= ${SITE_PERL}/Inline.pm:${PORTSDIR}/devel/p5-Inline
-WRKSRC= ${WRKDIR}/Device-USB-0.21
+WRKSRC= ${WRKDIR}/Device-USB-${PORTVERSION}
PERL_CONFIGURE= yes
MAN3= Device::USB.3 \
@@ -30,10 +31,4 @@ MAN3= Device::USB.3 \
Device::USB::FAQ.3 \
Device::dump_usb.3
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 800069
-LIB_DEPENDS+= usb-0.1.8:${PORTSDIR}/devel/libusb
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>