openbsd-ports/x11/gnome/libgnomeprint/Makefile
2006-12-16 12:22:32 +00:00

45 lines
1.2 KiB
Makefile

# $OpenBSD: Makefile,v 1.15 2006/12/16 12:22:35 espie Exp $
COMMENT= "printing framework for GNOME"
VERSION= 2.10.3
DISTNAME= libgnomeprint-${VERSION}
PKGNAME= ${DISTNAME}p0
SHARED_LIBS= gnomeprint-2-2 1.0
CATEGORIES= devel
HOMEPAGE= http://www.gnome.org/projects/gnome-print/
# LGPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= X11 fontconfig freetype m pangoft2-1.0 z
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/libgnomeprint/2.10/}
EXTRACT_SUFX= .tar.bz2
MODULES= devel/gettext
BUILD_DEPENDS= :p5-XML-Parser-*:textproc/p5-XML-Parser
LIB_DEPENDS= art_lgpl_2.>=5::graphics/libart \
glib-2.0,gmodule-2.0,gobject-2.0::devel/glib2 \
pango-1.0::devel/pango \
popt::devel/popt \
xml2.>=6::textproc/libxml
USE_X11= Yes
USE_GMAKE= Yes
USE_LIBTOOL= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
CONFIGURE_ARGS+= --disable-gtk-doc
CONFIGURE_ARGS+= --without-cups
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib" \
PKG_CONFIG_PATH="${LOCALBASE}/lib/pkgconfig:${X11BASE}/lib/pkgconfig"
SUBST_VARS= VERSION
.include <bsd.port.mk>