openbsd-ports/productivity/workrave/Makefile
2007-11-12 22:05:41 +00:00

56 lines
1.7 KiB
Makefile

# $OpenBSD: Makefile,v 1.2 2007/11/12 22:05:41 jasper Exp $
COMMENT= reminder program for prevention of RSI
DISTNAME= workrave-1.8.5
CATEGORIES= productivity x11
HOMEPAGE= http://www.workrave.org/welcome/
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= ICE ORBit-2 ORBitCosNaming-2 SM X11 Xau Xcomposite \
Xcursor Xdamage Xdmcp Xext Xfixes Xi Xinerama Xmu Xrandr \
Xrender Xt Xtst art_lgpl_2 atk-1.0 atkmm-1.6 audiofile \
bonobo-2 bonobo-activation bonoboui-2 c cairo cairomm-1.0 \
crypto dbus-1 dbus-glib-1 esd expat fontconfig freetype \
gailutil gconf-2 gconfmm-2.6 gdk-x11-2.0 gdk_pixbuf-2.0 \
gdkmm-2.4 glade-2.0 glademm-2.4 glib-2.0 glibmm-2.4 \
glitz gmodule-2.0 gnome-2 gnome-keyring gnomecanvas-2 \
gnomecanvasmm-2.6 gnomemm-2.6 gnomeui-2 gnomevfs-2 \
gnomevfsmm-2.6 gobject-2.0 gthread-2.0 gtk-x11-2.0 \
gtkmm-2.4 jpeg m pango-1.0 pangocairo-1.0 pangoft2-1.0 \
pangomm-1.4 pcre png popt pthread sigc-2.0 ssl stdc++ \
util xml2 z
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=workrave/}
BUILD_DEPENDS= ::textproc/p5-XML-Parser
LIB_DEPENDS= gnet-2.0::net/gnet \
gnomeuimm-2.6::x11/gnome/libgnomeuimm \
panel-applet-2::x11/gnome/panel
MODULES= devel/gettext
USE_X11= Yes
USE_LIBTOOL= Yes
USE_GMAKE= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib" \
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>
CONFIGURE_ARGS+= --sysconfdir="${SYSCONFDIR}/gnome"