diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2008-11-29 20:20:00 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2008-11-29 20:20:00 +0000 |
commit | 0cd1746302415740a04a505fe54b5b0181f31725 (patch) | |
tree | c612c74e7286491150b207844dcc082cd278653d /graphics/rubygem-objectdetect | |
parent | 6d67fab7e94e3fa2f2f633208f5768c233336ca6 (diff) | |
download | ports-0cd1746302415740a04a505fe54b5b0181f31725.tar.gz ports-0cd1746302415740a04a505fe54b5b0181f31725.zip |
This is a simple library for detecting objects in pictures.
WWW: http://objectdetect.rubyforge.org/objectdetect/
PR: ports/129176
Submitted by: TAKATSU Tomonari <tota at rtfm.jp>
Notes
Notes:
svn path=/head/; revision=223555
Diffstat (limited to 'graphics/rubygem-objectdetect')
-rw-r--r-- | graphics/rubygem-objectdetect/Makefile | 30 | ||||
-rw-r--r-- | graphics/rubygem-objectdetect/distinfo | 3 | ||||
-rw-r--r-- | graphics/rubygem-objectdetect/pkg-descr | 3 |
3 files changed, 36 insertions, 0 deletions
diff --git a/graphics/rubygem-objectdetect/Makefile b/graphics/rubygem-objectdetect/Makefile new file mode 100644 index 000000000000..310185b6d7df --- /dev/null +++ b/graphics/rubygem-objectdetect/Makefile @@ -0,0 +1,30 @@ +# New ports collection makefile for: rubygem-objectdetect +# Date created: 2008-11-25 +# Whom: TAKATSU Tomonari <tota@rtfm.jp> +# +# $FreeBSD$ +# + +PORTNAME= objectdetect +PORTVERSION= 0.0.3 +CATEGORIES= graphics rubygems +MASTER_SITES= ${MASTER_SITE_RUBYFORGE} +MASTER_SITE_SUBDIR= ${PORTNAME} + +MAINTAINER= tota@rtfm.jp +COMMENT= A simple library for detecting objects in pictures + +LIB_DEPENDS= cv.1:${PORTSDIR}/graphics/opencv + +USE_RUBY= yes +USE_RUBYGEMS= yes + +post-install: + @${ECHO} ${GEM_CACHE} > ${TMPPLIST} + @${FIND} ${PREFIX}/${GEM_DOC_DIR} -type f | ${SED} -e 's,${PREFIX}/${GEM_DOC_DIR},${GEM_DOC_DIR},' >> ${TMPPLIST} + @${FIND} ${PREFIX}/${GEM_LIB_DIR} -type f | ${SED} -e 's,${PREFIX}/${GEM_LIB_DIR},${GEM_LIB_DIR},' >> ${TMPPLIST} + @${ECHO} ${GEM_SPEC} >> ${TMPPLIST} + @${FIND} ${PREFIX}/${GEM_LIB_DIR} -type d -depth | ${SED} -e 's,${PREFIX}/${GEM_LIB_DIR},@dirrm ${GEM_LIB_DIR},' >> ${TMPPLIST} + @${FIND} ${PREFIX}/${GEM_DOC_DIR} -type d -depth | ${SED} -e 's,${PREFIX}/${GEM_DOC_DIR},@dirrm ${GEM_DOC_DIR},' >> ${TMPPLIST} + +.include <bsd.port.mk> diff --git a/graphics/rubygem-objectdetect/distinfo b/graphics/rubygem-objectdetect/distinfo new file mode 100644 index 000000000000..c9744f5b99a1 --- /dev/null +++ b/graphics/rubygem-objectdetect/distinfo @@ -0,0 +1,3 @@ +MD5 (rubygem/objectdetect-0.0.3.gem) = 6087f274e757ad6adc1fa85bae5de443 +SHA256 (rubygem/objectdetect-0.0.3.gem) = f3ad7dc88e7b7c57c1d2686f197e9615d8d495e32ff12fbd2f44e4d348b19e36 +SIZE (rubygem/objectdetect-0.0.3.gem) = 16896 diff --git a/graphics/rubygem-objectdetect/pkg-descr b/graphics/rubygem-objectdetect/pkg-descr new file mode 100644 index 000000000000..724d662043d4 --- /dev/null +++ b/graphics/rubygem-objectdetect/pkg-descr @@ -0,0 +1,3 @@ +This is a simple library for detecting objects in pictures. + +WWW: http://objectdetect.rubyforge.org/objectdetect/ |