summaryrefslogtreecommitdiff
path: root/devel/glade/Makefile
blob: 983799f2fad4a308e2cbb32d785d80d0e8ec63bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# $NetBSD: Makefile,v 1.27 2002/09/10 16:06:39 wiz Exp $
#

DISTNAME=	glade-0.6.2
PKGREVISION=	3
CATEGORIES=	devel
MASTER_SITES=   http://glade.pn.org/ \
		${MASTER_SITE_GNOME:=stable/sources/glade/}

MAINTAINER=     packages@netbsd.org
HOMEPAGE=	http://glade.pn.org/
COMMENT=	User interface builder for GTK+

GNU_CONFIGURE=	yes
USE_X11BASE=	yes

#CONFIGURE_ENV+=	CFLAGS="${CFLAGS} -I${LOCALBASE}/include"
CONFIGURE_ENV+=	LOCALEDIR=${PKGLOCALEDIR}
CONFIGURE_ARGS+=--with-bonobo
CONFIGURE_ARGS+=--localstatedir=${X11PREFIX}/var/lib

post-install:
	${INSTALL_DATA_DIR} ${PREFIX}/share/doc/glade
	${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/glade
	${INSTALL_DATA} ${WRKSRC}/TODO ${PREFIX}/share/doc/glade
	${INSTALL_DATA} ${WRKSRC}/doc/developer.txt ${PREFIX}/share/doc/glade
	${INSTALL_DATA} ${WRKSRC}/doc/file_format.txt ${PREFIX}/share/doc/glade
	${INSTALL_DATA} ${WRKSRC}/doc/generic.txt ${PREFIX}/share/doc/glade
	${INSTALL_DATA} ${WRKSRC}/doc/manual.txt ${PREFIX}/share/doc/glade
	${INSTALL_DATA} ${WRKSRC}/doc/notes.txt ${PREFIX}/share/doc/glade
	${INSTALL_DATA} ${WRKSRC}/doc/portability.txt ${PREFIX}/share/doc/glade
	${INSTALL_DATA} ${WRKSRC}/doc/source_code.txt ${PREFIX}/share/doc/glade

.include "../../x11/gnome-core/buildlink.mk"
.include "../../mk/bsd.pkg.mk"