2003-10-30 11:51:58 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.23 2003/10/30 16:51:58 todd Exp $
|
2001-09-02 00:11:00 -04:00
|
|
|
# Uses pthreads
|
1999-02-01 03:28:48 -05:00
|
|
|
|
2001-03-26 11:03:53 -05:00
|
|
|
COMMENT= "General Input Library (used by libggi)"
|
2002-12-28 14:10:50 -05:00
|
|
|
DISTNAME= libgii-0.8.2
|
2000-09-23 19:55:52 -04:00
|
|
|
CATEGORIES= graphics
|
1999-02-20 23:26:09 -05:00
|
|
|
|
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
|
|
|
|
|
2002-12-28 14:10:50 -05:00
|
|
|
MASTER_SITES= ftp://ftp.ggi-project.org/pub/ggi/ggi/v2.0/
|
|
|
|
EXTRACT_SUFX= .src.tar.bz2
|
2001-11-01 13:34:51 -05:00
|
|
|
|
2000-09-23 19:55:52 -04:00
|
|
|
USE_X11= Yes
|
2001-12-23 13:18:11 -05:00
|
|
|
|
|
|
|
CFLAGS+= -pthread
|
2002-12-28 14:10:50 -05:00
|
|
|
SEPARATE_BUILD= concurrent
|
2000-09-23 19:55:52 -04:00
|
|
|
CONFIGURE_STYLE= gnu
|
1999-03-23 22:14:00 -05:00
|
|
|
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
|
2000-09-23 19:55:52 -04:00
|
|
|
CONFIGURE_ARGS+= --enable-static --enable-mutexes="int"
|
1999-02-01 03:28:48 -05:00
|
|
|
|
2003-10-30 11:51:58 -05:00
|
|
|
CONFDIR= ${SYSCONFDIR}/ggi
|
|
|
|
SUBST_VARS= CONFDIR
|
|
|
|
|
2000-09-23 19:55:52 -04:00
|
|
|
DOCS= README
|
1999-02-01 03:28:48 -05:00
|
|
|
|
|
|
|
post-install:
|
2000-09-23 19:55:52 -04:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/gii
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/gii
|
|
|
|
cd ${WRKSRC}; ${INSTALL_DATA} ${DOCS} ${PREFIX}/share/doc/gii
|
2002-12-28 14:10:50 -05:00
|
|
|
${INSTALL_DATA} ${WRKBUILD}/libgii.conf \
|
2000-09-23 19:55:52 -04:00
|
|
|
${PREFIX}/share/examples/gii/libgii.conf.example
|
1999-02-01 03:28:48 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|