d6de20705d
from Mikolaj Kucharski
44 lines
1.1 KiB
Makefile
44 lines
1.1 KiB
Makefile
# $OpenBSD: Makefile,v 1.17 2007/05/07 11:46:58 jasper Exp $
|
|
|
|
COMMENT= "printing framework for GNOME"
|
|
|
|
VERSION= 2.18.0
|
|
DISTNAME= libgnomeprint-${VERSION}
|
|
SHARED_LIBS += gnomeprint-2-2 2.0 # .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 Xau Xdmcp expat fontconfig freetype glib-2.0 gmodule-2.0 \
|
|
gobject-2.0 m z
|
|
|
|
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/libgnomeprint/2.18/}
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
MODULES= devel/gettext
|
|
|
|
BUILD_DEPENDS= :p5-XML-Parser-*:textproc/p5-XML-Parser \
|
|
:bison-*:devel/bison
|
|
LIB_DEPENDS= pango-1.0.>=1300.0,pangoft2-1.0.>=1300.0::devel/pango \
|
|
art_lgpl_2.>=5::graphics/libart \
|
|
xml2.>=9::textproc/libxml \
|
|
popt.>=0::devel/popt
|
|
|
|
USE_X11= Yes
|
|
USE_GMAKE= Yes
|
|
USE_LIBTOOL= Yes
|
|
CONFIGURE_STYLE= gnu
|
|
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
|
|
CONFIGURE_ARGS+= --without-cups
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
SUBST_VARS= VERSION
|
|
|
|
.include <bsd.port.mk>
|