openbsd-ports/misc/redshift/Makefile
ajacoutot edbd4cb711 Remove the librsvg dependency from the gtk ports, _except_ when it's a
build or lib depends... i.e. just remove the RUN_DEPENDS.
2013-04-02 16:41:21 +00:00

44 lines
896 B
Makefile

# $OpenBSD: Makefile,v 1.16 2013/04/02 16:41:21 ajacoutot Exp $
COMMENT= automatic color temperature adjustment
V= 1.7
DISTNAME= redshift-${V}
REVISION= 4
EXTRACT_SUFX= .tar.bz2
CATEGORIES= misc
HOMEPAGE= http://jonls.dk/redshift/
# GPLv3
PERMIT_PACKAGE_CDROM= Yes
WANTLIB += X11 Xxf86vm c dbus-1 dbus-glib-1 gconf-2 geoclue glib-2.0
WANTLIB += gobject-2.0 gthread-2.0 m pthread xcb xcb-randr xml2
MASTER_SITES= http://launchpad.net/redshift/trunk/${V:C/^([0-9]+\.[0-9]+).*/\1/}/+download/
RUN_DEPENDS= devel/desktop-file-utils \
x11/py-gtk2 \
devel/py-xdg \
x11/gtk+2,-guic
LIB_DEPENDS= devel/gconf2 \
geo/geoclue
MODULES= devel/gettext \
lang/python
USE_GMAKE= Yes
CONFIGURE_STYLE=gnu
CONFIGURE_ARGS= --enable-randr \
--enable-vidmode \
--enable-geoclue \
--enable-gnome-clock \
--enable-gui
MODPY_ADJ_FILES= src/gtk-redshift/gtk-redshift
.include <bsd.port.mk>