openbsd-ports/x11/gnome/mag/Makefile

51 lines
1.4 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.2 2008/04/25 16:37:17 jasper Exp $
COMMENT= screen magnifier for the GNOME desktop
GNOME_PROJECT= gnome-mag
GNOME_VERSION= 0.14.10
PKGNAME= ${DISTNAME}p0
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"
MAKE_ENV+= DOXYGEN_ENCODE_PATH_STRIP="${WRKSRC}"
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>