openbsd-ports/x11/gnome/hamster-applet/Makefile
ajacoutot 0070e11661 Use @unexec-delete instead of @unexec for the *-update-* goos and remove
@unexec for theme ports.

prodded by espie@ after me whining at the ports system ;)
discussed with espie@ sthen@ landry@
2009-12-21 18:03:17 +00:00

47 lines
1.2 KiB
Makefile

# $OpenBSD: Makefile,v 1.18 2009/12/21 18:03:18 ajacoutot Exp $
COMMENT= time tracker applet for GNOME
GNOME_PROJECT= hamster-applet
GNOME_VERSION= 2.28.2
PKGNAME= ${DISTNAME}p0
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
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}/hamster/hamster-applet.py
.include <bsd.port.mk>