Makefile 943 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. # $OpenBSD: Makefile,v 1.29 2017/05/10 02:20:22 schwarze Exp $
  2. COMMENT= portable DjVu viewer and browser plugin
  3. DISTNAME= djview-4.10.6
  4. PKGNAME= ${DISTNAME:S/djview/djview4/}
  5. REVISION= 0
  6. CATEGORIES= graphics print
  7. HOMEPAGE= http://djvu.sourceforge.net/djview4.html
  8. MAINTAINER= Alexandr Shadchin <shadchin@openbsd.org>
  9. # GPLv2
  10. PERMIT_PACKAGE_CDROM= Yes
  11. WANTLIB += GL ICE QtGui QtNetwork QtOpenGL SM X11 Xext Xi Xinerama
  12. WANTLIB += Xrender c djvulibre fontconfig freetype glib-2.0 m
  13. WANTLIB += pcre pthread ${LIBCXX} tiff
  14. MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=djvu/}
  15. MODULES= x11/qt4 devel/gettext
  16. LIB_DEPENDS= graphics/djvulibre
  17. RUN_DEPENDS= devel/desktop-file-utils \
  18. x11/gtk+3,-guic
  19. USE_GMAKE= Yes
  20. CONFIGURE_STYLE=gnu
  21. CONFIGURE_ARGS= --with-tiff=${LOCALBASE}
  22. CONFIGURE_ENV+= QTDIR="${MODQT4_QTDIR}" \
  23. CPPFLAGS="-I${X11BASE}/include"
  24. MAKE_ENV+= V=1
  25. NO_TEST= Yes
  26. LIBTOOL_FLAGS= --tag=disable-static
  27. .include <bsd.port.mk>