diff --git a/math/p5-AI-Perceptron/Makefile b/math/p5-AI-Perceptron/Makefile index f03a5a4173e2..c5cfa7a0e640 100644 --- a/math/p5-AI-Perceptron/Makefile +++ b/math/p5-AI-Perceptron/Makefile @@ -6,7 +6,7 @@ # PORTNAME= AI-Perceptron -PORTVERSION= 0.01 +PORTVERSION= 1.0 CATEGORIES= math MASTER_SITES= ${MASTER_SITE_PERL_CPAN} MASTER_SITE_SUBDIR= AI @@ -15,8 +15,18 @@ PKGNAMEPREFIX= p5- MAINTAINER= ports@FreeBSD.org COMMENT= Perl module for introducing to internal operations of neural networks -PERL_CONFIGURE= yes +BUILD_DEPENDS= ${SITE_PERL}/accessors.pm:${PORTSDIR}/devel/p5-accessors +RUN_DEPENDS= ${BUILD_DEPENDS} + +PERL_MODBUILD= yes MAN3= AI::Perceptron.3 -.include +.include + +# p5-accessors requires 5.6.0 +.if ${PERL_LEVEL} < 500600 +IGNORE= requires perl 5.6.0 or above +.endif + +.include diff --git a/math/p5-AI-Perceptron/distinfo b/math/p5-AI-Perceptron/distinfo index d702a577ee37..85993d4e841b 100644 --- a/math/p5-AI-Perceptron/distinfo +++ b/math/p5-AI-Perceptron/distinfo @@ -1,2 +1,2 @@ -MD5 (AI-Perceptron-0.01.tar.gz) = e0be7c652e4b9931b94927fb602a6350 -SIZE (AI-Perceptron-0.01.tar.gz) = 3545 +MD5 (AI-Perceptron-1.0.tar.gz) = 17c4f512664a1981ed8894d85b8eefa4 +SIZE (AI-Perceptron-1.0.tar.gz) = 7139 diff --git a/math/p5-AI-Perceptron/pkg-plist b/math/p5-AI-Perceptron/pkg-plist index 26ad10aac3a1..f4334391ee82 100644 --- a/math/p5-AI-Perceptron/pkg-plist +++ b/math/p5-AI-Perceptron/pkg-plist @@ -1,5 +1,2 @@ %%SITE_PERL%%/AI/Perceptron.pm -%%SITE_PERL%%/%%PERL_ARCH%%/auto/AI/Perceptron/.packlist -@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/AI/Perceptron -@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/AI 2>/dev/null || true @unexec rmdir %D/%%SITE_PERL%%/AI 2>/dev/null || true