openbsd-ports/graphics/gii/Makefile

39 lines
934 B
Makefile
Raw Normal View History

# $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
COMMENT= "General Input Library (used by libggi)"
DISTNAME= libgii-0.8.2
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
MASTER_SITES= ftp://ftp.ggi-project.org/pub/ggi/ggi/v2.0/
EXTRACT_SUFX= .src.tar.bz2
USE_X11= 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
1999-02-01 03:28:48 -05:00
.include <bsd.port.mk>