2001-09-02 00:11:00 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.19 2001/09/02 04:11:00 pvalchev Exp $
|
|
|
|
# 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)"
|
|
|
|
DISTNAME= libgii-0.7
|
2000-09-23 19:55:52 -04:00
|
|
|
CATEGORIES= graphics
|
2001-03-26 11:03:53 -05:00
|
|
|
NEED_VERSION= 1.364
|
2001-04-14 23:01:26 -04:00
|
|
|
MASTER_SITES= ftp://metalab.unc.edu/pub/ggi/ggi/2_0_beta_3/
|
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
|
|
|
|
|
2000-09-23 19:55:52 -04:00
|
|
|
USE_X11= Yes
|
2000-05-22 07:40:05 -04:00
|
|
|
USE_GMAKE= Yes
|
2001-03-26 11:03:53 -05:00
|
|
|
EXTRACT_SUFX= .tar.bz2
|
2000-09-23 19:55:52 -04:00
|
|
|
CONFIGURE_STYLE= gnu
|
2001-08-10 13:05:41 -04:00
|
|
|
CONFIGURE_ENV+= CFLAGS=-pthread
|
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
|
|
|
|
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
|
2000-10-31 10:06:42 -05:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/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>
|