openbsd-ports/devel/glib/Makefile

39 lines
983 B
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.37 2001/04/03 14:12:47 brad Exp $
COMMENT= "useful routines for C programming"
DISTNAME= glib-1.2.9
CATEGORIES= devel
NEED_VERSION= 1.384
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/
2000-06-21 05:57:54 -04:00
HOMEPAGE= http://www.gtk.org/
LIB_DEPENDS= pthread.14::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:
@mv -f ${WRKSRC}/glib-config.in ${WRKSRC}/glib-config.in.orig
@sed -e s#!!PTHREAD_LIBDIR!!#${LOCALBASE}/lib/pth#g \
${WRKSRC}/glib-config.in.orig > ${WRKSRC}/glib-config.in
.include <bsd.port.mk>