diff --git a/graphics/deforaos-camera/DESCR b/graphics/deforaos-camera/DESCR new file mode 100644 index 000000000000..7cc208dac4cf --- /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 000000000000..cd30c8d7a363 --- /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 000000000000..6eec2b721520 --- /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 000000000000..d40f01bdf046 --- /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 000000000000..5d0053adeaf6 --- /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