Makefile 890 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. # $OpenBSD: Makefile,v 1.38 2017/05/10 02:20:22 schwarze Exp $
  2. COMMENT= view, decode and encode DjVu files
  3. DISTNAME= djvulibre-3.5.27
  4. REVISION= 1
  5. SHARED_LIBS= djvulibre 26.0 # 27.0
  6. CATEGORIES= graphics print
  7. HOMEPAGE= http://djvu.sourceforge.net/
  8. MAINTAINER= Alexandr Shadchin <shadchin@openbsd.org>
  9. # GPLv2
  10. PERMIT_PACKAGE_CDROM= Yes
  11. MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=djvu/}
  12. WANTLIB= c iconv m jpeg pthread ${LIBCXX} tiff z
  13. LIB_DEPENDS= converters/libiconv \
  14. graphics/jpeg \
  15. graphics/tiff
  16. RUN_DEPENDS+= misc/shared-mime-info \
  17. x11/gtk+3,-guic
  18. BUILD_DEPENDS+= x11/gnome/librsvg
  19. USE_GMAKE= Yes
  20. AUTOCONF_VERSION= 2.69
  21. CONFIGURE_STYLE= autoconf
  22. CONFIGURE_ARGS= --with-extra-includes=${LOCALBASE}/include \
  23. --with-jpeg=${LOCALBASE} \
  24. --with-tiff=${LOCALBASE}
  25. CONFIGURE_ENV+= LDFLAGS='${LDFLAGS} -L${LOCALBASE}/lib -liconv'
  26. NO_TEST= Yes
  27. .include <bsd.port.mk>