1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-25 09:34:11 +00:00
freebsd-ports/graphics/meh/Makefile
Mateusz Piotrowski b54909e8bf New port: graphics/meh
meh is a small, simple, super fast image viewer using raw XLib. It is
similar to feh, but faster and simpler.

meh can use ImageMagick’s convert to view almost 200 file formats, though
it is slower for these formats. Built in formats are JPEG, PNG, BMP, and
netpbm.

Features:
- Fast
- Tiny
- Fast JPEG, PNG, GIF and BMP support
- Fast netpbm support (.ppm, .pgm, .pbm, .pnm)
- ImageMagick support by calling convert
    - All ImageMagick formats (almost 200)
    - This allows limited support for PDF’s and SVG’s
- Scales images to window size
- Preserves aspect ratio (either via EWMH hints or by padding the window)
- XSHM Support
- Minimal dependencies (Xlib, libjpeg, libpng, giflib)

WWW: https://www.johnhawthorn.com/meh/
2020-04-15 16:56:43 +00:00

39 lines
842 B
Makefile

# Created by: Mateusz Piotrowski <0mp@FreeBSD.org>
# $FreeBSD$
PORTNAME= meh
DISTVERSIONPREFIX= v
DISTVERSION= 0.3-27
DISTVERSIONSUFFIX= -g69f653a
CATEGORIES= graphics
MAINTAINER= 0mp@FreeBSD.org
COMMENT= Simple image viewer using raw XLib convert from ImageMagick
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libgif.so:graphics/giflib \
libpng.so:graphics/png
RUN_DEPENDS= convert:graphics/ImageMagick7
USES= gmake jpeg localbase xorg
USE_GITHUB= yes
GH_ACCOUNT= jhawthorn
USE_XORG= x11 xext
ALL_TARGET= ${PORTNAME}
LIBS+= -lgif -ljpeg -lpng -lX11 -lXext
PLIST_FILES= bin/${PORTNAME} \
share/man/man1/${PORTNAME}.1.gz
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} \
${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/doc/${PORTNAME}.1 \
${STAGEDIR}${MAN1PREFIX}/share/man/man1
.include <bsd.port.mk>