2004-11-23 16:40:35 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.6 2004/11/23 21:40:35 espie Exp $
|
2003-01-31 13:27:45 -05:00
|
|
|
|
|
|
|
COMMENT= "library for loading GLADE interface files at runtime"
|
2004-06-22 23:23:48 -04:00
|
|
|
V= 2.4.0
|
2003-01-31 13:27:45 -05:00
|
|
|
DISTNAME= libglade-${V}
|
|
|
|
PKGNAME= libglade2-${V}
|
|
|
|
CATEGORIES= devel
|
|
|
|
|
|
|
|
HOMEPAGE= http://www.gnome.org
|
|
|
|
MAINTAINER= Marc Matteo <marcm@openbsd.org>
|
|
|
|
|
2004-06-22 23:23:48 -04:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/libglade/2.4/}
|
2003-01-31 13:27:45 -05:00
|
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
|
|
|
|
# LGPL
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2004-11-23 16:40:35 -05:00
|
|
|
WANTLIB= X11 Xext Xft Xinerama Xrender \
|
|
|
|
atk-1.0.0.0 fontconfig freetype \
|
|
|
|
glib-2.0.0.0 gmodule-2.0.0.0 gobject-2.0.0.0 \
|
|
|
|
m pango-1.0.0.0 pangox-1.0.0.0 pangoxft-1.0.0.0 z
|
2003-01-31 13:27:45 -05:00
|
|
|
|
2004-08-10 08:42:21 -04:00
|
|
|
MODULES= devel/gettext
|
2003-12-16 14:41:09 -05:00
|
|
|
BUILD_DEPENDS= :pkgconfig-*:devel/pkgconfig
|
2003-01-31 13:27:45 -05:00
|
|
|
LIB_DEPENDS= gdk-x11-2.0.0.0,gdk_pixbuf-2.0.0.0,gtk-x11-2.0.0.0::x11/gtk+2 \
|
2003-06-17 12:13:32 -04:00
|
|
|
xml2.7::textproc/libxml
|
2003-01-31 13:27:45 -05:00
|
|
|
|
|
|
|
SEPARATE_BUILD= concurrent
|
|
|
|
USE_X11= Yes
|
|
|
|
USE_GMAKE= Yes
|
|
|
|
CONFIGURE_STYLE= gnu
|
|
|
|
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
|
2003-06-17 12:13:32 -04:00
|
|
|
# Build the libglade-convert script even if we don't have Python.
|
|
|
|
# Other ports that need it will have to have a python-expat *_DEPENDS.
|
|
|
|
post-install:
|
|
|
|
@sed 's,@PYTHON@,${LOCALBASE}/bin/python,' ${WRKSRC}/libglade-convert.in > ${PREFIX}/bin/libglade-convert
|
2003-01-31 13:27:45 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|