2006-01-07 20:38:36 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.28 2006/01/08 01:38:36 steven 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)"
|
2005-01-14 14:56:47 -05:00
|
|
|
DISTNAME= libgii-0.9.0
|
2005-12-27 07:46:51 -05:00
|
|
|
PKGNAME= ${DISTNAME}p0
|
2006-01-07 20:38:36 -05:00
|
|
|
SHARED_LIBS= gg 0.9 \
|
|
|
|
gii 0.9
|
2005-12-27 07:46:51 -05:00
|
|
|
|
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
|
2004-11-29 20:06:33 -05:00
|
|
|
WANTLIB= X11 c m pthread
|
2000-03-16 19:53:48 -05:00
|
|
|
|
2005-01-14 14:56:47 -05:00
|
|
|
MASTER_SITES= http://www.ggi-project.org/ftp/ggi/v2.1/
|
2002-12-28 14:10:50 -05:00
|
|
|
EXTRACT_SUFX= .src.tar.bz2
|
2001-11-01 13:34:51 -05:00
|
|
|
|
2000-09-23 19:55:52 -04:00
|
|
|
USE_X11= Yes
|
2004-01-20 08:49:34 -05:00
|
|
|
USE_GMAKE= Yes
|
2005-12-27 07:46:51 -05:00
|
|
|
USE_LIBTOOL= 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
|
2004-01-20 08:49:34 -05:00
|
|
|
${INSTALL_DATA} ${WRKDIST}/filter/mouse/mouse \
|
|
|
|
${PREFIX}/share/examples/gii/filter_mouse.example
|
|
|
|
${INSTALL_DATA} ${WRKDIST}/filter/keytrans/keytrans \
|
|
|
|
${PREFIX}/share/examples/gii/filter_keytrans.example
|
1999-02-01 03:28:48 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|