summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorkhorben <khorben@pkgsrc.org>2013-03-04 23:10:50 +0000
committerkhorben <khorben@pkgsrc.org>2013-03-04 23:10:50 +0000
commit4f163e91de076da158f802d97e2b4704741f8ae2 (patch)
tree53c98338f277eb5caa8e70c1cc9203ad266b4d0b /graphics
parentdd20722112d0c3c4d1c3fb4fe5b1c363752a866e (diff)
downloadpkgsrc-4f163e91de076da158f802d97e2b4704741f8ae2.tar.gz
Imported deforaos-camera-0.0.1 as graphics/deforaos-camera (from wip)
DeforaOS Camera is a webcam application, able to take pictures. It is meant to be used as a photo camera application on embedded devices.
Diffstat (limited to 'graphics')
-rw-r--r--graphics/deforaos-camera/DESCR2
-rw-r--r--graphics/deforaos-camera/Makefile34
-rw-r--r--graphics/deforaos-camera/PLIST10
-rw-r--r--graphics/deforaos-camera/distinfo5
-rw-r--r--graphics/deforaos-camera/options.mk11
5 files changed, 62 insertions, 0 deletions
diff --git a/graphics/deforaos-camera/DESCR b/graphics/deforaos-camera/DESCR
new file mode 100644
index 00000000000..7cc208dac4c
--- /dev/null
+++ b/graphics/deforaos-camera/DESCR
@@ -0,0 +1,2 @@
+DeforaOS Camera is a webcam application, able to take pictures. It is meant to
+be used as a photo camera application on embedded devices.
diff --git a/graphics/deforaos-camera/Makefile b/graphics/deforaos-camera/Makefile
new file mode 100644
index 00000000000..cd30c8d7a36
--- /dev/null
+++ b/graphics/deforaos-camera/Makefile
@@ -0,0 +1,34 @@
+# $NetBSD: Makefile,v 1.1 2013/03/04 23:10:50 khorben Exp $
+#
+
+DISTNAME= Camera-0.0.1
+PKGNAME= deforaos-camera-0.0.1
+CATEGORIES= graphics
+MASTER_SITES= http://www.defora.org/os/download/download/4284/
+
+MAINTAINER= khorben@defora.org
+HOMEPAGE= http://www.defora.org/
+COMMENT= DeforaOS desktop camera
+LICENSE= gnu-gpl-v3
+
+USE_TOOLS+= pkg-config
+USE_TOOLS+= xgettext
+
+BUILD_DEPENDS+= libxslt-[0-9]*:../../textproc/libxslt
+BUILD_DEPENDS+= docbook-xsl-[0-9]*:../../textproc/docbook-xsl
+
+MAKE_FLAGS+= DESTDIR=${DESTDIR}
+MAKE_FLAGS+= PREFIX=${PREFIX}
+AUTO_MKDIRS= yes
+
+post-install:
+ ${MV} ${DESTDIR}${PREFIX}/share/man/man1/camera.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/camera.1
+ ${MV} ${DESTDIR}${PREFIX}/share/man/man1/gallery.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/gallery.1
+ ${RMDIR} ${DESTDIR}${PREFIX}/share/man/man1
+ ${RMDIR} ${DESTDIR}${PREFIX}/share/man
+
+.include "options.mk"
+
+.include "../../x11/deforaos-libdesktop/buildlink3.mk"
+.include "../../sysutils/desktop-file-utils/desktopdb.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/graphics/deforaos-camera/PLIST b/graphics/deforaos-camera/PLIST
new file mode 100644
index 00000000000..6eec2b72152
--- /dev/null
+++ b/graphics/deforaos-camera/PLIST
@@ -0,0 +1,10 @@
+@comment $NetBSD: PLIST,v 1.1 2013/03/04 23:10:50 khorben Exp $
+bin/camera
+bin/gallery
+man/man1/camera.1
+man/man1/gallery.1
+share/applications/camera.desktop
+share/applications/gallery.desktop
+share/doc/html/Camera/camera.html
+share/doc/html/Camera/gallery.html
+share/locale/fr/LC_MESSAGES/Camera.mo
diff --git a/graphics/deforaos-camera/distinfo b/graphics/deforaos-camera/distinfo
new file mode 100644
index 00000000000..d40f01bdf04
--- /dev/null
+++ b/graphics/deforaos-camera/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2013/03/04 23:10:50 khorben Exp $
+
+SHA1 (Camera-0.0.1.tar.gz) = 0cf78ec1105ee4395f6324362c5d85316efb5735
+RMD160 (Camera-0.0.1.tar.gz) = 4688536267bbaad3f281c1580a75f5d653561d1e
+Size (Camera-0.0.1.tar.gz) = 13682 bytes
diff --git a/graphics/deforaos-camera/options.mk b/graphics/deforaos-camera/options.mk
new file mode 100644
index 00000000000..5d0053adeaf
--- /dev/null
+++ b/graphics/deforaos-camera/options.mk
@@ -0,0 +1,11 @@
+# $NetBSD: options.mk,v 1.1 2013/03/04 23:10:50 khorben Exp $
+#
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.deforaos-camera
+PKG_SUPPORTED_OPTIONS= embedded
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Membedded)
+MAKE_FLAGS+= CPPFLAGS=-DEMBEDDED
+.endif