2006-06-13 09:19:08 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.14 2006/06/13 13:21:48 bernd Exp $
|
2003-01-31 13:27:45 -05:00
|
|
|
|
|
|
|
COMMENT= "library for loading GLADE interface files at runtime"
|
2005-05-25 19:26:40 -04:00
|
|
|
V= 2.5.1
|
2003-01-31 13:27:45 -05:00
|
|
|
DISTNAME= libglade-${V}
|
2006-06-13 09:19:08 -04:00
|
|
|
PKGNAME= libglade2-${V}p5
|
2006-01-03 09:55:18 -05:00
|
|
|
SHARED_LIBS= glade-2.0 0.7
|
|
|
|
|
2003-01-31 13:27:45 -05:00
|
|
|
CATEGORIES= devel
|
|
|
|
|
|
|
|
HOMEPAGE= http://www.gnome.org
|
|
|
|
|
2005-05-25 19:26:40 -04:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/libglade/2.5/}
|
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
|
2006-06-13 09:19:08 -04:00
|
|
|
WANTLIB= X11 Xext Xrender m z \
|
2004-11-23 16:40:35 -05:00
|
|
|
atk-1.0.0.0 fontconfig freetype \
|
2006-01-16 02:30:23 -05:00
|
|
|
glib-2.0.0.0 gmodule-2.0.0.0 gobject-2.0.0.0 \
|
|
|
|
pango-1.0.0.0 pangoft2-1.0.0.0 \
|
2006-06-13 09:19:08 -04:00
|
|
|
pangocairo-1.0.0.0 cairo glitz png
|
2003-01-31 13:27:45 -05:00
|
|
|
|
2004-08-10 08:42:21 -04:00
|
|
|
MODULES= devel/gettext
|
2005-11-15 04:21:50 -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 \
|
2005-09-04 19:38:17 -04:00
|
|
|
xml2.7:libxml->=2.6.16p6:textproc/libxml
|
2003-01-31 13:27:45 -05:00
|
|
|
|
|
|
|
USE_X11= Yes
|
2005-05-25 19:26:40 -04:00
|
|
|
USE_LIBTOOL= Yes
|
2003-01-31 13:27:45 -05:00
|
|
|
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
|
2005-09-04 19:38:17 -04:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/libxml2
|
|
|
|
${INSTALL_DATA} ${FILESDIR}/libglade2.spec ${PREFIX}/share/libxml2
|
2003-01-31 13:27:45 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|