1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-05 06:27:37 +00:00

khtml2png is a command line program to create screenshots of webpages. It

uses libkhtml (the library that is used in the KDE webbrowser Konqueror) and
Qt to do graphic conversion.

WWW: http://khtml2png.sourceforge.net/
This commit is contained in:
Rong-En Fan 2007-12-13 10:01:29 +00:00
parent d14961fb21
commit 01d3b2f4c0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=203460
5 changed files with 48 additions and 0 deletions

View File

@ -258,6 +258,7 @@
SUBDIR += kazehakase
SUBDIR += kdedict
SUBDIR += kdewebdev
SUBDIR += khtml2png
SUBDIR += knowledgekit
SUBDIR += kompozer
SUBDIR += larbin

37
www/khtml2png/Makefile Normal file
View File

@ -0,0 +1,37 @@
# New ports collection makefile for: www/khtml2png
# Date created: Nov 27 2007
# Whom: Rong-En Fan <rafan@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= khtml2png
DISTVERSION= 2.6.7a
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= rafan@FreeBSD.org
COMMENT= Command line program to create screenshots of webpages
BUILD_DEPENDS= cmake:${PORTSDIR}/devel/cmake
USE_KDELIBS_VER= 3
CMAKE?= ${LOCALBASE}/bin/cmake
CMAKE_ARGS= -DCMAKE_BUILD_TYPE:STRING=Release \
-DCMAKE_C_COMPILER:STRING='${CC}' \
-DCMAKE_CXX_COMPILER:STRING=${CXX} \
-DCMAKE_CXX_FLAGS:STRING="${CXXFLAGS}" \
-DCMAKE_INSTALL_PREFIX=${PREFIX}
PLIST_FILES= bin/khtml2png2
.include <bsd.port.pre.mk>
do-configure:
@cd ${WRKSRC} && ${CMAKE} ${CMAKE_ARGS} -G KDevelop3 ${WRKSRC} && \
${CMAKE} ${CMAKE_ARGS} ${WRKSRC}
.include <bsd.port.post.mk>

3
www/khtml2png/distinfo Normal file
View File

@ -0,0 +1,3 @@
MD5 (khtml2png-2.6.7a.tar.gz) = 43a2514147b33f84ad85d4d841184ca3
SHA256 (khtml2png-2.6.7a.tar.gz) = 4709800a22f4c1c02264b36c492ce6be256a75bc2fae1175faf69b46b4b73aaa
SIZE (khtml2png-2.6.7a.tar.gz) = 7727

5
www/khtml2png/pkg-descr Normal file
View File

@ -0,0 +1,5 @@
khtml2png is a command line program to create screenshots of webpages. It
uses libkhtml (the library that is used in the KDE webbrowser Konqueror) and
Qt to do graphic conversion.
WWW: http://khtml2png.sourceforge.net/

View File

@ -0,0 +1,2 @@
khtml2png requires an X window display. If you don't have it, you can
use either VNC or X Virtual Frame Buffer server (xorg-vfbserver).