aboutsummaryrefslogtreecommitdiff
path: root/graphics/libkface
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/libkface')
-rw-r--r--graphics/libkface/Makefile34
-rw-r--r--graphics/libkface/distinfo2
-rw-r--r--graphics/libkface/pkg-descr4
-rw-r--r--graphics/libkface/pkg-plist24
4 files changed, 64 insertions, 0 deletions
diff --git a/graphics/libkface/Makefile b/graphics/libkface/Makefile
new file mode 100644
index 000000000000..ee0f7edf66f1
--- /dev/null
+++ b/graphics/libkface/Makefile
@@ -0,0 +1,34 @@
+# New ports collection makefile for: libkface
+# Date created: 2012-05-12
+# Whom: Jason E. Hale <bsdkaffee@gmail.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= libkface
+PORTVERSION= 2.6.0
+CATEGORIES= graphics kde
+MASTER_SITES= SF/digikam/digikam/${PORTVERSION}
+DISTNAME= digikam-${PORTVERSION}
+
+MAINTAINER= kde@FreeBSD.org
+COMMENT= KDE4 library for face recognition
+
+LICENSE= GPLv2
+
+LIB_DEPENDS= opencv_legacy:${PORTSDIR}/graphics/opencv
+
+USE_BZIP2= yes
+USE_CMAKE= yes
+USE_KDE4= automoc4 kdehier kdeprefix kdelibs
+USE_QT4= qmake_build moc_build rcc_build uic_build
+USE_LDCONFIG= yes
+MAKE_JOBS_SAFE= yes
+
+WRKSRC= ${WRKDIR}/${DISTNAME}/extra/${PORTNAME}
+
+post-patch:
+ ${REINPLACE_CMD} -e '/pkgconfig/s|$${LIB_INSTALL_DIR}|libdata|' \
+ ${WRKSRC}/CMakeLists.txt
+
+.include <bsd.port.mk>
diff --git a/graphics/libkface/distinfo b/graphics/libkface/distinfo
new file mode 100644
index 000000000000..afb200f08f48
--- /dev/null
+++ b/graphics/libkface/distinfo
@@ -0,0 +1,2 @@
+SHA256 (digikam-2.6.0.tar.bz2) = 411ceaa3a489d9c9a5566d43c167927a07fb08fb4f613b0dbf1dec65b95736df
+SIZE (digikam-2.6.0.tar.bz2) = 55362029
diff --git a/graphics/libkface/pkg-descr b/graphics/libkface/pkg-descr
new file mode 100644
index 000000000000..7835ed363aa2
--- /dev/null
+++ b/graphics/libkface/pkg-descr
@@ -0,0 +1,4 @@
+Libkface is a KDE C++ wrapper for libface which provides face recognition
+and detection in pictures.
+
+WWW: http://www.digikam.org
diff --git a/graphics/libkface/pkg-plist b/graphics/libkface/pkg-plist
new file mode 100644
index 000000000000..755046849a54
--- /dev/null
+++ b/graphics/libkface/pkg-plist
@@ -0,0 +1,24 @@
+include/libkface/database.h
+include/libkface/face.h
+include/libkface/facedetector.h
+include/libkface/image.h
+include/libkface/libkface_export.h
+include/libkface/recognitiondatabase.h
+include/libkface/version.h
+lib/libkface.so
+lib/libkface.so.1
+lib/libkface.so.1.0.0
+libdata/pkgconfig/libkface.pc
+share/apps/cmake/modules/FindKface.cmake
+share/apps/libkface/haarcascades/haarcascade_frontalface_alt.xml
+share/apps/libkface/haarcascades/haarcascade_frontalface_alt2.xml
+share/apps/libkface/haarcascades/haarcascade_frontalface_alt_tree.xml
+share/apps/libkface/haarcascades/haarcascade_frontalface_default.xml
+share/apps/libkface/haarcascades/haarcascade_mcs_lefteye.xml
+share/apps/libkface/haarcascades/haarcascade_mcs_mouth.xml
+share/apps/libkface/haarcascades/haarcascade_mcs_nose.xml
+share/apps/libkface/haarcascades/haarcascade_mcs_righteye.xml
+share/apps/libkface/haarcascades/haarcascade_profileface.xml
+@dirrm share/apps/libkface/haarcascades
+@dirrm share/apps/libkface
+@dirrm include/libkface