diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2015-01-27 02:32:38 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2015-01-27 02:32:38 +0800 |
commit | fe76746cbd034e1ba6c1031a631f1045eec32b31 (patch) | |
tree | 690c8ffee597804eb05f0cb3f0fbe7b102d29d0d /graphics | |
parent | 84b639573bebc728ecdbe40e22e95fae8f170417 (diff) | |
download | freebsd-ports-gnome-fe76746cbd034e1ba6c1031a631f1045eec32b31.tar.gz freebsd-ports-gnome-fe76746cbd034e1ba6c1031a631f1045eec32b31.tar.zst freebsd-ports-gnome-fe76746cbd034e1ba6c1031a631f1045eec32b31.zip |
Sixel image dumper
Display png/jpeg/gif/bmp/pnm image on SIXEL-supported terminals.
WWW: https://github.com/uobikiemukot/sdump
PR: 196798
Submitted by: sue@iwmt.org
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/Makefile | 1 | ||||
-rw-r--r-- | graphics/sdump/Makefile | 43 | ||||
-rw-r--r-- | graphics/sdump/distinfo | 2 | ||||
-rw-r--r-- | graphics/sdump/pkg-descr | 4 |
4 files changed, 50 insertions, 0 deletions
diff --git a/graphics/Makefile b/graphics/Makefile index 1ba98d3eb7ea..2bbfc8dd8c1b 100644 --- a/graphics/Makefile +++ b/graphics/Makefile @@ -942,6 +942,7 @@ SUBDIR += sdl_gfx SUBDIR += sdl_image SUBDIR += sdl_ttf + SUBDIR += sdump SUBDIR += seam-carving-gui SUBDIR += seejpeg SUBDIR += seom diff --git a/graphics/sdump/Makefile b/graphics/sdump/Makefile new file mode 100644 index 000000000000..26c6c02eafc3 --- /dev/null +++ b/graphics/sdump/Makefile @@ -0,0 +1,43 @@ +# $FreeBSD$ + +PORTNAME= sdump +PORTVERSION= 2015.01.16 +CATEGORIES= graphics + +MAINTAINER= sue@iwmt.org +COMMENT= Sixel image dumper + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg \ + libpng.so:${PORTSDIR}/graphics/png \ + libsixel.so:${PORTSDIR}/graphics/libsixel + +USE_GITHUB= yes +GH_ACCOUNT= uobikiemukot +GH_PROJECT= sdump +GH_TAGNAME= ${GH_COMMIT} +GH_COMMIT= c5fb55b + +PLIST_FILES= bin/sdump libexec/w3m/yaimg-sixel + +MAKEFILE= makefile + +#CFLAGS += -I${LOCALBASE}/include -Wall -Wextra -std=c99 -pedantic -O3 -pipe -s +CFLAGS += -I${LOCALBASE}/include -std=c99 +LDFLAGS += -L${LOCALBASE}/lib -ljpeg -lpng -lsixel + +PORTDOCS= README.markdown + +post-build: + @cd ${WRKSRC}/yaimg-sixel && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/sdump ${STAGEDIR}${PREFIX}/bin/ + ${MKDIR} ${STAGEDIR}${PREFIX}/libexec/w3m/ + ${INSTALL_PROGRAM} ${WRKSRC}/yaimg-sixel/yaimg-sixel ${STAGEDIR}${PREFIX}/libexec/w3m/ + ${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README.markdown ${STAGEDIR}${DOCSDIR} + +.include <bsd.port.mk> diff --git a/graphics/sdump/distinfo b/graphics/sdump/distinfo new file mode 100644 index 000000000000..90a20fa654d9 --- /dev/null +++ b/graphics/sdump/distinfo @@ -0,0 +1,2 @@ +SHA256 (sdump-2015.01.16.tar.gz) = 72ff0b76cf088c56222b4c15c23e01d482bc24e3845def2f28d0ee56e8162c9a +SIZE (sdump-2015.01.16.tar.gz) = 175813 diff --git a/graphics/sdump/pkg-descr b/graphics/sdump/pkg-descr new file mode 100644 index 000000000000..94064666a1d4 --- /dev/null +++ b/graphics/sdump/pkg-descr @@ -0,0 +1,4 @@ +Sixel image dumper +Display png/jpeg/gif/bmp/pnm image on SIXEL-supported terminals. + +WWW: https://github.com/uobikiemukot/sdump |