openbsd-ports/graphics/ggi/Makefile

42 lines
1.0 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.32 2005/01/31 14:20:26 todd Exp $
2001-09-02 00:09:11 -04:00
# Uses pthreads
COMMENT= "Generic Graphics Library"
2005-01-14 14:57:05 -05:00
DISTNAME= libggi-2.1.0
PKGNAME= ${DISTNAME}p1
CATEGORIES= graphics
1999-02-01 04:25:07 -05:00
HOMEPAGE= http://www.ggi-project.org/
2000-10-22 10:02:46 -04:00
MAINTAINER= Todd T. Fries <todd@openbsd.org>
2000-03-16 19:53:48 -05:00
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
2004-12-01 19:00:32 -05:00
WANTLIB= X11 Xext Xxf86dga Xxf86vm c m ncurses pthread
2000-03-16 19:53:48 -05:00
2005-01-14 14:57:05 -05:00
MASTER_SITES= http://www.ggi-project.org/ftp/ggi/v2.1/
EXTRACT_SUFX= .src.tar.bz2
LIB_DEPENDS= gii.0.9,gg:libgii->=0.9*:graphics/gii
USE_X11= Yes
USE_GMAKE= Yes
CFLAGS+= -pthread
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
CONFIGURE_ARGS+= --enable-static --disable-aa \
--with-gii="${PREFIX}"
DOCS= README
1999-02-01 04:25:07 -05:00
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
1999-02-01 04:25:07 -05:00
.include <bsd.port.mk>