2000-11-11 16:53:30 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.34 2000/11/11 21:53:30 brad Exp $
|
|
|
|
|
|
|
|
.if ${MACHINE_ARCH} == "powerpc"
|
|
|
|
BROKEN= "BROKEN on powerpc: reason unknown at the moment"
|
|
|
|
.endif
|
1999-02-27 10:32:39 -05:00
|
|
|
|
2000-06-21 05:57:54 -04:00
|
|
|
DISTNAME= glib-1.2.8
|
1999-03-16 16:06:20 -05:00
|
|
|
CATEGORIES= devel
|
2000-11-11 16:53:30 -05:00
|
|
|
NEED_VERSION= 1.336
|
1999-05-11 14:40:18 -04:00
|
|
|
MASTER_SITES= ftp://ftp.gimp.org/pub/gtk/v1.2/ \
|
|
|
|
ftp://ftp.cs.umn.edu/pub/gimp/gtk/v1.2/ \
|
|
|
|
http://www.ameth.org/gimp/gtk/v1.2/
|
1999-02-27 10:32:39 -05:00
|
|
|
|
2000-06-21 05:57:54 -04:00
|
|
|
HOMEPAGE= http://www.gtk.org/
|
1999-02-27 10:32:39 -05:00
|
|
|
|
2000-09-24 03:03:59 -04:00
|
|
|
MAINTAINER= Brad Smith <brad@openbsd.org>
|
1999-02-27 10:32:39 -05:00
|
|
|
|
2000-03-07 20:13:13 -05:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2000-02-12 03:02:07 -05:00
|
|
|
|
2000-03-10 12:44:15 -05:00
|
|
|
SEPARATE_BUILD= concurrent
|
2000-06-11 13:49:35 -04:00
|
|
|
CONFIGURE_STYLE= gnu
|
1999-04-04 17:16:49 -04:00
|
|
|
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
|
2000-08-17 16:55:58 -04:00
|
|
|
CONFIGURE_ARGS+= --enable-static --includedir="${PREFIX}/include/glib"
|
|
|
|
|
2000-08-17 17:44:18 -04:00
|
|
|
FLAVORS= threads
|
2000-08-17 16:55:58 -04:00
|
|
|
FLAVOR?=
|
|
|
|
|
2000-08-17 17:44:18 -04:00
|
|
|
.if ${FLAVOR:L} == "threads"
|
2000-09-13 04:56:30 -04:00
|
|
|
. if ${MACHINE_ARCH} == "sparc"
|
|
|
|
BROKEN= "pthreads are currently not working on the SPARC architecture"
|
|
|
|
. endif
|
2000-08-17 17:44:18 -04:00
|
|
|
CONFIGURE_ARGS+= --enable-threads
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-threads
|
2000-08-17 16:55:58 -04:00
|
|
|
.endif
|
1999-03-16 16:06:20 -05:00
|
|
|
|
1999-03-25 18:48:37 -05:00
|
|
|
post-extract:
|
1999-12-31 19:02:42 -05:00
|
|
|
@rm -f ${WRKSRC}/docs/glib.info*
|
1999-03-25 18:48:37 -05:00
|
|
|
|
1999-02-27 10:32:39 -05:00
|
|
|
post-install:
|
2000-02-05 19:28:56 -05:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/aclocal
|
2000-03-10 02:45:14 -05:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/glib.m4 ${PREFIX}/share/aclocal
|
1999-02-27 10:32:39 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|