openbsd-ports/x11/gnome/mag/Makefile
2010-11-22 08:36:47 +00:00

50 lines
1.4 KiB
Makefile

# $OpenBSD: Makefile,v 1.23 2010/11/22 08:36:58 espie Exp $
COMMENT= screen magnifier for the GNOME desktop
GNOME_PROJECT= gnome-mag
GNOME_VERSION= 0.16.3
SHARED_LIBS += gnome-mag 1.0 # .5.9
CATEGORIES= sysutils
HOMEPAGE= https://launchpad.net/gnome-mag
# LGPLv2
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
WANTLIB += Xcursor Xdamage Xdmcp Xext Xfixes Xi Xinerama Xrandr
WANTLIB += Xrender atk-1.0 bonobo-2 bonobo-activation c cairo
WANTLIB += dbus-1 dbus-glib-1 expat fontconfig freetype gdk-x11-2.0
WANTLIB += gdk_pixbuf-2.0 gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0
WANTLIB += gthread-2.0 gtk-x11-2.0 m pango-1.0 pangocairo-1.0
WANTLIB += pangoft2-1.0 pcre pixman-1 png pthread pthread-stubs
WANTLIB += xcb z gconf-2 xcb-render loginhelper spi GL Xxf86vm drm xcb-shm
MODULES= devel/gettext \
lang/python \
x11/gnome
LIB_DEPENDS= x11/gnome/at-spi
BUILD_DEPENDS= ${RUN_DEPENDS}
RUN_DEPENDS= x11/gnome/py-gnome-desktop
CONFIGURE_ARGS+= ${CONFIGURE_SHARED} \
--with-gconf-schema-file-dir=${LOCALBASE}/share/schemas/gnome-mag/ \
--enable-colorblind-applet=no
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
USE_GROFF = Yes
SUBST_VARS= LIBgnome-mag_VERSION
pre-configure:
${SUBST_CMD} ${WRKSRC}/docs/man/magnifier.1
.include <bsd.port.mk>