openbsd-ports/devel/glib/Makefile

39 lines
951 B
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.43 2001/09/20 03:45:14 brad Exp $
# Uses pthreads
COMMENT= "useful routines for C programming"
2001-04-03 10:42:47 -04:00
DISTNAME= glib-1.2.10
CATEGORIES= devel
NEED_VERSION= 1.458
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= stable/sources/glib
2000-06-21 05:57:54 -04:00
HOMEPAGE= http://www.gtk.org/
2001-07-31 19:48:18 -04:00
LIB_DEPENDS= pthread.14:pth-1.4.*:devel/pth
2000-09-24 03:03:59 -04:00
MAINTAINER= Brad Smith <brad@openbsd.org>
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
SEPARATE_BUILD= concurrent
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
CONFIGURE_ARGS+= --enable-static
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/pth" \
LDFLAGS="-L${LOCALBASE}/lib/pth"
post-extract:
@rm -f ${WRKSRC}/docs/glib.info*
post-patch:
2001-06-03 00:24:53 -04:00
@mv -f ${WRKSRC}/glib-config.in ${WRKSRC}/glib-config.in.new
@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
.include <bsd.port.mk>