openbsd-ports/x11/gnome/hamster-applet/Makefile
ajacoutot e3206cc93b Major update to hamster-applet-2.30.0.1.
Initial work from jasper@
2010-04-24 11:08:21 +00:00

50 lines
1.3 KiB
Makefile

# $OpenBSD: Makefile,v 1.19 2010/04/24 11:08:21 ajacoutot Exp $
COMMENT= time tracker applet for GNOME
GNOME_PROJECT= hamster-applet
GNOME_VERSION= 2.30.0.1
CATEGORIES= productivity
HOMEPAGE= http://live.gnome.org/ProjectHamster
# GPLv3
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB += X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext Xfixes
WANTLIB += Xi Xinerama Xrandr Xrender atk-1.0 cairo expat ffi
WANTLIB += fontconfig freetype gdk-x11-2.0 gdk_pixbuf-2.0 gio-2.0
WANTLIB += glib-2.0 glitz gmodule-2.0 gobject-2.0 gtk-x11-2.0
WANTLIB += m pango-1.0 pangocairo-1.0 pangoft2-1.0 pcre pixman-1
WANTLIB += png pthread-stubs xcb z gthread-2.0 xcb-render
WANTLIB += xcb-render-util
MODULES= devel/gettext \
lang/python \
x11/gnome \
devel/gconf2
USE_X11= Yes
MODGCONF2_SCHEMAS_DIR= hamster-applet
MODGCONF2_LIBDEP= No
# controlcenter2 is needed for custom keybindings
BUILD_DEPENDS= ${RUN_DEPENDS}
RUN_DEPENDS= ::x11/gnome/controlcenter2 \
::x11/gnome/py-gnome-desktop
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
pre-configure:
${SUBST_CMD} ${WRKSRC}/src/hamster-applet.py \
${WRKSRC}/src/gnome-time-tracker \
${WRKSRC}/src/hamster-standalone
.include <bsd.port.mk>