pkgsrc-wip/litehtml/Makefile
Thomas Klausner 88f909f047 litehtml: add new package
litehtml is the lightweight HTML rendering engine with CSS2/CSS3
support. Note, litehtml itself does not draw any text, pictures or
other graphics and litehtml does not depend of any image/draw/font
library. You are free to use any library to draw images, fonts and
any other graphics. litehtml just parses HTML/CSS and places the
HTML elements into right position (renders HTML). To draw the html
elemens you have to implement the simple callback interface
document_container.

Untested, since no user in pkgsrc yet, but gnucash might use this
in the future.
2017-04-17 01:16:04 +02:00

24 lines
697 B
Makefile

# $NetBSD$
DISTNAME= litehtml-0.4.0.20170407
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_GITHUB:=litehtml/}
GITHUB_TAG= d7cc6abfe1141770718404aaf9b17db80ed3f196
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.litehtml.com/
COMMENT= Fast and lightweight HTML/CSS rendering engine
LICENSE= modified-bsd
USE_CMAKE= yes
USE_LANGUAGES= c c++
INSTALLATION_DIRS= include/litehtml/litehtml include/litehtml/src lib
do-install:
${INSTALL_DATA} ${WRKSRC}/include/litehtml.h ${DESTDIR}${PREFIX}/include/litehtml/litehtml
${INSTALL_DATA} ${WRKSRC}/src/*.h ${DESTDIR}${PREFIX}/include/litehtml/src
${INSTALL_LIB} ${WRKSRC}/liblitehtml.a ${DESTDIR}${PREFIX}/lib
.include "../../mk/bsd.pkg.mk"