ports/121214: [PATCH] audio/p5-MP3-Find: simplify dependency
Yen-Ming Lee
leeym at FreeBSD.org
Fri Feb 29 09:30:05 UTC 2008
>Number: 121214
>Category: ports
>Synopsis: [PATCH] audio/p5-MP3-Find: simplify dependency
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Fri Feb 29 09:30:04 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: Yen-Ming Lee
>Release: FreeBSD 6.2-RELEASE i386
>Organization:
>Environment:
System: FreeBSD db1.leeym.com 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12 10:40:27 UTC 2007
>Description:
- use CPAN macro
- simplify dependency
- bump PORTREVISION
Port maintainer (tjs at cdpa.nsysu.edu.tw) is cc'd.
Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:
--- p5-MP3-Find-0.06_1.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/audio/p5-MP3-Find/Makefile,v
retrieving revision 1.1
diff -u -u -r1.1 Makefile
--- Makefile 12 Jul 2006 20:24:34 -0000 1.1
+++ Makefile 29 Feb 2008 09:22:08 -0000
@@ -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 at 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>
Index: pkg-plist
===================================================================
RCS file: /home/pcvs/ports/audio/p5-MP3-Find/pkg-plist,v
retrieving revision 1.1
diff -u -u -r1.1 pkg-plist
--- pkg-plist 12 Jul 2006 20:24:34 -0000 1.1
+++ pkg-plist 29 Feb 2008 09:22:08 -0000
@@ -8,6 +8,5 @@
%%SITE_PERL%%/%%PERL_ARCH%%/auto/MP3/Find/.packlist
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/MP3/Find
@dirrm %%SITE_PERL%%/MP3/Find
- at dirrm %%SITE_PERL%%/MP3
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/MP3
@dirrmtry %%SITE_PERL%%/MP3
--- p5-MP3-Find-0.06_1.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list