summaryrefslogtreecommitdiff
path: root/devel/glade/Makefile
blob: 9571738de1bfab4a3bf8013fd3a16112024eded2 (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
# $NetBSD: Makefile,v 1.3 1999/02/19 14:29:16 rh Exp $
# FreeBSD Id: Makefile,v 1.10 1998/11/18 17:35:16 vanilla Exp
#

DISTNAME=	glade-0.3.9
CATEGORIES=	devel
MASTER_SITES=   http://glade.pn.org/ \
		http://www.glade.hhips.de/

MAINTAINER=     packages@netbsd.org
HOMEPAGE=	http://glade.pn.org/

BUILD_DEPENDS+=	xgettext:../../devel/gettext
BUILD_DEPENDS+=	msgfmt:../../devel/gettext
DEPENDS+=	gtk10-1.0.6:../../x11/gtk10

GNU_CONFIGURE=	yes
CONFIGURE_ENV+=	CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
		GTK_CONFIG="${X11BASE}/bin/gtk10-config"
USE_X11BASE=	yes

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

.include "../../mk/bsd.pkg.mk"