openbsd-ports/print/cups-pk-helper/Makefile
ajacoutot bcf930bd81 Import cups-pk-helper-0.1.2.
cups-pk-helper is a PolicyKit helper to configure cups with fine-grained
privileges.
For example, it's possible to let users enable/disable printers without
requiring a password, while still requiring a password for editing
printer settings.

ok jasper@
2011-05-22 14:18:48 +00:00

42 lines
977 B
Makefile
Executable File

# $OpenBSD: Makefile,v 1.1.1.1 2011/05/22 14:18:48 ajacoutot Exp $
COMMENT= fine-grained privileges PolicyKit helper for CUPS
DISTNAME= cups-pk-helper-0.1.2
EXTRACT_SUFX= .tar.bz2
CATEGORIES= print sysutils
MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB += c cups dbus-1 dbus-glib-1 gio-2.0 glib-2.0 gmodule-2.0
WANTLIB += gobject-2.0 gthread-2.0 pcre polkit-gobject-1 pthread
WANTLIB += z
MASTER_SITES= http://www.freedesktop.org/software/cups-pk-helper/releases/
MODULES= devel/gettext \
textproc/intltool
LIB_DEPENDS= sysutils/polkit \
x11/dbus-glib \
print/cups
USE_GMAKE= Yes
CONFIGURE_STYLE=gnu
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
--disable-silent-rules
FAKE_FLAGS= sysconfdir=${PREFIX}/share/examples/cups-pk-helper
.include <bsd.port.mk>