summaryrefslogtreecommitdiff
path: root/multimedia/dvdrip
diff options
context:
space:
mode:
authorYen-Ming Lee <leeym@FreeBSD.org>2003-03-01 19:30:37 +0000
committerYen-Ming Lee <leeym@FreeBSD.org>2003-03-01 19:30:37 +0000
commit10341c2cebcb2a441870fb66e5976b1a931bb33c (patch)
treecb62cd1c9ad6457b298ecfda3b2bdb49fcddec37 /multimedia/dvdrip
parentUpdate to the latest version (2.1.p9). (diff)
- Add check for installed perl-version.
- Mark as BROKEN on systems with perl < 5.6.0. PR: 48626 Submitted by: Michael Nottebrock <michaelnottebrock@gmx.net>
Notes
Notes: svn path=/head/; revision=76708
Diffstat (limited to 'multimedia/dvdrip')
-rw-r--r--multimedia/dvdrip/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/multimedia/dvdrip/Makefile b/multimedia/dvdrip/Makefile
index ff6a0e173408..451da09d8839 100644
--- a/multimedia/dvdrip/Makefile
+++ b/multimedia/dvdrip/Makefile
@@ -44,6 +44,8 @@ MAN1= dvdrip.1 dr_splitpipe.1 dr_progress.1
MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
MAN3= Video::DVDRip.3
+.include <bsd.port.pre.mk>
+
pre-everything::
.if !defined(WITHOUT_CLUSTER)
@${ECHO_MSG}
@@ -74,4 +76,9 @@ post-patch:
post-install:
@${CAT} ${PKGMESSAGE}
-.include <bsd.port.mk>
+.if ${PERL_LEVEL} < 500600
+BROKEN= "You need at least perl 5.6.0. Do not use FreeBSD 4.x' system perl,\
+ it's outdated. Install lang/perl5 and issue 'use.perl port'"
+.endif
+
+.include <bsd.port.post.mk>