52 lines
1.4 KiB
Makefile
52 lines
1.4 KiB
Makefile
# $OpenBSD: Makefile,v 1.14 2010/04/24 17:00:35 ajacoutot Exp $
|
|
|
|
COMMENT= screen magnifier for the GNOME desktop
|
|
|
|
GNOME_PROJECT= gnome-mag
|
|
GNOME_VERSION= 0.16.1
|
|
PKGNAME= ${DISTNAME}p0
|
|
|
|
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 glitz 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 xcb-render-util
|
|
|
|
USE_X11= Yes
|
|
|
|
MODULES= devel/gettext \
|
|
lang/python \
|
|
x11/gnome
|
|
|
|
LIB_DEPENDS= loginhelper,spi::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"
|
|
|
|
SUBST_VARS= LIBgnome-mag_VERSION
|
|
|
|
pre-configure:
|
|
${SUBST_CMD} ${WRKSRC}/docs/man/magnifier.1
|
|
|
|
.include <bsd.port.mk>
|