aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2013-11-18 19:23:56 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2013-11-18 19:23:56 +0000
commitcf344d7e27a963a4015ebb1b7a11e43f1cdca850 (patch)
treed061a2dbfc28c57645754e048b08fbb628fc8724 /graphics
parent75835d5a60b3828c85f6a55519d7b770ad3ea7ce (diff)
downloadports-cf344d7e27a963a4015ebb1b7a11e43f1cdca850.tar.gz
ports-cf344d7e27a963a4015ebb1b7a11e43f1cdca850.zip
Notes
Diffstat (limited to 'graphics')
-rw-r--r--graphics/Makefile1
-rw-r--r--graphics/p5-Image-ObjectDetect/Makefile22
-rw-r--r--graphics/p5-Image-ObjectDetect/distinfo2
-rw-r--r--graphics/p5-Image-ObjectDetect/files/patch-Makefile.PL11
-rw-r--r--graphics/p5-Image-ObjectDetect/pkg-descr4
-rw-r--r--graphics/p5-Image-ObjectDetect/pkg-plist9
6 files changed, 49 insertions, 0 deletions
diff --git a/graphics/Makefile b/graphics/Makefile
index 601ab8333640..b24dd9db444a 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -693,6 +693,7 @@
SUBDIR += p5-Image-Math-Constrain
SUBDIR += p5-Image-MetaData-GQview
SUBDIR += p5-Image-MetaData-JPEG
+ SUBDIR += p5-Image-ObjectDetect
SUBDIR += p5-Image-PBMlib
SUBDIR += p5-Image-Pngslimmer
SUBDIR += p5-Image-Scale
diff --git a/graphics/p5-Image-ObjectDetect/Makefile b/graphics/p5-Image-ObjectDetect/Makefile
new file mode 100644
index 000000000000..43c72b5705ba
--- /dev/null
+++ b/graphics/p5-Image-ObjectDetect/Makefile
@@ -0,0 +1,22 @@
+# Created by: Anes Mukhametov <anes@anes.su>
+# $FreeBSD$
+
+PORTNAME= Image-ObjectDetect
+PORTVERSION= 0.12
+CATEGORIES= graphics perl5
+MASTER_SITES= CPAN
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= anes@anes.su
+COMMENT= Detects objects from picture using opencv
+
+LICENSE= ART10 GPLv1
+LICENSE_COMB= dual
+
+BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/opencv.pc:${PORTSDIR}/graphics/opencv
+RUN_DEPENDS:= ${BUILD_DEPENDS}
+
+USE_PERL5= configure
+USES= perl5 pkgconfig
+
+.include <bsd.port.mk>
diff --git a/graphics/p5-Image-ObjectDetect/distinfo b/graphics/p5-Image-ObjectDetect/distinfo
new file mode 100644
index 000000000000..97ffe49264ab
--- /dev/null
+++ b/graphics/p5-Image-ObjectDetect/distinfo
@@ -0,0 +1,2 @@
+SHA256 (Image-ObjectDetect-0.12.tar.gz) = 5ad5d9eb4d81d52175c2bea3c3d8754f61ba99276188b155a73d91ae5c0c6efd
+SIZE (Image-ObjectDetect-0.12.tar.gz) = 91435
diff --git a/graphics/p5-Image-ObjectDetect/files/patch-Makefile.PL b/graphics/p5-Image-ObjectDetect/files/patch-Makefile.PL
new file mode 100644
index 000000000000..698abd6e2fa5
--- /dev/null
+++ b/graphics/p5-Image-ObjectDetect/files/patch-Makefile.PL
@@ -0,0 +1,11 @@
+--- Makefile.PL.orig 2012-03-01 11:06:49.000000000 +0000
++++ Makefile.PL 2012-03-01 11:07:14.000000000 +0000
+@@ -16,7 +16,7 @@
+ 'Test::More' => 0.32,
+ },
+ LIBS => $libs,
+- CCFLAGS => $ccflags,
++ INC => $ccflags,
+ dist => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
+ clean => { FILES => 'Image-ObjectDetect-*' },
+ );
diff --git a/graphics/p5-Image-ObjectDetect/pkg-descr b/graphics/p5-Image-ObjectDetect/pkg-descr
new file mode 100644
index 000000000000..1bf9cc7a7350
--- /dev/null
+++ b/graphics/p5-Image-ObjectDetect/pkg-descr
@@ -0,0 +1,4 @@
+Image::ObjectDetect is a simple module to detect objects
+from picture using opencv.
+
+WWW: http://search.cpan.org/dist/Image-ObjectDetect/
diff --git a/graphics/p5-Image-ObjectDetect/pkg-plist b/graphics/p5-Image-ObjectDetect/pkg-plist
new file mode 100644
index 000000000000..cbe021afafb8
--- /dev/null
+++ b/graphics/p5-Image-ObjectDetect/pkg-plist
@@ -0,0 +1,9 @@
+%%SITE_PERL%%/%%PERL_ARCH%%/Image/ObjectDetect.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Image/ObjectDetect.xs
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Image/ObjectDetect/.packlist
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Image/ObjectDetect/ObjectDetect.bs
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Image/ObjectDetect/ObjectDetect.so
+%%PERL5_MAN3%%/Image::ObjectDetect.3.gz
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Image/ObjectDetect
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Image
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/Image