blob: 0b38c7421caec8557ae7b3e0ec2299075006084d (
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
69
70
71
72
73
74
75
|
# $NetBSD: Makefile,v 1.9 2003/12/03 03:04:34 xtraeme Exp $
#
DISTNAME= nautilus-2.2.3.1
PKGREVISION= 7
CATEGORIES= sysutils gnome
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/nautilus/2.2/}
EXTRACT_SUFX= .tar.bz2
MAINTAINER= rh@NetBSD.org
HOMEPAGE= http://www.gnome.org/projects/nautilus/
COMMENT= Nautilus file manager for GNOME2
USE_PKGLOCALEDIR= yes
USE_BUILDLINK2= yes
USE_X11= yes
USE_GMAKE= yes
USE_LIBTOOL= yes
USE_PKGINSTALL= yes
GNU_CONFIGURE= yes
LIBTOOL_OVERRIDE= ${WRKSRC}/libtool
PKGCONFIG_OVERRIDE= ${WRKSRC}/libnautilus/libnautilus.pc.in
#
# Nautilus has it's own idea of what versions of packages it wants, so make
# it happy.
#
BUILDLINK_DEPENDS.esound= esound>=0.2.27
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
CONFIGURE_ENV+= GCONF_SCHEMA_FILE_DIR="${PREFIX}/share/gconf/schemas/"
MAKE_ENV+= GCONF_SCHEMA_FILE_DIR="${PREFIX}/share/gconf/schemas/"
GCONF2_SCHEMAS= apps_nautilus_preferences.schemas
OWN_DIRS= ${PKG_SYSCONFDIR}/X11/serverconfig
OWN_DIRS+= ${PKG_SYSCONFDIR}/X11/starthere
OWN_DIRS+= ${PKG_SYSCONFDIR}/X11/sysconfig
EGDIR= ${PREFIX}/share/examples/nautilus
CONF_FILES=
.for conffile in X11/serverconfig/.directory \
X11/starthere/.directory \
X11/starthere/applications.desktop \
X11/starthere/preferences.desktop \
X11/starthere/serverconfig.desktop \
X11/starthere/sysconfig.desktop \
X11/sysconfig/.directory
CONF_FILES+= ${EGDIR}/${conffile} ${PKG_SYSCONFDIR}/${conffile}
.endfor
.undef conffile
pre-build:
for d in libnautilus libnautilus-adapter libnautilus-private src ; \
do \
cd ${WRKSRC}/$$d && \
for x in *.idl ; do \
${PREFIX}/bin/orbit-idl-2 \
-I${LOCALBASE}/share/idl/bonobo-2.0 \
-I${LOCALBASE}/share/idl/bonobo-activation-2.0 \
-I.. \
-D__nautilus_view_component_COMPILATION $$x ; \
${TOUCH} `${ECHO} $$x | ${SED} s/\.idl/_idl_stamp/\
| ${SED} s/-/_/g` ; \
done ; \
done
.include "../../devel/GConf2/schemas.mk"
.include "../../devel/eel2/buildlink2.mk"
.include "../../graphics/imlib2/buildlink2.mk"
.include "../../graphics/librsvg2/buildlink2.mk"
.include "../../sysutils/fam/buildlink2.mk"
.include "../../textproc/intltool/buildlink2.mk"
.include "../../x11/gnome-desktop/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"
|