2008-04-25 12:37:17 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.2 2008/04/25 16:37:17 jasper Exp $
|
2008-03-17 15:02:20 -04:00
|
|
|
|
|
|
|
COMMENT= screen magnifier for the GNOME desktop
|
|
|
|
|
|
|
|
GNOME_PROJECT= gnome-mag
|
|
|
|
GNOME_VERSION= 0.14.10
|
2008-04-25 12:37:17 -04:00
|
|
|
PKGNAME= ${DISTNAME}p0
|
2008-03-17 15:02:20 -04:00
|
|
|
SHARED_LIBS += gnome-mag 0.0 # .4.10
|
|
|
|
CATEGORIES= sysutils
|
|
|
|
|
|
|
|
HOMEPAGE= https://launchpad.net/gnome-mag
|
|
|
|
|
|
|
|
# LGPL
|
|
|
|
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 Xrandr \
|
|
|
|
Xrender Xtst atk-1.0 bonobo-2 bonobo-activation c cairo \
|
|
|
|
expat fontconfig freetype gdk-x11-2.0 gdk_pixbuf-2.0 \
|
|
|
|
gdk_pixbuf_xlib-2.0 glib-2.0 glitz gmodule-2.0 gobject-2.0 \
|
|
|
|
gthread-2.0 gtk-x11-2.0 m pango-1.0 pangocairo-1.0 \
|
|
|
|
pangoft2-1.0 pcre png pthread z
|
|
|
|
|
|
|
|
USE_X11= Yes
|
|
|
|
|
|
|
|
MODULES= devel/gettext \
|
|
|
|
x11/gnome
|
|
|
|
|
|
|
|
LIB_DEPENDS= loginhelper,spi::x11/gnome/at-spi
|
|
|
|
|
|
|
|
BUILD_DEPENDS= ::devel/doxygen,-main
|
|
|
|
|
|
|
|
CONFIGURE_ARGS+= ${CONFIGURE_SHARED} \
|
|
|
|
--with-gconf-schema-file-dir=${LOCALBASE}/share/schemas/gnome-mag/ \
|
|
|
|
--enable-colorblind-applet=no \
|
|
|
|
--disable-scrollkeeper
|
|
|
|
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
|
2008-04-25 12:37:17 -04:00
|
|
|
MAKE_ENV+= DOXYGEN_ENCODE_PATH_STRIP="${WRKSRC}"
|
|
|
|
|
2008-03-17 15:02:20 -04:00
|
|
|
pre-configure:
|
|
|
|
@perl -pi -e 's,!!PREFIX!!,${PREFIX},g;' \
|
|
|
|
-e 's,!!LIBgnome-mag_VERSION!!,${LIBgnome-mag_VERSION},g' \
|
|
|
|
${WRKSRC}/docs/man/magnifier.1
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|