openbsd-ports/x11/gnome/libgnomecups/Makefile
jasper 5ce3a10b9f - fix WANTLIB
- roll in some patches from ubuntu via freebs:
	- parse ~/.cups/lpoptions
	- check whether the printer URI starts with http://,
  	  ipp://, or smb:// to test whether its local or not
	- do not warn on stderr in case of IPP_NOT_FOUND
	- replace IPP_SET_PRINTER_ATTRIBUTES with CUPS_ADD_MODIFY_PRINTER
	- fix a mem leak in gnome_cups_request_add_requested_attributes()
	- fix PPD retrieval for printers picked up with cups browsing

(still broken, but these patches won't hurt anyway)
2007-07-11 23:00:47 +00:00

33 lines
756 B
Makefile

# $OpenBSD: Makefile,v 1.4 2007/07/11 23:00:47 jasper Exp $
BROKEN= need fixes to work on *BSD
COMMENT= GNOME library for CUPS interaction
GNOME_PROJECT= libgnomecups
GNOME_VERSION= 0.2.2
PKGNAME= ${DISTNAME}p0
SHARED_LIBS= gnomecups-1.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= crypto m pthread ssl z
MODULES= devel/gettext \
x11/gnome
LIB_DEPENDS= glib-2.0.>=0,gobject-2.0.>=0,gthread-2.0.>=0::devel/glib2 \
cups::print/cups
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
.include <bsd.port.mk>