2001-09-02 00:09:11 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.21 2001/09/02 04:09:11 pvalchev Exp $
|
|
|
|
# Uses pthreads
|
2000-03-03 06:41:38 -05:00
|
|
|
|
2001-03-26 11:03:53 -05:00
|
|
|
COMMENT= "Generic Graphics Library"
|
|
|
|
DISTNAME= libggi-2.0b3
|
2000-09-23 20:01:03 -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/
|
2001-08-02 09:02:08 -04:00
|
|
|
HOMEPAGE= http://www.ggi-project.org/
|
1999-02-01 04:25:07 -05:00
|
|
|
|
2001-03-26 11:03:53 -05:00
|
|
|
LIB_DEPENDS= gii.0.7::graphics/gii
|
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
|
|
|
|
|
2001-03-26 11:03:53 -05:00
|
|
|
EXTRACT_SUFX= .tar.bz2
|
2000-09-23 20:01:03 -04:00
|
|
|
USE_X11= Yes
|
2000-03-05 13:30:21 -05:00
|
|
|
USE_GMAKE= Yes
|
2000-09-23 20:01:03 -04:00
|
|
|
CONFIGURE_STYLE= gnu
|
2001-03-26 11:03:53 -05:00
|
|
|
CONFIGURE_ENV+= CFLAGS=-pthread
|
1999-03-23 22:03:07 -05:00
|
|
|
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
|
2000-09-23 20:01:03 -04:00
|
|
|
CONFIGURE_ARGS+= --enable-static --disable-aa \
|
|
|
|
--with-gii="${PREFIX}"
|
2000-05-22 08:17:09 -04:00
|
|
|
|
2000-09-23 20:01:03 -04:00
|
|
|
DOCS= README
|
2000-05-22 08:17:09 -04:00
|
|
|
|
1999-02-01 04:25:07 -05:00
|
|
|
post-install:
|
2000-09-23 20:01:03 -04:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/ggi
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/ggi
|
|
|
|
cd ${WRKSRC}; ${INSTALL_DATA} ${DOCS} ${PREFIX}/share/doc/ggi
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/libggi.conf \
|
|
|
|
${PREFIX}/share/examples/ggi/libggi.conf.example
|
1999-02-01 04:25:07 -05:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/extensions/misc/libggimisc.conf \
|
2000-09-23 20:01:03 -04:00
|
|
|
${PREFIX}/share/examples/ggi/libggimisc.conf.example
|
1999-02-01 04:25:07 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|