a1b7c39eb5
Don't redirect errors to /dev/null and don't return true(1) unconditionally. Instead, don't check for the existence of index.theme. This will allow us to catch errors that may be happening because of a missing dependency in the chain. Some hidden issues may appear, in which case please contact me. discussed with and ok blind jasper@
42 lines
890 B
Makefile
42 lines
890 B
Makefile
# $OpenBSD: Makefile,v 1.16 2012/06/15 08:32:16 ajacoutot Exp $
|
|
|
|
COMMENT= portable DjVu viewer and browser plugin
|
|
|
|
DISTNAME= djview-4.8
|
|
PKGNAME= ${DISTNAME:S/djview/djview4/}
|
|
CATEGORIES= graphics print
|
|
REVISION= 2
|
|
|
|
HOMEPAGE= http://djvu.sourceforge.net/djview4.html
|
|
|
|
MAINTAINER= Alexandr Shadchin <shadchin@openbsd.org>
|
|
|
|
# GPLv2
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=djvu/}
|
|
|
|
WANTLIB += QtGui QtNetwork X11 Xext c djvulibre m pthread stdc++ tiff
|
|
|
|
MODULES= x11/qt4
|
|
|
|
LIB_DEPENDS= graphics/djvulibre
|
|
|
|
RUN_DEPENDS= devel/desktop-file-utils \
|
|
x11/gtk+2,-guic
|
|
|
|
USE_GMAKE= Yes
|
|
USE_LIBTOOL= Yes
|
|
USE_GROFF = Yes
|
|
CONFIGURE_STYLE=gnu
|
|
CONFIGURE_ARGS= --with-tiff=${LOCALBASE}
|
|
CONFIGURE_ENV+= QTDIR="${MODQT4_QTDIR}" \
|
|
CPPFLAGS="-I${X11BASE}/include"
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
.include <bsd.port.mk>
|