openbsd-ports/graphics/ggi/Makefile

45 lines
1.2 KiB
Makefile

# $OpenBSD: Makefile,v 1.23 2001/11/01 18:38:04 wilfried Exp $
# Uses pthreads
COMMENT= "Generic Graphics Library"
DISTNAME= libggi-2.0b3
CATEGORIES= graphics
NEED_VERSION= 1.475
MASTER_SITES= ftp://metalab.unc.edu/pub/ggi/ggi/2_0_beta_3/
HOMEPAGE= http://www.ggi-project.org/
LIB_DEPENDS= gii.0.7,gg::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
PATCH_LIST= ${PORTSDIR}/infrastructure/patches/patch-lt1.3.5-ltconfig \
${PORTSDIR}/infrastructure/patches/patch-lt1.3.5-ltmain_sh \
patch-*
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>