blob: 1de8bc12634528dbc2f68870382dd55c0eee087e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# Created by: Ju Pengfei <jupengfei@gmail.com>
# $FreeBSD$
PORTNAME= apvlv
PORTVERSION= 0.1.4
PORTREVISION= 6
CATEGORIES= graphics
MASTER_SITES= GHC
DISTNAME= ${PORTNAME}-${PORTVERSION}-Source
MAINTAINER= xors@mailup.net
COMMENT= PDF/DJVU Viewer that behaves like Vim
LICENSE= GPLv2
LIB_DEPENDS= libpoppler-glib.so:${PORTSDIR}/graphics/poppler-glib
USE_GNOME= gtk20
USES= cmake pkgconfig
USE_GITHUB= yes
GH_ACCOUNT= naihe2010
CMAKE_ARGS+= -DSYSCONFDIR=${PREFIX}/etc \
-DMANDIR=${MANPREFIX}/man \
-DDOCDIR=${DOCSDIR} \
-DAPVLV_WITH_UMD=OFF \
-DAPVLV_WITH_TXT=ON
CFLAGS+= -pthread
LDFLAGS+= -pthread
WRKSRC= ${WRKDIR}/${DISTNAME}
OPTIONS_DEFINE= DJVU WEBKIT
DJVU_DESC= DjVu document support
DJVU_CMAKE_ON= -DAPVLV_WITH_DJVU=ON
DJVU_CMAKE_OFF= -DAPVLV_WITH_DJVU=OFF
DJVU_LIB_DEPENDS= libdjvulibre.so:${PORTSDIR}/graphics/djvulibre
WEBKIT_CMAKE_ON= -DAPVLV_WITH_HTML=ON
WEBKIT_CMAKE_OFF= -DAPVLV_WITH_HTML=OFF
WEBKIT_LIB_DEPENDS= libwebkitgtk-1.0.so:${PORTSDIR}/www/webkit-gtk2
.include <bsd.port.mk>
|