diff --git a/graphics/imv/Makefile b/graphics/imv/Makefile new file mode 100644 index 00000000000..158824b3304 --- /dev/null +++ b/graphics/imv/Makefile @@ -0,0 +1,30 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2016/07/10 10:27:56 czarkoff Exp $ + +GH_ACCOUNT = eXeC64 +GH_PROJECT = imv +GH_TAGNAME = v2.1.1 + +COMMENT = simple image viewer +CATEGORIES = graphics x11 +MAINTAINER = Dmitrij D. Czarkoff + +# GPLv2+ +PERMIT_PACKAGE_CDROM = Yes + +WANTLIB += SDL2 SDL2_ttf c fontconfig freeimage pthread + +LIB_DEPENDS = devel/sdl2 \ + devel/sdl2-ttf \ + graphics/freeimage +RUN_DEPENDS = devel/desktop-file-utils +TEST_DEPENDS = devel/cmocka + +MAKE_FLAGS += V=1 BUILDDIR="${WRKDIR}/build-${ARCH}" +FAKE_FLAGS += $(MAKE_FLAGS) MANPREFIX=${PREFIX}/man PREFIX=${PREFIX} + +USE_GMAKE = Yes + +ALL_TARGET = imv +TEST_TARGET = check + +.include diff --git a/graphics/imv/distinfo b/graphics/imv/distinfo new file mode 100644 index 00000000000..bbe5173b2d5 --- /dev/null +++ b/graphics/imv/distinfo @@ -0,0 +1,2 @@ +SHA256 (imv-2.1.1.tar.gz) = zfxcC0wWMnL9fzuHLolGQNUM1zUIiQSz5GWNVcqVlY4= +SIZE (imv-2.1.1.tar.gz) = 27107 diff --git a/graphics/imv/pkg/DESCR b/graphics/imv/pkg/DESCR new file mode 100644 index 00000000000..2a8f2b4b0b3 --- /dev/null +++ b/graphics/imv/pkg/DESCR @@ -0,0 +1,2 @@ +Minimalist command-line image viewer with support for over 30 image formats +including Adobe Photoshop .psd files, animated GIFs and various raw formats. diff --git a/graphics/imv/pkg/PLIST b/graphics/imv/pkg/PLIST new file mode 100644 index 00000000000..403effe8e1c --- /dev/null +++ b/graphics/imv/pkg/PLIST @@ -0,0 +1,6 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2016/07/10 10:27:56 czarkoff Exp $ +@bin bin/imv +@man man/man1/imv.1 +share/applications/imv.desktop +@exec %D/bin/update-desktop-database +@unexec-delete %D/bin/update-desktop-database