1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-07 06:40:06 +00:00
freebsd-ports/graphics/apvlv/Makefile
Antoine Brodin 5ce69cf868 Mark BROKEN: fails to build
src/ApvlvCmds.cc:203:41: error: comparison between pointer and integer ('char *' and 'int')
      && (e = strchr ((char *) s, '>')) != '\0' && *(s + 2) != '-')
         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^  ~~~~

Reported by:	pkg-fallout
2018-11-04 12:26:10 +00:00

46 lines
1007 B
Makefile

# Created by: Ju Pengfei <jupengfei@gmail.com>
# $FreeBSD$
PORTNAME= apvlv
PORTVERSION= 0.1.4
PORTREVISION= 10
CATEGORIES= graphics
MASTER_SITES= GHC
DISTNAME= ${PORTNAME}-${PORTVERSION}-Source
MAINTAINER= xors@mailup.net
COMMENT= PDF/DJVU Viewer that behaves like Vim
LICENSE= GPLv2
BROKEN= fails to build
LIB_DEPENDS= libpoppler-glib.so: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:graphics/djvulibre
WEBKIT_CMAKE_ON= -DAPVLV_WITH_HTML=ON
WEBKIT_CMAKE_OFF= -DAPVLV_WITH_HTML=OFF
WEBKIT_LIB_DEPENDS= libwebkitgtk-1.0.so:www/webkit-gtk2
.include <bsd.port.mk>