blob: e1bf54709e8debfd1afe3f6fe368fa98e51e130d (
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
|
# $NetBSD: Makefile,v 1.105 2004/10/03 00:18:31 tv Exp $
DISTNAME= gnome-libs-1.4.2
PKGREVISION= 4
CATEGORIES= x11 gnome
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/gnome-libs/1.4/}
MAINTAINER= tron@NetBSD.org
HOMEPAGE= http://www.gnome.org/
COMMENT= Libraries for the GNU Network Object Model Environment
PKG_INSTALLATION_TYPES= overwrite pkgviews
BUILD_USES_MSGFMT= YES
USE_DIRS+= gnome1-1.5
USE_X11= YES
USE_GNU_TOOLS+= make
USE_LIBTOOL= YES
GNU_CONFIGURE= YES
CONFIGURE_ARGS+= --localstatedir=${LOCALSTATEDIR} \
--enable-gtk-doc=no \
--with-html-dir=${PREFIX}/share/doc/html \
--with-kde-datadir=${X11PREFIX}/share/kde
CONFIGURE_ENV+= PKGLOCALEDIR=${PKGLOCALEDIR}
CONFIGURE_ENV+= ${CONFIGURE_ENV.db-${BDB_TYPE}}
USE_BUILDLINK3= YES
USE_PKGLOCALEDIR= YES
LOCALSTATEDIR= ${VARBASE}/gnome
PLIST_SUBST+= LOCALSTATEDIR=${LOCALSTATEDIR}
.include "../../audio/esound/buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../graphics/imlib/buildlink3.mk"
.include "../../graphics/xpm/buildlink3.mk"
.include "../../net/ORBit/buildlink3.mk"
.include "../../x11/gtk/buildlink3.mk"
.include "../../mk/bdb.buildlink3.mk"
CONFIGURE_ENV.db-${BDB_TYPE}?= ac_cv_func_dbopen=no
CONFIGURE_ENV.db-native= # empty
post-extract:
.for file in gnome-app-helper-convenience-macros.htm \
gnome-app-helper-keybindings-config.htm
cd ${WRKSRC}/devel-docs/gnome-dev-info/gnome-dev-info && \
( [ -f ${file}l ] || ${MV} ${file} ${file}l )
.endfor
post-patch:
${MV} ${WRKSRC}/gnome-config.in ${WRKSRC}/gnome-config.in-pre-lpath && \
${SED} -e "s|@LOCALBASE@|${LOCALBASE}|g" \
< ${WRKSRC}/gnome-config.in-pre-lpath \
> ${WRKSRC}/gnome-config.in
pre-build:
cd ${WRKSRC}/support && \
${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} gnomesupport.h
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/etc/CORBA/servers
${TOUCH} ${PREFIX}/etc/CORBA/servers/.directory
${INSTALL_DATA_DIR} ${LOCALSTATEDIR}
.include "../../mk/bsd.pkg.mk"
|