aboutsummaryrefslogtreecommitdiff
path: root/math/p5-AI-Perceptron
diff options
context:
space:
mode:
authorYen-Ming Lee <leeym@FreeBSD.org>2005-09-19 06:58:24 +0000
committerYen-Ming Lee <leeym@FreeBSD.org>2005-09-19 06:58:24 +0000
commitdd87df5000f7943c9c7bbcb8596f2a414671d379 (patch)
tree5b85c8b964e06bb2559adca9b6647de55a2e3505 /math/p5-AI-Perceptron
parentaacc71927119705e480adcfcd8a15450165166e5 (diff)
downloadports-dd87df5000f7943c9c7bbcb8596f2a414671d379.tar.gz
ports-dd87df5000f7943c9c7bbcb8596f2a414671d379.zip
Notes
Diffstat (limited to 'math/p5-AI-Perceptron')
-rw-r--r--math/p5-AI-Perceptron/Makefile16
-rw-r--r--math/p5-AI-Perceptron/distinfo4
-rw-r--r--math/p5-AI-Perceptron/pkg-plist3
3 files changed, 15 insertions, 8 deletions
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 <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+# p5-accessors requires 5.6.0
+.if ${PERL_LEVEL} < 500600
+IGNORE= requires perl 5.6.0 or above
+.endif
+
+.include <bsd.port.post.mk>
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