From 9839011ec3910790376ce9ace5e2a1c5bcb2781f Mon Sep 17 00:00:00 2001
From: Mark Linimon <linimon@FreeBSD.org>
Date: Sat, 8 Sep 2007 01:12:10 +0000
Subject: Welcome bsd.perl.mk.  Add support for constructs such as
 USE_PERL5=5.8.0+. Drop support for antique perl.

Work done by:	gabor
Sponsored by:	Google Summer of Code 2007
Hat:		portmgr
---
 chinese/oicq/Makefile | 10 ++--------
 1 file changed, 2 insertions(+), 8 deletions(-)

(limited to 'chinese/oicq')

diff --git a/chinese/oicq/Makefile b/chinese/oicq/Makefile
index 4760af07a156..3df31241f0ba 100644
--- a/chinese/oicq/Makefile
+++ b/chinese/oicq/Makefile
@@ -20,18 +20,12 @@ BUILD_DEPENDS=	${SITE_PERL}/${PERL_ARCH}/Digest/MD5.pm:${PORTSDIR}/security/p5-D
 		${SITE_PERL}/${PERL_ARCH}/Term/ReadKey.pm:${PORTSDIR}/devel/p5-Term-ReadKey \
 		${SITE_PERL}/Crypt/OICQ.pm:${PORTSDIR}/security/p5-Crypt-OICQ
 
-PERL_CONFIGURE=	yes
+PERL_CONFIGURE=	5.8.0+
 
 MAN3=		Net::OICQ.3
 
-.include <bsd.port.pre.mk>
-
-.if ${PERL_LEVEL} < 500800 # inherits from security/p5-Crypt-OICQ
-IGNORE=		requires perl 5.8.x or later. Install lang/perl5.8 then try again
-.endif
-
 post-install:
 	${INSTALL_SCRIPT} ${WRKSRC}/bin/qq ${PREFIX}/bin
 	${INSTALL_SCRIPT} ${WRKSRC}/demo1 ${PREFIX}/bin/qq-demo1
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
-- 
cgit v1.2.3