Makefile 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. # $OpenBSD: Makefile,v 1.27 2017/01/03 18:54:48 shadchin Exp $
  2. COMMENT= automatic color temperature adjustment
  3. GH_PROJECT= redshift
  4. GH_ACCOUNT= jonls
  5. GH_TAGNAME= v1.11
  6. REVISION= 0
  7. CATEGORIES= misc graphics
  8. HOMEPAGE= http://jonls.dk/redshift/
  9. # GPLv3
  10. PERMIT_PACKAGE_CDROM= Yes
  11. WANTLIB += X11 Xau Xdmcp Xext Xxf86vm c drm ffi gio-2.0 glib-2.0
  12. WANTLIB += gmodule-2.0 gobject-2.0 m pcre pthread pthread-stubs
  13. WANTLIB += xcb xcb-randr xcb-render z
  14. MODULES= devel/gettext \
  15. lang/python \
  16. textproc/intltool
  17. MODPY_VERSION= ${MODPY_DEFAULT_VERSION_3}
  18. MODPY_ADJ_FILES= src/redshift-gtk/redshift-gtk.in
  19. LIB_DEPENDS= devel/glib2
  20. RUN_DEPENDS= devel/desktop-file-utils \
  21. devel/py-gobject3${MODPY_FLAVOR} \
  22. devel/py-xdg${MODPY_FLAVOR} \
  23. geo/geoclue2 \
  24. x11/gtk+3,-guic
  25. # pygobject GTK3 introspection (not provided by indirect dependencies)
  26. RUN_DEPENDS += x11/gtk+3
  27. USE_GMAKE= Yes
  28. CONFIGURE_STYLE= gnu
  29. CONFIGURE_ARGS= --enable-gui \
  30. --disable-geoclue
  31. AUTOCONF_VERSION= 2.69
  32. AUTOMAKE_VERSION= 1.14
  33. BUILD_DEPENDS += ${MODGNU_AUTOCONF_DEPENDS} \
  34. ${MODGNU_AUTOMAKE_DEPENDS} \
  35. devel/libtool
  36. pre-configure:
  37. cd ${WRKSRC} && \
  38. AUTOCONF_VERSION=${AUTOCONF_VERSION} \
  39. AUTOMAKE_VERSION=${AUTOMAKE_VERSION} \
  40. ./bootstrap
  41. .include <bsd.port.mk>