# $OpenBSD: Makefile,v 1.25 2002/12/28 19:34:51 todd Exp $ # Uses pthreads COMMENT= "Generic Graphics Library" DISTNAME= libggi-2.0.2 CATEGORIES= graphics HOMEPAGE= http://www.ggi-project.org/ MAINTAINER= Todd T. Fries PERMIT_PACKAGE_CDROM= Yes PERMIT_PACKAGE_FTP= Yes PERMIT_DISTFILES_CDROM= Yes PERMIT_DISTFILES_FTP= Yes MASTER_SITES= ftp://ftp.ggi-project.org/pub/ggi/ggi/v2.0/ EXTRACT_SUFX= .src.tar.bz2 LIB_DEPENDS= gii.0.8::graphics/gii USE_X11= Yes CFLAGS+= -pthread CONFIGURE_STYLE= gnu CONFIGURE_ARGS+= ${CONFIGURE_SHARED} CONFIGURE_ARGS+= --enable-static --disable-aa \ --with-gii="${PREFIX}" DOCS= README post-install: ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/ggi ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/ggi cd ${WRKSRC}; ${INSTALL_DATA} ${DOCS} ${PREFIX}/share/doc/ggi ${INSTALL_DATA} ${WRKSRC}/libggi.conf \ ${PREFIX}/share/examples/ggi/libggi.conf.example .include