openbsd-ports/productivity/workrave/Makefile

66 lines
2.0 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.26 2011/07/27 17:46:22 naddy Exp $
COMMENT= reminder program for prevention of RSI
2011-01-16 15:34:40 -05:00
DISTNAME= workrave-1.9.3
CATEGORIES= productivity x11
REVISION= 2
2010-05-13 04:20:09 -04:00
HOMEPAGE= http://www.workrave.org/
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
2007-11-12 17:05:41 -05:00
2010-05-13 08:29:25 -04:00
WANTLIB += ICE ORBit-2 ORBitCosNaming-2 SM X11 Xau Xcomposite
WANTLIB += Xcursor Xdamage Xdmcp Xext Xfixes Xi Xinerama Xrandr
2011-01-16 15:34:40 -05:00
WANTLIB += Xrender Xtst art_lgpl_2 atk-1.0
WANTLIB += bonobo-2 bonobo-activation bonoboui-2 c
2010-05-13 08:29:25 -04:00
WANTLIB += cairo cairomm-1.0 crypto dbus-1 dbus-glib-1 expat fontconfig
WANTLIB += freetype gailutil gconf-2 gdk-x11-2.0 gdk_pixbuf-2.0
2010-10-11 04:11:24 -04:00
WANTLIB += gio-2.0 giomm-2.4 glib-2.0 glibmm-2.4 gmodule-2.0
2010-05-13 08:29:25 -04:00
WANTLIB += gnome-2 gnomecanvas-2 gnomevfs-2 gobject-2.0 gthread-2.0
WANTLIB += gtk-x11-2.0 m pango-1.0 pangocairo-1.0 pangoft2-1.0
WANTLIB += pangomm-1.4 pcre pixman-1 png popt pthread pthread-stubs
2011-01-16 15:34:40 -05:00
WANTLIB += sigc-2.0 ssl stdc++ util xcb xcb-render
WANTLIB += xml2 z atkmm-1.6 xcb-shm
WANTLIB += gstreamer-0.10 panel-applet-2 gdkmm-2.4 gtkmm-2.4
WANTLIB += GL Xxf86vm canberra drm ltdl ogg vorbis vorbisfile
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=workrave/}
2010-11-20 04:48:38 -05:00
BUILD_DEPENDS= devel/py-cheetah
LIB_DEPENDS= multimedia/gstreamer-0.10/core \
x11/gnome/panel \
x11/gtk2mm
MODULES= devel/gettext \
2010-05-13 08:29:25 -04:00
lang/python \
textproc/intltool
USE_LIBTOOL= Yes
USE_GMAKE= Yes
CFLAGS+= -DNDEBUG
CONFIGURE_STYLE= gnu
2010-05-13 08:29:25 -04:00
CONFIGURE_ARGS+= --disable-xml \
2011-01-16 15:34:40 -05:00
--disable-pulse \
2010-05-13 08:29:25 -04:00
--enable-dbus
2009-10-15 20:58:43 -04:00
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib"
pre-configure:
2010-05-13 08:29:25 -04:00
${SUBST_CMD} ${WRKSRC}/frontend/gtkmm/src/Makefile.in \
${WRKSRC}/frontend/gtkmm/src/gnome_applet/Makefile.in
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/workrave/sound/events
${INSTALL_DATA} ${WRKSRC}/frontend/common/share/sounds/workrave.soundlist \
${PREFIX}/share/examples/workrave/sound/events
.include <bsd.port.mk>