openbsd-ports/x11/rep-gtk/Makefile
2010-10-24 20:58:58 +00:00

52 lines
1.3 KiB
Makefile

# $OpenBSD: Makefile,v 1.45 2010/10/24 21:15:34 ajacoutot Exp $
COMMENT= GTK+ binding for librep Lisp environment
SHARED_ONLY= Yes
VERSION= 0.90.4
DISTNAME= rep-gtk-${VERSION}
REVISION= 2
CATEGORIES= x11
HOMEPAGE= http://rep-gtk.sourceforge.net/
MAINTAINER= Jasper Lievisse Adriaanse <jasper@openbsd.org>
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB += X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext Xfixes
WANTLIB += Xi Xinerama Xrandr Xrender atk-1.0 cairo expat fontconfig
WANTLIB += freetype gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0
WANTLIB += m pango-1.0 pangocairo-1.0 pangoft2-1.0 pcre pixman-1 png
WANTLIB += z pthread-stubs xcb gdk-x11-2.0 gdk_pixbuf-2.0 gtk-x11-2.0
WANTLIB += gthread-2.0 xcb-render xcb-render-util
MASTER_SITES= http://download.tuxfamily.org/sawfish/rep-gtk/
EXTRACT_SUFX= .tar.bz2
BUILD_DEPENDS= ${RUN_DEPENDS}
RUN_DEPENDS= :librep->=0.91.0:lang/librep
LIB_DEPENDS= ::x11/gtk+2
MODULES= devel/gettext
GNU_ARCH= ${MACHINE_ARCH:S/amd64/x86_64/}-unknown-openbsd${OSREV}
SUBST_VARS= GNU_ARCH VERSION
USE_GMAKE= Yes
USE_LIBTOOL= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
NO_REGRESS= Yes
.include <bsd.port.mk>