openbsd-ports/print/gtklp/Makefile
2012-11-24 17:42:31 +00:00

55 lines
1.4 KiB
Makefile

# $OpenBSD: Makefile,v 1.18 2012/11/24 17:42:31 ajacoutot Exp $
COMMENT= GTK+2 frontend to CUPS
DISTNAME= gtklp-1.2.10
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 Xau Xcomposite Xcursor Xdamage Xdmcp Xext Xfixes
WANTLIB += Xi Xinerama Xrandr Xrender Xxf86vm asn1 atk-1.0 c cairo
WANTLIB += crypto cups drm expat ffi fontconfig freetype gdk-x11-2.0
WANTLIB += gdk_pixbuf-2.0 gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0
WANTLIB += gssapi gthread-2.0 gtk-x11-2.0 harfbuzz icudata icule
WANTLIB += icuuc krb5 m pango-1.0 pangocairo-1.0 pangoft2-1.0
WANTLIB += pcre pixman-1 png pthread pthread-stubs ssl stdc++
WANTLIB += 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
# XXX configure is re-run a second time with "missing --run aclocal-1.11 -I m4"
AUTOMAKE_VERSION=1.11
AUTOCONF_VERSION=2.68
BUILD_DEPENDS= ${MODGNU_AUTOMAKE_DEPENDS} \
${MODGNU_AUTOCONF_DEPENDS}
MAKE_FLAGS= AUTOMAKE_VERSION=${AUTOMAKE_VERSION} \
AUTOCONF_VERSION=${AUTOCONF_VERSION}
# end XXX
CONFIGURE_STYLE=gnu
CONFIGURE_ARGS= ${CONFIGURE_SHARED}
.include <bsd.port.mk>