openbsd-ports/graphics/ggi/Makefile
2001-04-15 03:01:26 +00:00

39 lines
1.0 KiB
Makefile

# $OpenBSD: Makefile,v 1.19 2001/04/15 03:01:26 todd Exp $
COMMENT= "Generic Graphics Library"
DISTNAME= libggi-2.0b3
CATEGORIES= graphics
NEED_VERSION= 1.364
MASTER_SITES= ftp://metalab.unc.edu/pub/ggi/ggi/2_0_beta_3/
LIB_DEPENDS= gii.0.7::graphics/gii
MAINTAINER= Todd T. Fries <todd@openbsd.org>
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
EXTRACT_SUFX= .tar.bz2
USE_X11= Yes
USE_GMAKE= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ENV+= CFLAGS=-pthread
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
${INSTALL_DATA} ${WRKSRC}/extensions/misc/libggimisc.conf \
${PREFIX}/share/examples/ggi/libggimisc.conf.example
.include <bsd.port.mk>