91fc623da0
no pkg change, no bump
44 lines
1.2 KiB
Makefile
44 lines
1.2 KiB
Makefile
# $OpenBSD: Makefile,v 1.2 2008/11/28 15:34:26 ajacoutot Exp $
|
|
|
|
COMMENT= time tracker applet for GNOME
|
|
|
|
GNOME_PROJECT= hamster-applet
|
|
GNOME_VERSION= 2.24.2
|
|
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 \
|
|
Xi Xinerama Xrandr Xrender atk-1.0 cairo expat fontconfig \
|
|
freetype gdk-x11-2.0 gdk_pixbuf-2.0 gio-2.0 glib-2.0 \
|
|
glitz gmodule-2.0 gobject-2.0 gtk-x11-2.0 m pango-1.0 \
|
|
pangocairo-1.0 pangoft2-1.0 pcre pixman-1 png z
|
|
|
|
MODULES= devel/gettext \
|
|
lang/python \
|
|
x11/gnome
|
|
|
|
USE_X11= Yes
|
|
|
|
# controlcenter2 is needed for custom keybindings
|
|
BUILD_DEPENDS= ${RUN_DEPENDS}
|
|
RUN_DEPENDS= :python-sqlite-${MODPY_VERSION}*:lang/python/${MODPY_VERSION},-sqlite \
|
|
::x11/gnome/controlcenter2 \
|
|
::x11/gnome/py-gnome-desktop
|
|
|
|
CONFIGURE_ARGS+= ${CONFIGURE_SHARED} \
|
|
--with-gconf-schema-file-dir=${LOCALBASE}/share/schemas/hamster-applet
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
LDFLAGS="-L${LOCALBASE}/lib" \
|
|
PYTHON="${MODPY_BIN}"
|
|
pre-configure:
|
|
${SUBST_CMD} ${WRKSRC}/hamster/hamster-applet.py
|
|
|
|
.include <bsd.port.mk>
|