openbsd-ports/devel/glib/Makefile

43 lines
1.1 KiB
Makefile
Raw Normal View History

2001-10-05 23:37:41 -04:00
# $OpenBSD: Makefile,v 1.44 2001/10/06 03:37:41 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
2001-10-05 23:37:41 -04:00
NEED_VERSION= 1.460
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"
2001-10-05 23:37:41 -04:00
PATCH_LIST= ${PORTSDIR}/infrastructure/patches/patch-lt1.3.4-ltconfig \
${PORTSDIR}/infrastructure/patches/patch-lt1.3.4-ltmain_sh \
patch-*
post-extract:
@rm -f ${WRKSRC}/docs/glib.info*
post-patch:
2001-10-05 23:37:41 -04:00
@mv -f ${WRKSRC}/glib-config.in ${WRKSRC}/glib-config.in.bak
@sed -e s#!!PTHREAD_LIBDIR!!#${LOCALBASE}/lib/pth#g \
2001-10-05 23:37:41 -04:00
${WRKSRC}/glib-config.in.bak > ${WRKSRC}/glib-config.in
.include <bsd.port.mk>