aboutsummaryrefslogtreecommitdiffstats
path: root/audio/p5-MP3-Find
diff options
context:
space:
mode:
authorleeym <leeym@FreeBSD.org>2008-02-29 23:00:12 +0800
committerleeym <leeym@FreeBSD.org>2008-02-29 23:00:12 +0800
commit7941d57afbd0f0ab5af5bda508414347b878acba (patch)
tree0a62ff2ee8eb31506fe6eaa50f9f89dba64f1b2f /audio/p5-MP3-Find
parent63e1a945672b926f622d05cdd9a6e17e5487c04f (diff)
downloadfreebsd-ports-gnome-7941d57afbd0f0ab5af5bda508414347b878acba.tar.gz
freebsd-ports-gnome-7941d57afbd0f0ab5af5bda508414347b878acba.tar.zst
freebsd-ports-gnome-7941d57afbd0f0ab5af5bda508414347b878acba.zip
- use CPAN macro
- simplify dependency - bump PORTREVISION PR: 121214 Submitted by: leeym Approved by: maintainer
Diffstat (limited to 'audio/p5-MP3-Find')
-rw-r--r--audio/p5-MP3-Find/Makefile18
-rw-r--r--audio/p5-MP3-Find/pkg-plist1
2 files changed, 10 insertions, 9 deletions
diff --git a/audio/p5-MP3-Find/Makefile b/audio/p5-MP3-Find/Makefile
index 66af084c5994..2cceb25368b2 100644
--- a/audio/p5-MP3-Find/Makefile
+++ b/audio/p5-MP3-Find/Makefile
@@ -7,23 +7,25 @@
PORTNAME= MP3-Find
PORTVERSION= 0.06
+PORTREVISION= 1
CATEGORIES= audio perl5
-MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
-#MASTER_SITE_SUBDIR= ../../authors/id/P/PE/PEICHMAN
-MASTER_SITE_SUBDIR= MP3
+MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= tjs@cdpa.nsysu.edu.tw
COMMENT= Search and sort MP3 files based on their ID3 tags
-BUILD_DEPENDS= ${SITE_PERL}/MP3/Info.pm:${PORTSDIR}/audio/p5-MP3-Info \
- ${SITE_PERL}/File/Find/Rule.pm:${PORTSDIR}/devel/p5-File-Find-Rule \
- ${SITE_PERL}/${PERL_ARCH}/List/Util.pm:${PORTSDIR}/lang/p5-Scalar-List-Utils
-RUN_DEPENDS+= ${BUILD_DEPENDS}
+RUN_DEPENDS= p5-MP3-Info>=0:${PORTSDIR}/audio/p5-MP3-Info
MAN1= mp3db.1 mp3find.1
MAN3= MP3::Find::DB.3 MP3::Find::Filesystem.3 MP3::Find.3 MP3::Find::Base.3
PERL_CONFIGURE= yes
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500703
+RUN_DEPENDS+= p5-Scalar-List-Utils>=0:${PORTSDIR}/lang/p5-Scalar-List-Utils
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/audio/p5-MP3-Find/pkg-plist b/audio/p5-MP3-Find/pkg-plist
index c912165a3515..a98ba58a1e2a 100644
--- a/audio/p5-MP3-Find/pkg-plist
+++ b/audio/p5-MP3-Find/pkg-plist
@@ -8,6 +8,5 @@ bin/mp3find
%%SITE_PERL%%/%%PERL_ARCH%%/auto/MP3/Find/.packlist
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/MP3/Find
@dirrm %%SITE_PERL%%/MP3/Find
-@dirrm %%SITE_PERL%%/MP3
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/MP3
@dirrmtry %%SITE_PERL%%/MP3