xref: /mports/devel/libglade2/Makefile
  • Home
  • History
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1PORTNAME=	libglade2
2PORTVERSION=	2.6.4
3PORTREVISION?=	11
4CATEGORIES=	devel gnome
5MASTER_SITES=	GNOME/sources/${PORTNAME:S/2$//}/${PORTVERSION:C/..$//}
6DISTNAME=	${PORTNAME:S/2$//}-${PORTVERSION}
7DIST_SUBDIR=	gnome2
8
9MAINTAINER=	ports@MidnightBSD.org
10COMMENT=	GNOME glade library
11
12LICENSE=	lgpl
13
14LIB_DEPENDS=	libfreetype.so:print/freetype2 \
15		libfontconfig.so:x11-fonts/fontconfig
16
17USES=		tar:bzip2
18
19RUN_DEPENDS=	xmlcatmgr:textproc/xmlcatmgr
20
21USES+=		gmake gnome libtool pathfix pkgconfig localbase
22USE_GNOME=	cairo gdkpixbuf libxml2 gtk20
23USE_LDCONFIG=	yes
24
25GNU_CONFIGURE=	yes
26CONFIGURE_ARGS=	--with-html-dir=${PREFIX}/share/doc \
27		--disable-gtk-doc \
28		--with-xml-catalog=${LOCALBASE}/share/xml/catalog.ports
29
30PLIST_SUB=	XMLCATALOG="${LOCALBASE}/bin/xmlcatalog" \
31		CATALOG_PORTS_XML="${LOCALBASE}/share/xml/catalog.ports"
32
33post-patch:
34	@${REINPLACE_CMD} -e 's|glib-2.0|gmodule-2.0 glib-2.0|g' \
35		${WRKSRC}/configure
36	@${REINPLACE_CMD} -E 's/in (python.*)+ none/in none/' \
37		${WRKSRC}/configure
38	@${REINPLACE_CMD} -e "s/ doc / /g" ${WRKSRC}/Makefile.in
39
40post-install:
41	${MKDIR} ${PREFIX}/lib/libglade/2.0
42
43.include <bsd.port.mk>
44

served by {OpenGrok

Last Index Update: Sun Mar 22 17:06:33 EDT 2026