freebsd-ports/graphics/apvlv/Makefile
Brendan Fabeny dfe91aa6ae update DjVuLibre to 3.5.25.3 and adjust dependent ports: the QT3 GUI that was
formerly in graphics/djvulibre has been removed, and graphics/djvulibre-nox11
has been merged back into graphics/djvulibre
2012-06-13 04:49:48 +00:00

43 lines
965 B
Makefile

# New ports collection makefile for: apvlv
# Date created: 03 May 2010
# Whom: Ju Pengfei <jupengfei@gmail.com>
#
# $FreeBSD$
#
PORTNAME= apvlv
PORTVERSION= 0.1.2
PORTREVISION= 2
CATEGORIES= graphics
MASTER_SITES= http://cloud.github.com/downloads/naihe2010/apvlv/
DISTNAME= ${PORTNAME}-${PORTVERSION}-Source
MAINTAINER= xors@imap.cc
COMMENT= Apvlv is a PDF/DJVU Viewer and its behaviour like Vim
LICENSE= GPLv2
LIB_DEPENDS= poppler-glib.8:${PORTSDIR}/graphics/poppler-glib
USE_GNOME= gtk20
USE_CMAKE= yes
MAKE_JOBS_SAFE= yes
CMAKE_ARGS+= -DSYSCONFDIR=${PREFIX}/etc \
-DMANDIR=${MANPREFIX}/man \
-DDOCDIR=${DOCSDIR} \
-DAPVLV_WITH_UMD=OFF
MAN1= apvlv.1
OPTIONS= DJVU "Enable DJVU support" off
.include <bsd.port.options.mk>
.if defined(WITHOUT_DJVU)
CMAKE_ARGS+= -DAPVLV_WITH_DJVU=OFF
.else
CMAKE_ARGS+= -DAPVLV_WITH_DJVU=ON
LIB_DEPENDS+= djvulibre:${PORTSDIR}/graphics/djvulibre
.endif
.include <bsd.port.mk>