openbsd-ports/x11/gnome/genius/Makefile
2010-10-18 12:26:04 +00:00

54 lines
1.3 KiB
Makefile

# $OpenBSD: Makefile,v 1.15 2010/10/18 12:26:04 jasper Exp $
BROKEN= console is never spawned - pthreads(3) bug?
SHARED_ONLY= Yes
COMMENT= advanced general purpose calculator
GNOME_PROJECT= genius
GNOME_VERSION= 1.0.11
REVISION= 0
HOMEPAGE= http://www.jirka.org/genius.html
CATEGORIES= math
# GPLv3
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB += xcb-render X11 Xau Xcomposite Xcursor Xdamage Xdmcp
WANTLIB += Xext Xfixes Xi Xinerama Xrandr Xrender atk-1.0
WANTLIB += c cairo expat fontconfig xcb-render-util
WANTLIB += freetype gdk-x11-2.0 gdk_pixbuf-2.0 gio-2.0
WANTLIB += glib-2.0 gmodule-2.0 gobject-2.0 gthread-2.0
WANTLIB += gtk-x11-2.0 m ncurses pango-1.0 pangocairo-1.0 pangoft2-1.0
WANTLIB += pcre pixman-1 png pthread readline pthread-stubs xcb
WANTLIB += termcap xml2 z
WANTLIB += gtksourceview-2.0 gmp mpfr vte
MODULES= devel/gettext \
x11/gnome
RUN_DEPENDS= :shared-mime-info->=0.21:misc/shared-mime-info
LIB_DEPENDS= ::x11/gtksourceview \
::devel/gmp \
::devel/mpfr \
::devel/vte
MODGNOME_HELP_FILES= Yes
DESKTOP_FILES= Yes
USE_X11= Yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib -lgmp"
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
--disable-scrollkeeper \
--disable-update-mimedb \
--disable-extra-gcc-optimization
.include <bsd.port.mk>