openbsd-ports/x11/gtkglext/Makefile
2008-02-01 21:38:26 +00:00

45 lines
1.1 KiB
Makefile

# $OpenBSD: Makefile,v 1.5 2008/02/01 21:38:27 steven Exp $
COMMENT= OpenGL extension to GTK+ 2.0 and later
DISTNAME= gtkglext-1.2.0
PKGNAME= ${DISTNAME}p0
SHARED_LIBS= gdkglext-x11-1.0 0.0 \
gtkglext-x11-1.0 0.0
CATEGORIES= x11 graphics devel
HOMEPAGE= http://www.k-3d.org/gtkglext/
MAINTAINER= Steven Mestdagh <steven@openbsd.org>
# LGPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gtkglext/}
WANTLIB= GL GLU ICE SM X11 Xext Xmu Xrender Xt Xau Xcomposite Xcursor \
Xdamage Xdmcp Xfixes Xi Xinerama Xrandr expat pcre m z \
gmodule-2.0 glib-2.0 intl iconv png cairo \
pangocairo-1.0 pango-1.0 gobject-2.0 \
gdk_pixbuf-2.0 gdk-x11-2.0 freetype fontconfig \
pangoft2-1.0 pangox-1.0 atk-1.0 glitz
LIB_DEPENDS= gtk-x11-2.0::x11/gtk+2
USE_X11= Yes
USE_GMAKE= Yes
USE_LIBTOOL= Yes
CONFIGURE_STYLE=gnu
CONFIGURE_ARGS= ${CONFIGURE_SHARED}
EXAMPLE_DIR= ${PREFIX}/share/examples/gtkglext
post-install:
${INSTALL_DATA_DIR} ${EXAMPLE_DIR}
${INSTALL_DATA} ${WRKSRC}/examples/*.{c,h,lwo,rgb} ${EXAMPLE_DIR}
.include <bsd.port.mk>