blob: d64bfa131521d8ffdc8f5143da07c720bad6241b (
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
36
37
38
39
40
41
42
43
|
# $NetBSD: Makefile,v 1.47 2006/01/24 07:32:20 wiz Exp $
#
DISTNAME= gcalctool-5.6.31
PKGREVISION= 2
CATEGORIES= math gnome
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/gcalctool/5.6/}
EXTRACT_SUFX= .tar.bz2
MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= http://calctool.sourceforge.net/
COMMENT= Desktop calculator for GNOME
BUILD_USES_MSGFMT= YES
GNU_CONFIGURE= YES
CONFIGURE_ENV+= HAVE_YACC=yes
USE_DIRS+= gnome2-1.5
USE_LIBTOOL= yes
USE_TOOLS+= bison gmake pkg-config
USE_PKGLOCALEDIR= yes
GCONF2_SCHEMAS= gcalctool.schemas
# The sources assume <malloc.h> exists. Create a fake one for platforms
# that don't have it.
post-wrapper:
if ${TEST} ! -f /usr/include/malloc.h; then \
${ECHO} "#include <stdlib.h>" \
> ${BUILDLINK_DIR}/include/malloc.h; \
fi
.include "../../devel/GConf2/schemas.mk"
.include "../../devel/atk/buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/glib2/buildlink3.mk"
.include "../../devel/libgnome/buildlink3.mk"
.include "../../devel/libgnomeui/buildlink3.mk"
.include "../../textproc/intltool/buildlink3.mk"
.include "../../textproc/scrollkeeper/omf.mk"
.include "../../x11/gtk2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|