2001-09-19 23:45:14 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.43 2001/09/20 03:45:14 brad Exp $
|
2001-08-29 22:10:40 -04:00
|
|
|
# Uses pthreads
|
2000-11-11 16:53:30 -05:00
|
|
|
|
2001-04-03 10:12:47 -04:00
|
|
|
COMMENT= "useful routines for C programming"
|
1999-02-27 10:32:39 -05:00
|
|
|
|
2001-04-03 10:42:47 -04:00
|
|
|
DISTNAME= glib-1.2.10
|
1999-03-16 16:06:20 -05:00
|
|
|
CATEGORIES= devel
|
2001-09-19 23:45:14 -04:00
|
|
|
NEED_VERSION= 1.458
|
|
|
|
MASTER_SITES= ${MASTER_SITE_GNOME}
|
|
|
|
MASTER_SITE_SUBDIR= stable/sources/glib
|
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
|
|
|
|
2001-07-31 19:48:18 -04:00
|
|
|
LIB_DEPENDS= pthread.14:pth-1.4.*:devel/pth
|
2001-04-03 10:12:47 -04: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}
|
2001-03-07 17:51:22 -05:00
|
|
|
CONFIGURE_ARGS+= --enable-static
|
2001-04-03 10:12:47 -04:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/pth" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib/pth"
|
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
|
|
|
|
2001-04-03 10:12:47 -04:00
|
|
|
post-patch:
|
2001-06-03 00:24:53 -04:00
|
|
|
@mv -f ${WRKSRC}/glib-config.in ${WRKSRC}/glib-config.in.new
|
2001-04-03 10:12:47 -04:00
|
|
|
@sed -e s#!!PTHREAD_LIBDIR!!#${LOCALBASE}/lib/pth#g \
|
2001-06-03 00:24:53 -04:00
|
|
|
${WRKSRC}/glib-config.in.new > ${WRKSRC}/glib-config.in
|
2001-04-03 10:12:47 -04:00
|
|
|
|
1999-02-27 10:32:39 -05:00
|
|
|
.include <bsd.port.mk>
|