summaryrefslogtreecommitdiffstats
path: root/Mk/bsd.gnome.mk
diff options
context:
space:
mode:
authorahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2005-11-11 19:18:38 +0800
committerahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2005-11-11 19:18:38 +0800
commitb6d6da529dddc192f65671d28ba41df840490aca (patch)
tree96410c8e7e59a9dd847cd82b925949b430e86e74 /Mk/bsd.gnome.mk
parentbad562b6af9c2609ca8a4018c36f250ce475ddd9 (diff)
downloadmarcuscom-ports-b6d6da529dddc192f65671d28ba41df840490aca.tar
marcuscom-ports-b6d6da529dddc192f65671d28ba41df840490aca.tar.gz
marcuscom-ports-b6d6da529dddc192f65671d28ba41df840490aca.tar.bz2
marcuscom-ports-b6d6da529dddc192f65671d28ba41df840490aca.tar.lz
marcuscom-ports-b6d6da529dddc192f65671d28ba41df840490aca.tar.xz
marcuscom-ports-b6d6da529dddc192f65671d28ba41df840490aca.tar.zst
marcuscom-ports-b6d6da529dddc192f65671d28ba41df840490aca.zip
- readd gnomehier
This version uses gnome-pre-su-install to create directories and still uses MTREE file. This removes the need for having to bump PORTREVISION in gnomehier and have to keep the GNOME_MTREE in sync with X11 MTREE_FILE. Also gnomehier now only creates directories from dirlist. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@5107 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'Mk/bsd.gnome.mk')
-rw-r--r--Mk/bsd.gnome.mk14
1 files changed, 6 insertions, 8 deletions
diff --git a/Mk/bsd.gnome.mk b/Mk/bsd.gnome.mk
index 1f8fbb859..75a080e92 100644
--- a/Mk/bsd.gnome.mk
+++ b/Mk/bsd.gnome.mk
@@ -3,7 +3,7 @@
#
# $FreeBSD$
# $NetBSD: $
-# $MCom: ports/Mk/bsd.gnome.mk,v 1.335 2005/11/06 02:55:14 ahze Exp $
+# $MCom: ports/Mk/bsd.gnome.mk,v 1.336 2005/11/07 20:31:31 marcus Exp $
#
# Please view me with 4 column tabs!
@@ -684,12 +684,6 @@ GNOME_PRE_PATCH+= ; ${${component}_PRE_PATCH}
. endfor
.endif
-.if defined(_USE_GNOME)
-.if ${_USE_GNOME:Mgnomeprefix}!=""
-MTREE_FILE?= ${GNOME_MTREE}
-.endif
-.endif
-
.if defined(GNOME_PRE_PATCH)
USE_REINPLACE= yes
@@ -720,11 +714,15 @@ CONFIGURE_FAIL_MESSAGE= "Please run the gnomelogalyzer, available from \"http://
.endif
-.if defined(GCONF_SCHEMAS) || defined(INSTALLS_OMF) || defined(INSTALLS_ICONS)
+.if defined(GCONF_SCHEMAS) || defined(INSTALLS_OMF) || defined(INSTALLS_ICONS) \
+ || ${_USE_GNOME:Mgnomeprefix}!=""
pre-su-install: gnome-pre-su-install
post-install: gnome-post-install
gnome-pre-su-install:
+.if ${_USE_GNOME:Mgnomeprefix}!="" && !defined(NO_MTREE)
+ ${MTREE_CMD} ${MTREE_ARGS:S/${MTREE_FILE}/${GNOME_MTREE}/} ${PREFIX}/
+.endif
.if defined(GCONF_SCHEMAS)
@${MKDIR} ${PREFIX}/etc/gconf/gconf.xml.defaults/
.else