68 lines
2.1 KiB
Makefile
68 lines
2.1 KiB
Makefile
# $NetBSD: Makefile,v 1.5 2003/06/27 23:03:27 jmmv Exp $
|
|
#
|
|
|
|
DISTNAME= nautilus-2.2.3.1
|
|
PKGREVISION= 4
|
|
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
|
|
|
|
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"
|