freebsd-ports/graphics/sdump/Makefile
Dmitry Marakasov caa008acfa 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
2015-01-26 18:32:38 +00:00

43 lines
1.1 KiB
Makefile

# $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>