forked from Lainports/freebsd-ports
- Add p5-Image-ObjectDetect 0.12
- While I'm here: - Add LICENSE - Convert to new Perl framework - Add missing USES=pkgconfig - Support STAGEDIR - Sort PLIST Image::ObjectDetect is a simple module to detect objects from picture using opencv. WWW: http://search.cpan.org/dist/Image-ObjectDetect/ PR: ports/180311 Submitted by: Anes Mukhametov <anes@anes.su>
This commit is contained in:
parent
75835d5a60
commit
cf344d7e27
6 changed files with 49 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
22
graphics/p5-Image-ObjectDetect/Makefile
Normal file
22
graphics/p5-Image-ObjectDetect/Makefile
Normal file
|
|
@ -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>
|
||||
2
graphics/p5-Image-ObjectDetect/distinfo
Normal file
2
graphics/p5-Image-ObjectDetect/distinfo
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
SHA256 (Image-ObjectDetect-0.12.tar.gz) = 5ad5d9eb4d81d52175c2bea3c3d8754f61ba99276188b155a73d91ae5c0c6efd
|
||||
SIZE (Image-ObjectDetect-0.12.tar.gz) = 91435
|
||||
11
graphics/p5-Image-ObjectDetect/files/patch-Makefile.PL
Normal file
11
graphics/p5-Image-ObjectDetect/files/patch-Makefile.PL
Normal file
|
|
@ -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-*' },
|
||||
);
|
||||
4
graphics/p5-Image-ObjectDetect/pkg-descr
Normal file
4
graphics/p5-Image-ObjectDetect/pkg-descr
Normal file
|
|
@ -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/
|
||||
9
graphics/p5-Image-ObjectDetect/pkg-plist
Normal file
9
graphics/p5-Image-ObjectDetect/pkg-plist
Normal file
|
|
@ -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
|
||||
Loading…
Add table
Reference in a new issue