2013-09-09 18:54:28 +00:00
|
|
|
# Created by: Ju Pengfei <jupengfei@gmail.com>
|
2010-05-04 03:23:13 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= apvlv
|
2012-10-07 11:29:24 +00:00
|
|
|
PORTVERSION= 0.1.4
|
2013-12-27 16:54:21 +00:00
|
|
|
PORTREVISION= 2
|
2010-05-04 03:23:13 +00:00
|
|
|
CATEGORIES= graphics
|
2011-10-18 01:29:43 +00:00
|
|
|
MASTER_SITES= http://cloud.github.com/downloads/naihe2010/apvlv/
|
|
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION}-Source
|
2010-05-04 03:23:13 +00:00
|
|
|
|
2012-10-07 11:29:24 +00:00
|
|
|
MAINTAINER= xors@mailup.net
|
|
|
|
COMMENT= PDF/DJVU Viewer that behaves like Vim
|
2011-10-18 01:29:43 +00:00
|
|
|
|
|
|
|
LICENSE= GPLv2
|
2010-05-04 03:23:13 +00:00
|
|
|
|
2013-09-26 14:07:08 +00:00
|
|
|
LIB_DEPENDS= libpoppler-glib.so:${PORTSDIR}/graphics/poppler-glib
|
2010-05-04 03:23:13 +00:00
|
|
|
|
2011-10-31 09:53:19 +00:00
|
|
|
USE_GNOME= gtk20
|
2013-09-09 18:54:28 +00:00
|
|
|
USES= cmake pkgconfig
|
2011-10-18 01:29:43 +00:00
|
|
|
CMAKE_ARGS+= -DSYSCONFDIR=${PREFIX}/etc \
|
|
|
|
-DMANDIR=${MANPREFIX}/man \
|
|
|
|
-DDOCDIR=${DOCSDIR} \
|
2012-10-07 11:29:24 +00:00
|
|
|
-DAPVLV_WITH_UMD=OFF \
|
|
|
|
-DAPVLV_WITH_TXT=ON
|
2013-11-04 14:57:27 +00:00
|
|
|
CFLAGS+= -pthread
|
|
|
|
LDFLAGS+= -pthread
|
2010-05-04 03:23:13 +00:00
|
|
|
|
2012-10-07 11:29:24 +00:00
|
|
|
OPTIONS_DEFINE= DJVU WEBKIT
|
|
|
|
|
2013-09-26 14:07:08 +00:00
|
|
|
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
|
2011-10-18 01:29:43 +00:00
|
|
|
|
2010-05-04 03:23:13 +00:00
|
|
|
.include <bsd.port.mk>
|