openbsd-ports/graphics/gii/Makefile

54 lines
1.3 KiB
Makefile
Raw Normal View History

2005-12-27 07:46:51 -05:00
# $OpenBSD: Makefile,v 1.27 2005/12/27 12:46:51 steven Exp $
2001-09-02 00:11:00 -04:00
# Uses pthreads
1999-02-01 03:28:48 -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
SHARED_LIBS= gg 0.9 \
gii 0.9
MODGNU_SHARED_LIBS= gg '' \
gii ''
LIBgg_ALIAS= realgg
LIBgii_ALIAS= realgii
CATEGORIES= graphics
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-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/
EXTRACT_SUFX= .src.tar.bz2
USE_X11= Yes
USE_GMAKE= Yes
2005-12-27 07:46:51 -05:00
USE_LIBTOOL= Yes
CFLAGS+= -pthread
SEPARATE_BUILD= concurrent
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
CONFIGURE_ARGS+= --enable-static --enable-mutexes="int"
1999-02-01 03:28:48 -05:00
CONFDIR= ${SYSCONFDIR}/ggi
SUBST_VARS= CONFDIR
DOCS= README
1999-02-01 03:28:48 -05:00
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/gii
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/gii
cd ${WRKSRC}; ${INSTALL_DATA} ${DOCS} ${PREFIX}/share/doc/gii
${INSTALL_DATA} ${WRKBUILD}/libgii.conf \
${PREFIX}/share/examples/gii/libgii.conf.example
${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>