aboutsummaryrefslogtreecommitdiffstats
path: root/math/p5-AI-Perceptron
diff options
context:
space:
mode:
authorleeym <leeym@FreeBSD.org>2005-09-19 14:58:24 +0800
committerleeym <leeym@FreeBSD.org>2005-09-19 14:58:24 +0800
commit2751394ff79a4a99c03c5a9135140d1ffbf189d4 (patch)
tree13fcb797883fa63e47a1ddc2135723d030cc956a /math/p5-AI-Perceptron
parent38a6e2eaa8b04eb327870268ffe5071f53483019 (diff)
downloadfreebsd-ports-gnome-2751394ff79a4a99c03c5a9135140d1ffbf189d4.tar.gz
freebsd-ports-gnome-2751394ff79a4a99c03c5a9135140d1ffbf189d4.tar.zst
freebsd-ports-gnome-2751394ff79a4a99c03c5a9135140d1ffbf189d4.zip
- update to 1.0
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