aboutsummaryrefslogtreecommitdiff
path: root/math/p5-AI-Perceptron/Makefile
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/Makefile
parentaacc71927119705e480adcfcd8a15450165166e5 (diff)
downloadports-dd87df5000f7943c9c7bbcb8596f2a414671d379.tar.gz
ports-dd87df5000f7943c9c7bbcb8596f2a414671d379.zip
- update to 1.0
Notes
Notes: svn path=/head/; revision=143126
Diffstat (limited to 'math/p5-AI-Perceptron/Makefile')
-rw-r--r--math/p5-AI-Perceptron/Makefile16
1 files changed, 13 insertions, 3 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>