summaryrefslogtreecommitdiff
path: root/sysutils/nautilus/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/nautilus/Makefile')
-rw-r--r--sysutils/nautilus/Makefile25
1 files changed, 22 insertions, 3 deletions
diff --git a/sysutils/nautilus/Makefile b/sysutils/nautilus/Makefile
index c8dead259cf..119d4aad50a 100644
--- a/sysutils/nautilus/Makefile
+++ b/sysutils/nautilus/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.1.1.1 2003/04/27 02:06:56 rh Exp $
+# $NetBSD: Makefile,v 1.2 2003/04/27 16:05:03 jmmv Exp $
#
DISTNAME= nautilus-2.2.3.1
+PKGREVISION= 1
CATEGORIES= sysutils gnome
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/nautilus/2.2/}
EXTRACT_SUFX= .tar.bz2
@@ -15,14 +16,32 @@ 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
+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
+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 ; \