45 lines
1.2 KiB
Makefile
45 lines
1.2 KiB
Makefile
# $OpenBSD: Makefile,v 1.12 2006/09/18 09:40:31 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.0.0 z
|
|
|
|
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/libgnomeprint/2.10/}
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
MODULES= devel/gettext
|
|
|
|
BUILD_DEPENDS= :pkgconfig-*:devel/pkgconfig \
|
|
:p5-XML-Parser-*:textproc/p5-XML-Parser
|
|
LIB_DEPENDS= art_lgpl_2.>=5::graphics/libart \
|
|
glib-2.0.0.0,gmodule-2.0.0.0,gobject-2.0.0.0::devel/glib2 \
|
|
pango-1.0.0.0::devel/pango \
|
|
popt::devel/popt \
|
|
xml2.>=6::textproc/libxml
|
|
|
|
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>
|