2007-11-13 12:10:25 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.37 2007/11/13 17:10:25 steven Exp $
|
2001-09-02 00:09:11 -04:00
|
|
|
# Uses pthreads
|
2000-03-03 06:41:38 -05:00
|
|
|
|
2007-09-15 16:09:40 -04:00
|
|
|
COMMENT= Generic Graphics Library
|
2005-01-14 14:57:05 -05:00
|
|
|
DISTNAME= libggi-2.1.0
|
2007-11-13 12:10:25 -05:00
|
|
|
PKGNAME= ${DISTNAME}p3
|
2006-01-07 20:38:36 -05:00
|
|
|
SHARED_LIBS= ggi 2.1
|
2005-12-27 08:13:28 -05:00
|
|
|
|
2000-09-23 20:01:03 -04:00
|
|
|
CATEGORIES= graphics
|
1999-02-01 04:25:07 -05:00
|
|
|
|
2002-12-28 14:34:51 -05:00
|
|
|
HOMEPAGE= http://www.ggi-project.org/
|
2000-10-22 10:02:46 -04:00
|
|
|
MAINTAINER= Todd T. Fries <todd@openbsd.org>
|
1999-02-20 23:26:09 -05:00
|
|
|
|
2000-03-16 19:53:48 -05:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2007-11-13 12:10:25 -05:00
|
|
|
|
|
|
|
WANTLIB= X11 Xau Xdmcp 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/
|
2002-12-28 14:34:51 -05:00
|
|
|
EXTRACT_SUFX= .src.tar.bz2
|
2001-11-01 13:34:51 -05:00
|
|
|
|
2006-08-03 08:43:20 -04:00
|
|
|
LIB_DEPENDS= gii.>=0.9,gg:libgii->=0.9*:graphics/gii
|
2001-12-23 13:36:27 -05:00
|
|
|
|
2000-09-23 20:01:03 -04:00
|
|
|
USE_X11= Yes
|
2004-01-20 08:50:53 -05:00
|
|
|
USE_GMAKE= Yes
|
2005-12-27 08:13:28 -05:00
|
|
|
USE_LIBTOOL= Yes
|
2004-01-20 08:50:53 -05:00
|
|
|
|
2001-12-23 13:36:27 -05:00
|
|
|
CFLAGS+= -pthread
|
2000-09-23 20:01:03 -04:00
|
|
|
CONFIGURE_STYLE= gnu
|
1999-03-23 22:03:07 -05:00
|
|
|
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
|
2000-09-23 20:01:03 -04:00
|
|
|
CONFIGURE_ARGS+= --enable-static --disable-aa \
|
|
|
|
--with-gii="${PREFIX}"
|
2000-05-22 08:17:09 -04:00
|
|
|
|
2000-09-23 20:01:03 -04:00
|
|
|
DOCS= README
|
2000-05-22 08:17:09 -04:00
|
|
|
|
1999-02-01 04:25:07 -05:00
|
|
|
post-install:
|
2000-09-23 20:01:03 -04:00
|
|
|
${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>
|