Makefile 951 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. # $OpenBSD: Makefile,v 1.82 2017/06/09 10:20:22 dcoppa Exp $
  2. COMMENT= lightweight image viewer
  3. DISTNAME= feh-2.19
  4. EXTRACT_SUFX= .tar.bz2
  5. CATEGORIES= graphics
  6. HOMEPAGE= http://feh.finalrewind.org/
  7. MAINTAINER= David Coppa <dcoppa@openbsd.org>
  8. # BSD
  9. PERMIT_PACKAGE_CDROM= Yes
  10. WANTLIB= Imlib2 X11 Xinerama c curl exif m png
  11. MASTER_SITES= ${HOMEPAGE}
  12. LIB_DEPENDS= graphics/imlib2 \
  13. graphics/libexif \
  14. net/curl
  15. RUN_DEPENDS+= devel/desktop-file-utils \
  16. x11/gtk+3,-guic
  17. CFLAGS+= -I${LOCALBASE}/include \
  18. -I${X11BASE}/include
  19. LDFLAGS+= -L${LOCALBASE}/lib -L${X11BASE}/lib
  20. MAKE_FLAGS= LDFLAGS="${LDFLAGS}" man_dir="${DESTDIR}${PREFIX}/man" \
  21. example_dir="${DESTDIR}${PREFIX}/share/examples/feh"
  22. FAKE_FLAGS= PREFIX="${PREFIX}"
  23. USE_GMAKE= Yes
  24. NO_TEST= Yes
  25. post-configure:
  26. ${SUBST_CMD} ${WRKSRC}/examples/themes ${WRKSRC}/man/feh.pre \
  27. ${WRKSRC}/src/events.c ${WRKSRC}/src/keyevents.c \
  28. ${WRKSRC}/src/options.c
  29. .include <bsd.port.mk>