openbsd-ports/print/gtklp/Makefile

50 lines
1.1 KiB
Makefile

# $OpenBSD: Makefile,v 1.17 2012/08/15 13:22:29 ajacoutot Exp $
COMMENT= GTK+2 frontend to CUPS
DISTNAME= gtklp-1.2.9
CATEGORIES= print sysutils x11
EXTRACT_SUFX= .src.tar.gz
HOMEPAGE= http://gtklp.sirtobi.com/
MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB += GL X11 Xcomposite Xcursor Xdamage Xext Xfixes Xi Xinerama
WANTLIB += Xrandr Xrender asn1 atk-1.0 c cairo crypto cups expat
WANTLIB += fontconfig freetype gdk-x11-2.0 gdk_pixbuf-2.0 gio-2.0
WANTLIB += glib-2.0 gobject-2.0 gssapi gtk-x11-2.0 krb5 m pango-1.0
WANTLIB += pangocairo-1.0 pangoft2-1.0 pixman-1 png pthread pthread-stubs
WANTLIB += ssl xcb xcb-render xcb-shm z
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gtklp/}
MODULES= devel/gettext
LIB_DEPENDS= x11/gtk+2 \
print/cups,-libs
# package is only useful if cups is installed
RUN_DEPENDS += print/cups
USE_LIBTOOL= Yes
USE_GMAKE= Yes
USE_GROFF = Yes
MAKE_FILE= Makefile.fallback
CFLAGS+= -DHAVE_LIBSSL
NO_REGRESS= Yes
pre-configure:
${SUBST_CMD} ${WRKSRC}/Makefile.fallback
.include <bsd.port.mk>