diff options
author | lth <lth@FreeBSD.org> | 2012-03-08 04:02:48 +0800 |
---|---|---|
committer | lth <lth@FreeBSD.org> | 2012-03-08 04:02:48 +0800 |
commit | 5a320c280df01dc1d33a6e25986038e8c8330c58 (patch) | |
tree | 2fe6a929c82f4390dc501b9bce28565a0407c6f9 /audio/p5-Net-DAAP-DMAP | |
parent | 1cc7433754ddb246560dab0ea0c30a16134d932d (diff) | |
download | freebsd-ports-gnome-5a320c280df01dc1d33a6e25986038e8c8330c58.tar.gz freebsd-ports-gnome-5a320c280df01dc1d33a6e25986038e8c8330c58.tar.zst freebsd-ports-gnome-5a320c280df01dc1d33a6e25986038e8c8330c58.zip |
- update to 1.27
- add _DEPENDS
- add regression-test target
Diffstat (limited to 'audio/p5-Net-DAAP-DMAP')
-rw-r--r-- | audio/p5-Net-DAAP-DMAP/Makefile | 13 | ||||
-rw-r--r-- | audio/p5-Net-DAAP-DMAP/distinfo | 4 | ||||
-rw-r--r-- | audio/p5-Net-DAAP-DMAP/files/patch-lib::Net::DAAP::DMAP.pm | 11 |
3 files changed, 12 insertions, 16 deletions
diff --git a/audio/p5-Net-DAAP-DMAP/Makefile b/audio/p5-Net-DAAP-DMAP/Makefile index 0c22240639aa..67a77b2e51ff 100644 --- a/audio/p5-Net-DAAP-DMAP/Makefile +++ b/audio/p5-Net-DAAP-DMAP/Makefile @@ -6,8 +6,7 @@ # PORTNAME= Net-DAAP-DMAP -PORTVERSION= 1.26 -PORTREVISION= 2 +PORTVERSION= 1.27 CATEGORIES= audio perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- @@ -15,8 +14,16 @@ PKGNAMEPREFIX= p5- MAINTAINER= lth@FreeBSD.org COMMENT= Perl module for reading and writing DAAP structures -PERL_MODBUILD= yes +BUILD_DEPENDS= p5-Math-BigInt>0:${PORTSDIR}/math/p5-Math-BigInt +RUN_DEPENDS:= ${BUILD_DEPENDS} +TEST_DEPENDS= p5-Data-HexDump>0:${PORTSDIR}/devel/p5-Data-HexDump \ + p5-Test-Differences>0:${PORTSDIR}/devel/p5-Test-Differences + +PERL_CONFIGURE= yes MAN3= Net::DAAP::DMAP.3 +regression-test: build + @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} test + .include <bsd.port.mk> diff --git a/audio/p5-Net-DAAP-DMAP/distinfo b/audio/p5-Net-DAAP-DMAP/distinfo index f0b7fafd9458..37ae0aa979f3 100644 --- a/audio/p5-Net-DAAP-DMAP/distinfo +++ b/audio/p5-Net-DAAP-DMAP/distinfo @@ -1,2 +1,2 @@ -SHA256 (Net-DAAP-DMAP-1.26.tar.gz) = 7ad7c73c101b1100cd270e6ade16e9a9d7cd37a2d6448a0737af105304d69b38 -SIZE (Net-DAAP-DMAP-1.26.tar.gz) = 9530 +SHA256 (Net-DAAP-DMAP-1.27.tar.gz) = c7676e7ff00042ea18ff73d02268d169fbf6eb36b6ca08e688df8f8b31bc2fba +SIZE (Net-DAAP-DMAP-1.27.tar.gz) = 9373 diff --git a/audio/p5-Net-DAAP-DMAP/files/patch-lib::Net::DAAP::DMAP.pm b/audio/p5-Net-DAAP-DMAP/files/patch-lib::Net::DAAP::DMAP.pm deleted file mode 100644 index 996c73061f20..000000000000 --- a/audio/p5-Net-DAAP-DMAP/files/patch-lib::Net::DAAP::DMAP.pm +++ /dev/null @@ -1,11 +0,0 @@ ---- lib/Net/DAAP/DMAP.pm.orig Sat Aug 21 14:59:26 2004 -+++ lib/Net/DAAP/DMAP.pm Sat Aug 21 15:09:13 2004 -@@ -387,7 +387,7 @@ - my $struct = shift; - my $out = ''; - -- my %by_name = map { $_->{NAME} => $_ } values %$Types; -+ my %by_name = map { $_->{NAME} => $_ } grep { %$_ } values %$Types; - for my $pair (@$struct) { - my ($name, $value) = @$pair; - # dmap_unpack doesn't populate the name when its decoded |